text: /**
   * PowerMeter API
   * API
   *
   * The version of the OpenAPI document: 2021.4.1
   *
   * NOTE: This class is auto generated by OpenAPI-Generator 4.3.1.
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  
  /*
   * PinCurrent.h
   *
   * 
   */
  
  #ifndef POWERMETER_MODEL_PinCurrent_H_
  #define POWERMETER_MODEL_PinCurrent_H_
  
  
  #include "../ModelBase.h"
  
  #include <cpprest/details/basic_types.h>
  
  namespace powermeter {
  namespace model {
  
  
  /// <summary>
  /// 
  /// </summary>
  class  PinCurrent
      : public ModelBase
  {
  public:
      PinCurrent();
      virtual ~PinCurrent();
  
      /////////////////////////////////////////////
      /// ModelBase overrides
  
      void validate() override;
  
      web::json::value toJson() const override;
      bool fromJson(const web::json::value& json) override;
  
      void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
      bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
  
      /////////////////////////////////////////////
      /// PinCurrent members
  
      /// <summary>
      /// 
      /// </summary>
      utility::string_t getName() const;
      bool nameIsSet() const;
      void unsetName();
  
      void setName(const utility::string_t& value);
  
      /// <summary>
      /// 
      /// </summary>
      double getCurrent() const;
      bool currentIsSet() const;
      void unsetCurrent();
  
      void setCurrent(double value);
  
  
  protected:
      utility::string_t m_Name;
      bool m_NameIsSet;
      double m_Current;
      bool m_CurrentIsSet;
  };
  
  
  }
  }
  
  #endif /* POWERMETER_MODEL_PinCurrent_H_ */
  