30 #ifndef GOOGLE_IDENTITYTOOLKIT_API_RESET_PASSWORD_RESPONSE_H_ 31 #define GOOGLE_IDENTITYTOOLKIT_API_RESET_PASSWORD_RESPONSE_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 84 return StringPiece(
"google_identitytoolkit_api::ResetPasswordResponse");
93 return Storage().isMember(
"email");
100 MutableStorage()->removeMember(
"email");
108 const Json::Value& v = Storage(
"email");
109 if (v == Json::Value::null)
return StringPiece(
"");
110 return StringPiece(v.asCString());
122 *MutableStorage(
"email") = value.data();
131 return Storage().isMember(
"kind");
138 MutableStorage()->removeMember(
"kind");
146 const Json::Value& v = Storage(
"kind");
147 if (v == Json::Value::null)
return StringPiece(
"");
148 return StringPiece(v.asCString());
159 *MutableStorage(
"kind") = value.data();
168 return Storage().isMember(
"newEmail");
175 MutableStorage()->removeMember(
"newEmail");
183 const Json::Value& v = Storage(
"newEmail");
184 if (v == Json::Value::null)
return StringPiece(
"");
185 return StringPiece(v.asCString());
196 *MutableStorage(
"newEmail") = value.data();
205 return Storage().isMember(
"requestType");
212 MutableStorage()->removeMember(
"requestType");
220 const Json::Value& v = Storage(
"requestType");
221 if (v == Json::Value::null)
return StringPiece(
"");
222 return StringPiece(v.asCString());
233 *MutableStorage(
"requestType") = value.data();
240 #endif // GOOGLE_IDENTITYTOOLKIT_API_RESET_PASSWORD_RESPONSE_H_
Definition: create_auth_uri_response.h:38