30 #ifndef GOOGLE_IDENTITYTOOLKIT_API_GET_ACCOUNT_INFO_RESPONSE_H_ 31 #define GOOGLE_IDENTITYTOOLKIT_API_GET_ACCOUNT_INFO_RESPONSE_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/identitytoolkit_api/user_info.h" 86 return StringPiece(
"google_identitytoolkit_api::GetAccountInfoResponse");
95 return Storage().isMember(
"kind");
102 MutableStorage()->removeMember(
"kind");
110 const Json::Value& v = Storage(
"kind");
111 if (v == Json::Value::null)
return StringPiece(
"");
112 return StringPiece(v.asCString());
123 *MutableStorage(
"kind") = value.data();
132 return Storage().isMember(
"users");
139 MutableStorage()->removeMember(
"users");
146 const client::JsonCppArray<UserInfo > get_users()
const;
155 client::JsonCppArray<UserInfo > mutable_users();
161 #endif // GOOGLE_IDENTITYTOOLKIT_API_GET_ACCOUNT_INFO_RESPONSE_H_
Definition: create_auth_uri_response.h:38