appointment.hpp
Go to the documentation of this file.
00001 #ifndef LIBRMS_APPOINTMENT_HPP_
00002 #define LIBRMS_APPOINTMENT_HPP_
00003 
00004 #include <string>
00005 #include <vector>
00006 #include <rms/rms.hpp>
00007 #include <rms/log.hpp>
00008 
00009 namespace librms
00010 {
00011 
00012 class rms;
00013 class log;
00014 
00015 class appointment
00016 {
00017 public:
00018   appointment(librms::rms *client, unsigned int id, unsigned int user_id, unsigned int slot_id, std::string created, std::string modified);
00019 
00020   unsigned int get_id() const;
00021 
00022   unsigned int get_user_id() const;
00023 
00024   unsigned int get_slot_id() const;
00025 
00026   std::string get_created() const;
00027 
00028   std::string get_modified() const;
00029 
00030   std::vector<librms::log> &get_logs();
00031 
00032 private:
00033   std::string created_, modified_;
00034   unsigned int id_, user_id_, slot_id_;
00035   bool logs_fetched_;
00036   librms::rms *client_;
00037   std::vector<librms::log> logs_;
00038 };
00039 
00040 }
00041 
00042 #endif


librms
Author(s): Russell Toris
autogenerated on Sat Jun 8 2019 18:47:12