libepp_nicbr
PanDataRsp.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: PanDataRsp.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __PANDATA_RSP_H__
8 #define __PANDATA_RSP_H__
9 
10 #include <string>
11 
12 #include "libepp_nicbr.H"
13 
14 LIBEPP_NICBR_NS_BEGIN
15 
16 using std::string;
17 
19 class PanDataRsp : public Response
20 {
21 public:
23  PanDataRsp(bool reset = true) : Response(false)
24  {
25  if (reset) {
26  this->reset();
27  }
28  }
29 
31 
34  void set_object_id(const string &object_id)
35  {
36  _object_id = object_id;
37  }
38 
40 
43  string get_object_id() const
44  {
45  return _object_id;
46  }
47 
49 
52  void set_paResult(const bool paResult)
53  {
54  _paResult = paResult;
55  }
56 
58 
61  bool get_paResult() const
62  {
63  return _paResult;
64  }
65 
67 
70  void set_paDate(const string &paDate)
71  {
72  _paDate = paDate;
73  }
74 
76 
79  string get_paDate() const
80  {
81  return _paDate;
82  }
83 
85  void reset()
86  {
88  _object_id = "";
89  _paResult = false;
90  _paDate = "";
91  }
92 
93 
94 protected:
96  string _object_id;
97 
99  bool _paResult;
100 
102  string _paDate;
103 
104 
105 };
106 
107 LIBEPP_NICBR_NS_END
108 #endif //__PANDATA_RSP_H__
EPP Response Class.
Definition: Response.H:24
bool _paResult
Pending Action Result.
Definition: PanDataRsp.H:99
Project defines.
EPP PanDataRsp Class to be used with PollRsp.
Definition: PanDataRsp.H:19
PanDataRsp(bool reset=true)
Constructor.
Definition: PanDataRsp.H:23
void set_object_id(const string &object_id)
Sets the object id.
Definition: PanDataRsp.H:34
bool get_paResult() const
Returns the Pending Action Result.
Definition: PanDataRsp.H:61
string get_object_id() const
Returns the object id.
Definition: PanDataRsp.H:43
string _paDate
Pending Action Review Date.
Definition: PanDataRsp.H:102
void set_paResult(const bool paResult)
Sets the Pending Action Result.
Definition: PanDataRsp.H:52
void set_paDate(const string &paDate)
Sets the paDate.
Definition: PanDataRsp.H:70
string get_paDate() const
Returns the paDate.
Definition: PanDataRsp.H:79
string _object_id
object id: either Domain Name or Contact Id
Definition: PanDataRsp.H:96
void reset()
reset attributes
Definition: Response.H:161
void reset()
reset attributes
Definition: PanDataRsp.H:85