7 #ifndef __RGP_RESTORE_H__
8 #define __RGP_RESTORE_H__
55 _post_data = post_data;
115 _res_reason = res_reason;
136 _statement1 = statement1;
149 _statement1 = statement1;
150 _statement1_lang = lang;
170 return _statement1_lang;
180 _statement2 = statement2;
191 _statement2 = statement2;
192 _statement2_lang = lang;
211 return _statement2_lang;
243 _statement1_lang =
"";
245 _statement2_lang =
"";
275 string _statement1_lang;
282 string _statement2_lang;
323 static Value fromString(
const string &value)
325 if (value ==
"request") {
327 }
else if (value ==
"report") {
348 _operation = operation;
382 _operation = Operation::NONE;
396 #endif // __RGP_RESTORE_H__
RGPReport()
Default constructor.
Definition: RGPRestore.H:23
void set_res_time(const string &res_time)
Sets the res time.
Definition: RGPRestore.H:93
void reset()
Reset all object attributes.
Definition: RGPRestore.H:380
string get_statement1() const
Returns the statement.
Definition: RGPRestore.H:159
Operation::Value get_operation() const
Returns the operation.
Definition: RGPRestore.H:356
string get_res_time() const
Returns the res time.
Definition: RGPRestore.H:103
void set_statement2(const string &statement2, const string &lang)
Sets the statement and language.
Definition: RGPRestore.H:189
string get_pre_data() const
Returns the pre data.
Definition: RGPRestore.H:43
string get_statement2() const
Returns the statement.
Definition: RGPRestore.H:200
void set_report(const RGPReport &report)
Sets the report.
Definition: RGPRestore.H:365
void set_operation(const Operation::Value operation)
Sets the operation.
Definition: RGPRestore.H:346
string get_del_time() const
Returns the del time.
Definition: RGPRestore.H:83
void set_statement1(const string &statement1, const string &lang)
Sets the statement and language.
Definition: RGPRestore.H:147
void set_statement2(const string &statement2)
Sets the statement.
Definition: RGPRestore.H:178
RGPRestore()
Default constructor.
Definition: RGPRestore.H:336
void set_del_time(const string &del_time)
Sets the del time.
Definition: RGPRestore.H:73
void set_other(const string &other)
Sets the other.
Definition: RGPRestore.H:219
EPP RGPReport Class.
Definition: RGPRestore.H:19
void reset()
Reset all object attributes.
Definition: RGPRestore.H:235
string get_statement2_lang() const
Returns the statement language.
Definition: RGPRestore.H:209
EPP RGPRestore Operation Class.
Definition: RGPRestore.H:293
static string toString(const Value value)
Definition: RGPRestore.H:309
void set_statement1(const string &statement1)
Sets the statement.
Definition: RGPRestore.H:134
string get_statement1_lang() const
Returns the statement language.
Definition: RGPRestore.H:168
RGPReport get_report() const
Returns the report.
Definition: RGPRestore.H:374
void set_res_reason(const string &res_reason)
Sets the res reason.
Definition: RGPRestore.H:113
Value
List of RGP restore operations acording to RFC 3915.
Definition: RGPRestore.H:297
EPP RGPRestore Class.
Definition: RGPRestore.H:290
void set_pre_data(const string &pre_data)
Sets the pre data.
Definition: RGPRestore.H:33
string get_res_reason() const
Returns the res reason.
Definition: RGPRestore.H:123
string get_other() const
Returns the other.
Definition: RGPRestore.H:229
string get_post_data() const
Returns the post data.
Definition: RGPRestore.H:63
void set_post_data(const string &post_data)
Sets the post data.
Definition: RGPRestore.H:53