30 #ifndef GOOGLE_CLASSROOM_API_LIST_STUDENT_SUBMISSIONS_RESPONSE_H_ 31 #define GOOGLE_CLASSROOM_API_LIST_STUDENT_SUBMISSIONS_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_submission.h" 86 return StringPiece(
"google_classroom_api::ListStudentSubmissionsResponse");
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(
"studentSubmissions");
140 MutableStorage()->removeMember(
"studentSubmissions");
148 const client::JsonCppArray<StudentSubmission > get_student_submissions()
const;
158 client::JsonCppArray<StudentSubmission > mutable_studentSubmissions();
164 #endif // GOOGLE_CLASSROOM_API_LIST_STUDENT_SUBMISSIONS_RESPONSE_H_ void clear_next_page_token()
Definition: list_student_submissions_response.h:101
const StringPiece get_next_page_token() const
Definition: list_student_submissions_response.h:109
bool has_next_page_token() const
Definition: list_student_submissions_response.h:94
void clear_student_submissions()
Definition: list_student_submissions_response.h:139
Definition: announcement.h:41
bool has_student_submissions() const
Definition: list_student_submissions_response.h:132
const StringPiece GetTypeName() const
Definition: list_student_submissions_response.h:85
Definition: list_student_submissions_response.h:52
Definition: announcement.cc:43
void set_next_page_token(const StringPiece &value)
Definition: list_student_submissions_response.h:123