
#ifndef __KUBESPHEREPODS_HPP_
#define __KUBESPHEREPODS_HPP_

#include "K8sServerBase.hpp"


class KubeSpherePods:public MsgBase
{
public:
    std::string NAME;
    std::string NAMESPACE;
    std::string UID;
    std::string LABELS;
    std::string CONTAINERS;
    std::string PHASE;
    std::string CONDITIONS;

public:
    KubeSpherePods(){}
    ~KubeSpherePods(){}

    /**
     * @description: objectToJson
     * @param {string&} str
     * @return {*}
     */    
    void objectToJson(std::string& str) override;

    /**
     * @description: jsonToObject
     * @param {string&} json
     * @return {*}
     */    
    bool jsonToObject(const std::string& json) override;

    /**
     * @description: jsonToObject
     * @param {Value&} object
     * @return {*}
     */    
    bool jsonToObject(const rapidjson::Value& object) override;

    /**
     * @description: ObjectToSql
     * @param {string&} sql
     * @return {*}
     */    
    virtual bool ObjectToSql(std::string& sql) override;
};














#endif