30 #ifndef GOOGLE_DNS_API_CHANGES_LIST_RESPONSE_H_ 31 #define GOOGLE_DNS_API_CHANGES_LIST_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/dns_api/change.h" 39 #include "google/dns_api/response_header.h" 88 return StringPiece(
"google_dns_api::ChangesListResponse");
97 return Storage().isMember(
"changes");
104 MutableStorage()->removeMember(
"changes");
111 const client::JsonCppArray<Change > get_changes()
const;
120 client::JsonCppArray<Change > mutable_changes();
128 return Storage().isMember(
"header");
135 MutableStorage()->removeMember(
"header");
156 return Storage().isMember(
"kind");
163 MutableStorage()->removeMember(
"kind");
171 const Json::Value& v = Storage(
"kind");
172 if (v == Json::Value::null)
return StringPiece(
"");
173 return StringPiece(v.asCString());
184 *MutableStorage(
"kind") = value.data();
193 return Storage().isMember(
"nextPageToken");
200 MutableStorage()->removeMember(
"nextPageToken");
208 const Json::Value& v = Storage(
"nextPageToken");
209 if (v == Json::Value::null)
return StringPiece(
"");
210 return StringPiece(v.asCString());
230 *MutableStorage(
"nextPageToken") = value.data();
237 #endif // GOOGLE_DNS_API_CHANGES_LIST_RESPONSE_H_ bool has_header() const
Definition: changes_list_response.h:127
bool has_kind() const
Definition: changes_list_response.h:155
void clear_kind()
Definition: changes_list_response.h:162
const StringPiece get_kind() const
Definition: changes_list_response.h:170
void clear_header()
Definition: changes_list_response.h:134
void clear_changes()
Definition: changes_list_response.h:103
void clear_next_page_token()
Definition: changes_list_response.h:199
void set_next_page_token(const StringPiece &value)
Definition: changes_list_response.h:229
bool has_next_page_token() const
Definition: changes_list_response.h:192
const StringPiece GetTypeName() const
Definition: changes_list_response.h:87
Definition: changes_list_response.h:54
bool has_changes() const
Definition: changes_list_response.h:96
const StringPiece get_next_page_token() const
Definition: changes_list_response.h:207
void set_kind(const StringPiece &value)
Definition: changes_list_response.h:183