text: /**
   * Cloud Manager API
   * This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request to https://cloudmanager.adobe.io/api/programs (with the correct set of headers as described below). This swagger file can be downloaded from https://raw.githubusercontent.com/AdobeDocs/cloudmanager-api-docs/master/swagger-specs/api.yaml.
   *
   * The version of the OpenAPI document: 1.0.0
   * Contact: opensource@shinesolutions.com
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  
  #ifndef OAI_OBJECT_H
  #define OAI_OBJECT_H
  
  #include <QJsonDocument>
  #include <QJsonObject>
  #include <QMetaType>
  
  namespace OpenAPI {
  
  class OAIObject {
  public:
      OAIObject() {}
  
      OAIObject(QString jsonString) {
          fromJson(jsonString);
      }
  
      virtual ~OAIObject() {}
  
      virtual QJsonObject asJsonObject() const {
          return jObj;
      }
  
      virtual QString asJson() const {
          QJsonDocument doc(jObj);
          return doc.toJson(QJsonDocument::Compact);
      }
  
      virtual void fromJson(QString jsonString) {
          QJsonDocument doc = QJsonDocument::fromJson(jsonString.toUtf8());
          jObj = doc.object();
      }
  
      virtual void fromJsonObject(QJsonObject json) {
          jObj = json;
      }
  
      virtual bool isSet() const {
          return false;
      }
  
      virtual bool isValid() const {
          return true;
      }
  
  private:
      QJsonObject jObj;
  };
  
  } // namespace OpenAPI
  
  Q_DECLARE_METATYPE(OpenAPI::OAIObject)
  
  #endif // OAI_OBJECT_H
  