30 #ifndef GOOGLE_CLASSROOM_API_LIST_STUDENTS_RESPONSE_H_ 31 #define GOOGLE_CLASSROOM_API_LIST_STUDENTS_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/classroom_api/student.h" 86 return StringPiece(
"google_classroom_api::ListStudentsResponse");
95 return Storage().isMember(
"nextPageToken");
102 MutableStorage()->removeMember(
"nextPageToken");
110 const Json::Value& v = Storage(
"nextPageToken");
111 if (v == Json::Value::null)
return StringPiece(
"");
112 return StringPiece(v.asCString());
124 *MutableStorage(
"nextPageToken") = value.data();
133 return Storage().isMember(
"students");
140 MutableStorage()->removeMember(
"students");
147 const client::JsonCppArray<Student > get_students()
const;
157 client::JsonCppArray<Student > mutable_students();
163 #endif // GOOGLE_CLASSROOM_API_LIST_STUDENTS_RESPONSE_H_ void clear_next_page_token()
Definition: list_students_response.h:101
bool has_students() const
Definition: list_students_response.h:132
bool has_next_page_token() const
Definition: list_students_response.h:94
Definition: list_students_response.h:52
void clear_students()
Definition: list_students_response.h:139
const StringPiece get_next_page_token() const
Definition: list_students_response.h:109
Definition: announcement.h:41
Definition: announcement.cc:43
void set_next_page_token(const StringPiece &value)
Definition: list_students_response.h:123
const StringPiece GetTypeName() const
Definition: list_students_response.h:85