libepp_nicbr
IpNetworkRenewRsp.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: IpNetworkRenewRsp.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __IPNETWORKRENEWRSP_H__
8 #define __IPNETWORKRENEWRSP_H__
9 
10 #include "libepp_nicbr.H"
11 
12 #include "Response.H"
13 
14 LIBEPP_NICBR_NS_BEGIN
15 
18 {
19 public:
21  IpNetworkRenewRsp(bool reset = true) : Response(false)
22  {
23  if (reset) {
24  this->reset();
25  }
26  }
27 
29 
32  void set_roid(const string &roid)
33  {
34  _roid = roid;
35  }
36 
38 
41  string get_roid() const
42  {
43  return _roid;
44  }
45 
47 
51  void set_expDate(const string &expDate)
52  {
53  _expDate = expDate;
54  }
55 
57 
61  string get_expDate() const
62  {
63  return _expDate;
64  }
65 
66  void reset()
67  {
69  _roid = "";
70  _expDate = "";
71  }
72 
73 protected:
75  string _roid;
76 
79  string _expDate;
80 };
81 
82 LIBEPP_NICBR_NS_END
83 #endif // __IPNETWORKRENEWRSP_H__
EPP Response Class.
Definition: Response.H:24
Project defines.
void set_expDate(const string &expDate)
Sets expiration date.
Definition: IpNetworkRenewRsp.H:51
EPP Response Class.
EPP IpNetworkRenewRsp Class.
Definition: IpNetworkRenewRsp.H:17
string get_roid() const
Returns repository object ID.
Definition: IpNetworkRenewRsp.H:41
string get_expDate() const
Returns expiration date.
Definition: IpNetworkRenewRsp.H:61
string _expDate
Definition: IpNetworkRenewRsp.H:79
IpNetworkRenewRsp(bool reset=true)
Default constructor.
Definition: IpNetworkRenewRsp.H:21
string _roid
element that contains the server-unique identifier
Definition: IpNetworkRenewRsp.H:75
void reset()
reset attributes
Definition: Response.H:161
void set_roid(const string &roid)
Sets repository object ID.
Definition: IpNetworkRenewRsp.H:32