Repository navigation
Expand file tree
/
Copy pathOAIJob.h
More file actions
230 lines (179 loc) · 5.98 KB
/
Copy pathOAIJob.h
File metadata and controls
230 lines (179 loc) · 5.98 KB
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
/**
* GAMS Engine
* With GAMS Engine you can register and solve GAMS models. It has a namespace management system, so you can restrict your users to certain models.
*
* The version of the OpenAPI document: 26.01.08
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* OAIJob.h
*
*
*/
#ifndef OAIJob_H
#define OAIJob_H
#include <QJsonObject>
#include "OAIModel_job_labels.h"
#include "OAIModel_user.h"
#include "OAIText_entry.h"
#include <QDateTime>
#include <QList>
#include <QString>
#include "OAIEnum.h"
#include "OAIObject.h"
namespace OpenAPI {
class OAIText_entry;
class OAIModel_user;
class OAIJob : public OAIObject {
public:
OAIJob();
OAIJob(QString json);
~OAIJob() override;
QString asJson() const override;
QJsonObject asJsonObject() const override;
void fromJsonObject(QJsonObject json) override;
void fromJson(QString jsonString) override;
QList<QString> getAccessGroups() const;
void setAccessGroups(const QList<QString> &access_groups);
bool is_access_groups_Set() const;
bool is_access_groups_Valid() const;
QList<QString> getArguments() const;
void setArguments(const QList<QString> &arguments);
bool is_arguments_Set() const;
bool is_arguments_Valid() const;
QList<QString> getDepTokens() const;
void setDepTokens(const QList<QString> &dep_tokens);
bool is_dep_tokens_Set() const;
bool is_dep_tokens_Valid() const;
QDateTime getFinishedAt() const;
void setFinishedAt(const QDateTime &finished_at);
bool is_finished_at_Set() const;
bool is_finished_at_Valid() const;
bool isIsDataProvided() const;
void setIsDataProvided(const bool &is_data_provided);
bool is_is_data_provided_Set() const;
bool is_is_data_provided_Valid() const;
bool isIsTemporaryModel() const;
void setIsTemporaryModel(const bool &is_temporary_model);
bool is_is_temporary_model_Set() const;
bool is_is_temporary_model_Valid() const;
OAIModel_job_labels getLabels() const;
void setLabels(const OAIModel_job_labels &labels);
bool is_labels_Set() const;
bool is_labels_Valid() const;
QString getModel() const;
void setModel(const QString &model);
bool is_model_Set() const;
bool is_model_Valid() const;
QString getRNamespace() const;
void setRNamespace(const QString &r_namespace);
bool is_r_namespace_Set() const;
bool is_r_namespace_Valid() const;
qint32 getProcessStatus() const;
void setProcessStatus(const qint32 &process_status);
bool is_process_status_Set() const;
bool is_process_status_Valid() const;
bool isResultExists() const;
void setResultExists(const bool &result_exists);
bool is_result_exists_Set() const;
bool is_result_exists_Valid() const;
qint32 getStatus() const;
void setStatus(const qint32 &status);
bool is_status_Set() const;
bool is_status_Valid() const;
QString getStdoutFilename() const;
void setStdoutFilename(const QString &stdout_filename);
bool is_stdout_filename_Set() const;
bool is_stdout_filename_Valid() const;
QList<QString> getStreamEntries() const;
void setStreamEntries(const QList<QString> &stream_entries);
bool is_stream_entries_Set() const;
bool is_stream_entries_Valid() const;
QDateTime getSubmittedAt() const;
void setSubmittedAt(const QDateTime &submitted_at);
bool is_submitted_at_Set() const;
bool is_submitted_at_Valid() const;
QString getTag() const;
void setTag(const QString &tag);
bool is_tag_Set() const;
bool is_tag_Valid() const;
QList<OAIText_entry> getTextEntries() const;
void setTextEntries(const QList<OAIText_entry> &text_entries);
bool is_text_entries_Set() const;
bool is_text_entries_Valid() const;
QString getToken() const;
void setToken(const QString &token);
bool is_token_Set() const;
bool is_token_Valid() const;
OAIModel_user getUser() const;
void setUser(const OAIModel_user &user);
bool is_user_Set() const;
bool is_user_Valid() const;
virtual bool isSet() const override;
virtual bool isValid() const override;
private:
void initializeModel();
QList<QString> m_access_groups;
bool m_access_groups_isSet;
bool m_access_groups_isValid;
QList<QString> m_arguments;
bool m_arguments_isSet;
bool m_arguments_isValid;
QList<QString> m_dep_tokens;
bool m_dep_tokens_isSet;
bool m_dep_tokens_isValid;
QDateTime m_finished_at;
bool m_finished_at_isSet;
bool m_finished_at_isValid;
bool m_is_data_provided;
bool m_is_data_provided_isSet;
bool m_is_data_provided_isValid;
bool m_is_temporary_model;
bool m_is_temporary_model_isSet;
bool m_is_temporary_model_isValid;
OAIModel_job_labels m_labels;
bool m_labels_isSet;
bool m_labels_isValid;
QString m_model;
bool m_model_isSet;
bool m_model_isValid;
QString m_r_namespace;
bool m_r_namespace_isSet;
bool m_r_namespace_isValid;
qint32 m_process_status;
bool m_process_status_isSet;
bool m_process_status_isValid;
bool m_result_exists;
bool m_result_exists_isSet;
bool m_result_exists_isValid;
qint32 m_status;
bool m_status_isSet;
bool m_status_isValid;
QString m_stdout_filename;
bool m_stdout_filename_isSet;
bool m_stdout_filename_isValid;
QList<QString> m_stream_entries;
bool m_stream_entries_isSet;
bool m_stream_entries_isValid;
QDateTime m_submitted_at;
bool m_submitted_at_isSet;
bool m_submitted_at_isValid;
QString m_tag;
bool m_tag_isSet;
bool m_tag_isValid;
QList<OAIText_entry> m_text_entries;
bool m_text_entries_isSet;
bool m_text_entries_isValid;
QString m_token;
bool m_token_isSet;
bool m_token_isValid;
OAIModel_user m_user;
bool m_user_isSet;
bool m_user_isValid;
};
} // namespace OpenAPI
Q_DECLARE_METATYPE(OpenAPI::OAIJob)
#endif // OAIJob_H