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
|
// 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.
*/
/*
* OAIUser.h
*
* Represents an Active Directory user object.
*/
#ifndef OAIUser_H
#define OAIUser_H
#include <QJsonObject>
#include "OAIAppRoleAssignment.h"
#include "OAIDrive.h"
#include "OAIGroup.h"
#include "OAIObjectIdentity.h"
#include "OAIPasswordProfile.h"
#include <QList>
#include <QString>
#include "OAIEnum.h"
#include "OAIObject.h"
namespace OpenAPI {
class OAIAppRoleAssignment;
class OAIDrive;
class OAIObjectIdentity;
class OAIGroup;
class OAIPasswordProfile;
class OAIUserPrivate;
class OAIUser : public OAIObject {
public:
OAIUser();
OAIUser(const OAIUser &other);
OAIUser(QString json);
~OAIUser() override;
QString asJson() const override;
QJsonObject asJsonObject() const override;
void fromJsonObject(QJsonObject json) override;
void fromJson(QString jsonString) override;
QString getId() const;
void setId(const QString &id);
bool is_id_Set() const;
bool is_id_Valid() const;
bool isAccountEnabled() const;
void setAccountEnabled(const bool &account_enabled);
bool is_account_enabled_Set() const;
bool is_account_enabled_Valid() const;
QList<OAIAppRoleAssignment> getAppRoleAssignments() const;
void setAppRoleAssignments(const QList<OAIAppRoleAssignment> &app_role_assignments);
bool is_app_role_assignments_Set() const;
bool is_app_role_assignments_Valid() const;
QString getDisplayName() const;
void setDisplayName(const QString &display_name);
bool is_display_name_Set() const;
bool is_display_name_Valid() const;
QList<OAIDrive> getDrives() const;
void setDrives(const QList<OAIDrive> &drives);
bool is_drives_Set() const;
bool is_drives_Valid() const;
OAIDrive getDrive() const;
void setDrive(const OAIDrive &drive);
bool is_drive_Set() const;
bool is_drive_Valid() const;
QList<OAIObjectIdentity> getIdentities() const;
void setIdentities(const QList<OAIObjectIdentity> &identities);
bool is_identities_Set() const;
bool is_identities_Valid() const;
QString getMail() const;
void setMail(const QString &mail);
bool is_mail_Set() const;
bool is_mail_Valid() const;
QList<OAIGroup> getMemberOf() const;
void setMemberOf(const QList<OAIGroup> &member_of);
bool is_member_of_Set() const;
bool is_member_of_Valid() const;
QString getOnPremisesSamAccountName() const;
void setOnPremisesSamAccountName(const QString &on_premises_sam_account_name);
bool is_on_premises_sam_account_name_Set() const;
bool is_on_premises_sam_account_name_Valid() const;
OAIPasswordProfile getPasswordProfile() const;
void setPasswordProfile(const OAIPasswordProfile &password_profile);
bool is_password_profile_Set() const;
bool is_password_profile_Valid() const;
QString getSurname() const;
void setSurname(const QString &surname);
bool is_surname_Set() const;
bool is_surname_Valid() const;
QString getGivenName() const;
void setGivenName(const QString &given_name);
bool is_given_name_Set() const;
bool is_given_name_Valid() const;
QString getUserType() const;
void setUserType(const QString &user_type);
bool is_user_type_Set() const;
bool is_user_type_Valid() const;
virtual bool isSet() const override;
virtual bool isValid() const override;
private:
void initializeModel();
Q_DECLARE_PRIVATE(OAIUser)
QSharedPointer<OAIUserPrivate> d_ptr;
};
} // namespace OpenAPI
Q_DECLARE_METATYPE(OpenAPI::OAIUser)
#endif // OAIUser_H
|