-
Notifications
You must be signed in to change notification settings - Fork 5
/
OAIModel_instance_info_full.h
136 lines (105 loc) · 3.73 KB
/
OAIModel_instance_info_full.h
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
/**
* 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: latest
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* OAIModel_instance_info_full.h
*
*
*/
#ifndef OAIModel_instance_info_full_H
#define OAIModel_instance_info_full_H
#include <QJsonObject>
#include "OAIGeneric_key_value_pair.h"
#include <QList>
#include <QString>
#include "OAIEnum.h"
#include "OAIObject.h"
namespace OpenAPI {
class OAIGeneric_key_value_pair;
class OAIModel_instance_info_full : public OAIObject {
public:
OAIModel_instance_info_full();
OAIModel_instance_info_full(QString json);
~OAIModel_instance_info_full() override;
QString asJson() const override;
QJsonObject asJsonObject() const override;
void fromJsonObject(QJsonObject json) override;
void fromJson(QString jsonString) override;
double getCpuRequest() const;
void setCpuRequest(const double &cpu_request);
bool is_cpu_request_Set() const;
bool is_cpu_request_Valid() const;
QString getGamsLicense() const;
void setGamsLicense(const QString &gams_license);
bool is_gams_license_Set() const;
bool is_gams_license_Valid() const;
QString getLabel() const;
void setLabel(const QString &label);
bool is_label_Set() const;
bool is_label_Valid() const;
qint32 getMemoryRequest() const;
void setMemoryRequest(const qint32 &memory_request);
bool is_memory_request_Set() const;
bool is_memory_request_Valid() const;
double getMultiplier() const;
void setMultiplier(const double &multiplier);
bool is_multiplier_Set() const;
bool is_multiplier_Valid() const;
double getMultiplierIdle() const;
void setMultiplierIdle(const double &multiplier_idle);
bool is_multiplier_idle_Set() const;
bool is_multiplier_idle_Valid() const;
QList<OAIGeneric_key_value_pair> getNodeSelectors() const;
void setNodeSelectors(const QList<OAIGeneric_key_value_pair> &node_selectors);
bool is_node_selectors_Set() const;
bool is_node_selectors_Valid() const;
QList<OAIGeneric_key_value_pair> getTolerations() const;
void setTolerations(const QList<OAIGeneric_key_value_pair> &tolerations);
bool is_tolerations_Set() const;
bool is_tolerations_Valid() const;
qint32 getWorkspaceRequest() const;
void setWorkspaceRequest(const qint32 &workspace_request);
bool is_workspace_request_Set() const;
bool is_workspace_request_Valid() const;
virtual bool isSet() const override;
virtual bool isValid() const override;
private:
void initializeModel();
double cpu_request;
bool m_cpu_request_isSet;
bool m_cpu_request_isValid;
QString gams_license;
bool m_gams_license_isSet;
bool m_gams_license_isValid;
QString label;
bool m_label_isSet;
bool m_label_isValid;
qint32 memory_request;
bool m_memory_request_isSet;
bool m_memory_request_isValid;
double multiplier;
bool m_multiplier_isSet;
bool m_multiplier_isValid;
double multiplier_idle;
bool m_multiplier_idle_isSet;
bool m_multiplier_idle_isValid;
QList<OAIGeneric_key_value_pair> node_selectors;
bool m_node_selectors_isSet;
bool m_node_selectors_isValid;
QList<OAIGeneric_key_value_pair> tolerations;
bool m_tolerations_isSet;
bool m_tolerations_isValid;
qint32 workspace_request;
bool m_workspace_request_isSet;
bool m_workspace_request_isValid;
};
} // namespace OpenAPI
Q_DECLARE_METATYPE(OpenAPI::OAIModel_instance_info_full)
#endif // OAIModel_instance_info_full_H