classroom  v1
classroom_service.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 //
15 //------------------------------------------------------------------------------
16 // This code was generated by google-apis-code-generator 1.5.1
17 // Build date: 2018-10-08 17:45:39 UTC
18 // on: 2020-03-13, 00:00:47 UTC
19 // C++ generator version: 0.1.4
20 //
21 // Changes to this file may cause incorrect behavior and will be lost if
22 // the code is regenerated.
23 //------------------------------------------------------------------------------
24 #ifndef GOOGLE_CLASSROOM_API_CLASSROOM_SERVICE_H_
25 #define GOOGLE_CLASSROOM_API_CLASSROOM_SERVICE_H_
26 
27 #include <string>
28 #include "googleapis/base/integral_types.h"
29 #include "googleapis/base/macros.h"
30 #include "googleapis/client/service/client_service.h"
31 #include "googleapis/client/service/service_request_pager.h"
32 #include "googleapis/client/util/status.h"
33 #include "googleapis/client/util/uri_template.h"
34 
35 #include "google/classroom_api/announcement.h"
36 #include "google/classroom_api/course.h"
37 #include "google/classroom_api/course_alias.h"
38 #include "google/classroom_api/course_work.h"
39 #include "google/classroom_api/empty.h"
40 #include "google/classroom_api/guardian.h"
41 #include "google/classroom_api/guardian_invitation.h"
42 #include "google/classroom_api/invitation.h"
43 #include "google/classroom_api/list_announcements_response.h"
44 #include "google/classroom_api/list_course_aliases_response.h"
45 #include "google/classroom_api/list_course_work_response.h"
46 #include "google/classroom_api/list_courses_response.h"
47 #include "google/classroom_api/list_guardian_invitations_response.h"
48 #include "google/classroom_api/list_guardians_response.h"
49 #include "google/classroom_api/list_invitations_response.h"
50 #include "google/classroom_api/list_student_submissions_response.h"
51 #include "google/classroom_api/list_students_response.h"
52 #include "google/classroom_api/list_teachers_response.h"
53 #include "google/classroom_api/list_topic_response.h"
54 #include "google/classroom_api/modify_announcement_assignees_request.h"
55 #include "google/classroom_api/modify_attachments_request.h"
56 #include "google/classroom_api/modify_course_work_assignees_request.h"
57 #include "google/classroom_api/reclaim_student_submission_request.h"
58 #include "google/classroom_api/registration.h"
59 #include "google/classroom_api/return_student_submission_request.h"
60 #include "google/classroom_api/student.h"
61 #include "google/classroom_api/student_submission.h"
62 #include "google/classroom_api/teacher.h"
63 #include "google/classroom_api/topic.h"
64 #include "google/classroom_api/turn_in_student_submission_request.h"
65 #include "google/classroom_api/user_profile.h"
66 
67 
68 namespace google_classroom_api {
69 using namespace googleapis;
100 class ClassroomService;
101 
110  : public client::ClientServiceRequest {
111  public:
134  const client::ClientService* service,
135  client::AuthorizationCredential* credential,
136  client::HttpRequest::HttpMethod method,
137  const StringPiece& uri_template);
138 
142  virtual ~ClassroomServiceBaseRequest();
143 
144 
148  void clear_xgafv() {
149  _have_xgafv_ = false;
150  client::ClearCppValueHelper(&xgafv_);
151  }
152 
153 
159  const string& get_xgafv() const { return xgafv_; }
160 
166  string* mutable_$Xgafv() {
167  _have_xgafv_ = true;
168  return &xgafv_;
169  }
170 
171 
177  void set_xgafv(const string& value) {
178  _have_xgafv_ = true;
179  xgafv_ = value;
180  }
181 
182 
183 
188  _have_access_token_ = false;
189  client::ClearCppValueHelper(&access_token_);
190  }
191 
192 
198  const string& get_access_token() const { return access_token_; }
199 
207  _have_access_token_ = true;
208  return &access_token_;
209  }
210 
211 
217  void set_access_token(const string& value) {
218  _have_access_token_ = true;
219  access_token_ = value;
220  }
221 
222 
223 
227  void clear_alt() {
228  _have_alt_ = false;
229  client::ClearCppValueHelper(&alt_);
230  }
231 
232 
238  const string& get_alt() const { return alt_; }
239 
245  string* mutable_alt() {
246  _have_alt_ = true;
247  return &alt_;
248  }
249 
250 
256  void set_alt(const string& value) {
257  _have_alt_ = true;
258  alt_ = value;
259  }
260 
261 
262 
266  void clear_callback() {
267  _have_callback_ = false;
268  client::ClearCppValueHelper(&callback_);
269  }
270 
271 
277  const string& get_callback() const { return callback_; }
278 
284  string* mutable_callback() {
285  _have_callback_ = true;
286  return &callback_;
287  }
288 
289 
295  void set_callback(const string& value) {
296  _have_callback_ = true;
297  callback_ = value;
298  }
299 
300 
301 
305  void clear_fields() {
306  _have_fields_ = false;
307  client::ClearCppValueHelper(&fields_);
308  }
309 
310 
316  const string& get_fields() const { return fields_; }
317 
323  string* mutable_fields() {
324  _have_fields_ = true;
325  return &fields_;
326  }
327 
328 
335  void set_fields(const string& value) {
336  _have_fields_ = true;
337  fields_ = value;
338  }
339 
340 
341 
345  void clear_key() {
346  _have_key_ = false;
347  client::ClearCppValueHelper(&key_);
348  }
349 
350 
356  const string& get_key() const { return key_; }
357 
363  string* mutable_key() {
364  _have_key_ = true;
365  return &key_;
366  }
367 
368 
376  void set_key(const string& value) {
377  _have_key_ = true;
378  key_ = value;
379  }
380 
381 
382 
387  _have_oauth_token_ = false;
388  client::ClearCppValueHelper(&oauth_token_);
389  }
390 
391 
397  const string& get_oauth_token() const { return oauth_token_; }
398 
405  string* mutable_oauthToken() {
406  _have_oauth_token_ = true;
407  return &oauth_token_;
408  }
409 
410 
416  void set_oauth_token(const string& value) {
417  _have_oauth_token_ = true;
418  oauth_token_ = value;
419  }
420 
421 
422 
427  _have_pretty_print_ = false;
428  client::ClearCppValueHelper(&pretty_print_);
429  }
430 
431 
437  bool get_pretty_print() const { return pretty_print_; }
438 
444  void set_pretty_print(bool value) {
445  _have_pretty_print_ = true;
446  pretty_print_ = value;
447  }
448 
453  _have_quota_user_ = false;
454  client::ClearCppValueHelper(&quota_user_);
455  }
456 
457 
463  const string& get_quota_user() const { return quota_user_; }
464 
471  string* mutable_quotaUser() {
472  _have_quota_user_ = true;
473  return &quota_user_;
474  }
475 
476 
484  void set_quota_user(const string& value) {
485  _have_quota_user_ = true;
486  quota_user_ = value;
487  }
488 
489 
490 
495  _have_upload_type_ = false;
496  client::ClearCppValueHelper(&upload_type_);
497  }
498 
499 
505  const string& get_upload_type() const { return upload_type_; }
506 
513  string* mutable_uploadType() {
514  _have_upload_type_ = true;
515  return &upload_type_;
516  }
517 
518 
525  void set_upload_type(const string& value) {
526  _have_upload_type_ = true;
527  upload_type_ = value;
528  }
529 
530 
531 
536  _have_upload_protocol_ = false;
537  client::ClearCppValueHelper(&upload_protocol_);
538  }
539 
540 
546  const string& get_upload_protocol() const { return upload_protocol_; }
547 
555  _have_upload_protocol_ = true;
556  return &upload_protocol_;
557  }
558 
559 
565  void set_upload_protocol(const string& value) {
566  _have_upload_protocol_ = true;
567  upload_protocol_ = value;
568  }
569 
580  virtual util::Status AppendVariable(
581  const StringPiece& variable_name,
582  const client::UriTemplateConfig& config,
583  string* target);
584 
590  virtual util::Status AppendOptionalQueryParameters(string* target);
591 
592 
593  protected:
599  void AddJsonContentToRequest(const client::JsonCppData *content);
600 
601  private:
602  string xgafv_;
603  string access_token_;
604  string alt_;
605  string callback_;
606  string fields_;
607  string key_;
608  string oauth_token_;
609  bool pretty_print_;
610  string quota_user_;
611  string upload_type_;
612  string upload_protocol_;
613  bool _have_xgafv_ : 1;
614  bool _have_access_token_ : 1;
615  bool _have_alt_ : 1;
616  bool _have_callback_ : 1;
617  bool _have_fields_ : 1;
618  bool _have_key_ : 1;
619  bool _have_oauth_token_ : 1;
620  bool _have_pretty_print_ : 1;
621  bool _have_quota_user_ : 1;
622  bool _have_upload_type_ : 1;
623  bool _have_upload_protocol_ : 1;
624 
625  DISALLOW_COPY_AND_ASSIGN(ClassroomServiceBaseRequest);
626 };
627 
628 
629 
643  public:
653  const ClassroomService* _service_,
654  client::AuthorizationCredential* _credential_,
655  const Course& _content_);
656 
660  virtual ~CoursesResource_CreateMethod();
661 
673  Course* data) {
674  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
675  }
676 
677  private:
678  string _content_;
679  DISALLOW_COPY_AND_ASSIGN(CoursesResource_CreateMethod);
680 };
681 
695  public:
707  const ClassroomService* _service_,
708  client::AuthorizationCredential* _credential_,
709  const absl::string_view& id);
710 
714  virtual ~CoursesResource_DeleteMethod();
715 
716 
726  virtual util::Status AppendVariable(
727  const StringPiece& variable_name,
728  const client::UriTemplateConfig& config,
729  string* target);
730 
731 
743  Empty* data) {
744  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
745  }
746 
747  private:
748  string id_;
749  DISALLOW_COPY_AND_ASSIGN(CoursesResource_DeleteMethod);
750 };
751 
766  public:
778  const ClassroomService* _service_,
779  client::AuthorizationCredential* _credential_,
780  const absl::string_view& id);
781 
785  virtual ~CoursesResource_GetMethod();
786 
787 
797  virtual util::Status AppendVariable(
798  const StringPiece& variable_name,
799  const client::UriTemplateConfig& config,
800  string* target);
801 
802 
814  Course* data) {
815  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
816  }
817 
818  private:
819  string id_;
820  DISALLOW_COPY_AND_ASSIGN(CoursesResource_GetMethod);
821 };
822 
837  public:
846  const ClassroomService* _service_,
847  client::AuthorizationCredential* _credential_);
848 
852  virtual ~CoursesResource_ListMethod();
853 
854 
859  _have_student_id_ = false;
860  client::ClearCppValueHelper(&student_id_);
861  }
862 
863 
869  const string& get_student_id() const { return student_id_; }
870 
877  string* mutable_studentId() {
878  _have_student_id_ = true;
879  return &student_id_;
880  }
881 
882 
894  void set_student_id(const string& value) {
895  _have_student_id_ = true;
896  student_id_ = value;
897  }
898 
899 
900 
905  _have_page_token_ = false;
906  client::ClearCppValueHelper(&page_token_);
907  }
908 
909 
915  const string& get_page_token() const { return page_token_; }
916 
923  string* mutable_pageToken() {
924  _have_page_token_ = true;
925  return &page_token_;
926  }
927 
928 
940  void set_page_token(const string& value) {
941  _have_page_token_ = true;
942  page_token_ = value;
943  }
944 
945 
946 
951  _have_page_size_ = false;
952  client::ClearCppValueHelper(&page_size_);
953  }
954 
955 
961  int32 get_page_size() const { return page_size_; }
962 
972  void set_page_size(int32 value) {
973  _have_page_size_ = true;
974  page_size_ = value;
975  }
976 
981  _have_teacher_id_ = false;
982  client::ClearCppValueHelper(&teacher_id_);
983  }
984 
985 
991  const string& get_teacher_id() const { return teacher_id_; }
992 
999  string* mutable_teacherId() {
1000  _have_teacher_id_ = true;
1001  return &teacher_id_;
1002  }
1003 
1004 
1016  void set_teacher_id(const string& value) {
1017  _have_teacher_id_ = true;
1018  teacher_id_ = value;
1019  }
1020 
1021 
1022 
1027  _have_course_states_ = false;
1028  client::ClearCppValueHelper(&course_states_);
1029  }
1030 
1031 
1037  const client::JsonCppArray<string >& get_course_states() const { return course_states_; }
1038 
1045  client::JsonCppArray<string >* mutable_courseStates() {
1046  _have_course_states_ = true;
1047  return &course_states_;
1048  }
1049 
1059  virtual util::Status AppendVariable(
1060  const StringPiece& variable_name,
1061  const client::UriTemplateConfig& config,
1062  string* target);
1063 
1069  virtual util::Status AppendOptionalQueryParameters(string* target);
1070 
1071 
1083  ListCoursesResponse* data) {
1084  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1085  }
1086 
1087  private:
1088  string student_id_;
1089  string page_token_;
1090  int32 page_size_;
1091  string teacher_id_;
1092  client::JsonCppCapsule< client::JsonCppArray<string > > course_states_;
1093  bool _have_student_id_ : 1;
1094  bool _have_page_token_ : 1;
1095  bool _have_page_size_ : 1;
1096  bool _have_teacher_id_ : 1;
1097  bool _have_course_states_ : 1;
1098  DISALLOW_COPY_AND_ASSIGN(CoursesResource_ListMethod);
1099 };
1100 
1101 typedef client::ServiceRequestPager<
1104  CoursesResource_ListMethodPager;
1105 
1119  public:
1132  const ClassroomService* _service_,
1133  client::AuthorizationCredential* _credential_,
1134  const absl::string_view& id,
1135  const Course& _content_);
1136 
1140  virtual ~CoursesResource_PatchMethod();
1141 
1142 
1147  _have_update_mask_ = false;
1148  client::ClearCppValueHelper(&update_mask_);
1149  }
1150 
1151 
1157  const string& get_update_mask() const { return update_mask_; }
1158 
1166  _have_update_mask_ = true;
1167  return &update_mask_;
1168  }
1169 
1170 
1196  void set_update_mask(const string& value) {
1197  _have_update_mask_ = true;
1198  update_mask_ = value;
1199  }
1200 
1210  virtual util::Status AppendVariable(
1211  const StringPiece& variable_name,
1212  const client::UriTemplateConfig& config,
1213  string* target);
1214 
1220  virtual util::Status AppendOptionalQueryParameters(string* target);
1221 
1222 
1234  Course* data) {
1235  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1236  }
1237 
1238  private:
1239  string id_;
1240  string update_mask_;
1241  bool _have_update_mask_ : 1; string _content_;
1242  DISALLOW_COPY_AND_ASSIGN(CoursesResource_PatchMethod);
1243 };
1244 
1258  public:
1271  const ClassroomService* _service_,
1272  client::AuthorizationCredential* _credential_,
1273  const absl::string_view& id,
1274  const Course& _content_);
1275 
1279  virtual ~CoursesResource_UpdateMethod();
1280 
1281 
1291  virtual util::Status AppendVariable(
1292  const StringPiece& variable_name,
1293  const client::UriTemplateConfig& config,
1294  string* target);
1295 
1296 
1308  Course* data) {
1309  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1310  }
1311 
1312  private:
1313  string id_; string _content_;
1314  DISALLOW_COPY_AND_ASSIGN(CoursesResource_UpdateMethod);
1315 };
1316 
1317 
1318 
1319 
1333  public:
1346  const ClassroomService* _service_,
1347  client::AuthorizationCredential* _credential_,
1348  const absl::string_view& course_id,
1349  const CourseAlias& _content_);
1350 
1355 
1356 
1366  virtual util::Status AppendVariable(
1367  const StringPiece& variable_name,
1368  const client::UriTemplateConfig& config,
1369  string* target);
1370 
1371 
1383  CourseAlias* data) {
1384  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1385  }
1386 
1387  private:
1388  string course_id_; string _content_;
1389  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AliasesResource_CreateMethod);
1390 };
1391 
1405  public:
1420  const ClassroomService* _service_,
1421  client::AuthorizationCredential* _credential_,
1422  const absl::string_view& course_id,
1423  const absl::string_view& alias);
1424 
1429 
1430 
1440  virtual util::Status AppendVariable(
1441  const StringPiece& variable_name,
1442  const client::UriTemplateConfig& config,
1443  string* target);
1444 
1445 
1457  Empty* data) {
1458  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1459  }
1460 
1461  private:
1462  string course_id_;
1463  string alias_;
1464  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AliasesResource_DeleteMethod);
1465 };
1466 
1481  public:
1493  const ClassroomService* _service_,
1494  client::AuthorizationCredential* _credential_,
1495  const absl::string_view& course_id);
1496 
1501 
1502 
1507  _have_page_token_ = false;
1508  client::ClearCppValueHelper(&page_token_);
1509  }
1510 
1511 
1517  const string& get_page_token() const { return page_token_; }
1518 
1525  string* mutable_pageToken() {
1526  _have_page_token_ = true;
1527  return &page_token_;
1528  }
1529 
1530 
1542  void set_page_token(const string& value) {
1543  _have_page_token_ = true;
1544  page_token_ = value;
1545  }
1546 
1547 
1548 
1553  _have_page_size_ = false;
1554  client::ClearCppValueHelper(&page_size_);
1555  }
1556 
1557 
1563  int32 get_page_size() const { return page_size_; }
1564 
1574  void set_page_size(int32 value) {
1575  _have_page_size_ = true;
1576  page_size_ = value;
1577  }
1578 
1588  virtual util::Status AppendVariable(
1589  const StringPiece& variable_name,
1590  const client::UriTemplateConfig& config,
1591  string* target);
1592 
1598  virtual util::Status AppendOptionalQueryParameters(string* target);
1599 
1600 
1612  ListCourseAliasesResponse* data) {
1613  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1614  }
1615 
1616  private:
1617  string course_id_;
1618  string page_token_;
1619  int32 page_size_;
1620  bool _have_page_token_ : 1;
1621  bool _have_page_size_ : 1;
1622  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AliasesResource_ListMethod);
1623 };
1624 
1625 typedef client::ServiceRequestPager<
1628  CoursesResource_AliasesResource_ListMethodPager;
1629 
1630 
1644  public:
1657  const ClassroomService* _service_,
1658  client::AuthorizationCredential* _credential_,
1659  const absl::string_view& course_id,
1660  const Announcement& _content_);
1661 
1666 
1667 
1677  virtual util::Status AppendVariable(
1678  const StringPiece& variable_name,
1679  const client::UriTemplateConfig& config,
1680  string* target);
1681 
1682 
1694  Announcement* data) {
1695  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1696  }
1697 
1698  private:
1699  string course_id_; string _content_;
1700  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AnnouncementsResource_CreateMethod);
1701 };
1702 
1716  public:
1730  const ClassroomService* _service_,
1731  client::AuthorizationCredential* _credential_,
1732  const absl::string_view& course_id,
1733  const absl::string_view& id);
1734 
1739 
1740 
1750  virtual util::Status AppendVariable(
1751  const StringPiece& variable_name,
1752  const client::UriTemplateConfig& config,
1753  string* target);
1754 
1755 
1767  Empty* data) {
1768  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1769  }
1770 
1771  private:
1772  string course_id_;
1773  string id_;
1774  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AnnouncementsResource_DeleteMethod);
1775 };
1776 
1791  public:
1804  const ClassroomService* _service_,
1805  client::AuthorizationCredential* _credential_,
1806  const absl::string_view& course_id,
1807  const absl::string_view& id);
1808 
1813 
1814 
1824  virtual util::Status AppendVariable(
1825  const StringPiece& variable_name,
1826  const client::UriTemplateConfig& config,
1827  string* target);
1828 
1829 
1841  Announcement* data) {
1842  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
1843  }
1844 
1845  private:
1846  string course_id_;
1847  string id_;
1848  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AnnouncementsResource_GetMethod);
1849 };
1850 
1865  public:
1877  const ClassroomService* _service_,
1878  client::AuthorizationCredential* _credential_,
1879  const absl::string_view& course_id);
1880 
1885 
1886 
1891  _have_order_by_ = false;
1892  client::ClearCppValueHelper(&order_by_);
1893  }
1894 
1895 
1901  const string& get_order_by() const { return order_by_; }
1902 
1909  string* mutable_orderBy() {
1910  _have_order_by_ = true;
1911  return &order_by_;
1912  }
1913 
1914 
1925  void set_order_by(const string& value) {
1926  _have_order_by_ = true;
1927  order_by_ = value;
1928  }
1929 
1930 
1931 
1936  _have_page_token_ = false;
1937  client::ClearCppValueHelper(&page_token_);
1938  }
1939 
1940 
1946  const string& get_page_token() const { return page_token_; }
1947 
1954  string* mutable_pageToken() {
1955  _have_page_token_ = true;
1956  return &page_token_;
1957  }
1958 
1959 
1971  void set_page_token(const string& value) {
1972  _have_page_token_ = true;
1973  page_token_ = value;
1974  }
1975 
1976 
1977 
1982  _have_page_size_ = false;
1983  client::ClearCppValueHelper(&page_size_);
1984  }
1985 
1986 
1992  int32 get_page_size() const { return page_size_; }
1993 
2003  void set_page_size(int32 value) {
2004  _have_page_size_ = true;
2005  page_size_ = value;
2006  }
2007 
2013  _have_announcement_states_ = false;
2014  client::ClearCppValueHelper(&announcement_states_);
2015  }
2016 
2017 
2023  const client::JsonCppArray<string >& get_announcement_states() const { return announcement_states_; }
2024 
2031  client::JsonCppArray<string >* mutable_announcementStates() {
2032  _have_announcement_states_ = true;
2033  return &announcement_states_;
2034  }
2035 
2045  virtual util::Status AppendVariable(
2046  const StringPiece& variable_name,
2047  const client::UriTemplateConfig& config,
2048  string* target);
2049 
2055  virtual util::Status AppendOptionalQueryParameters(string* target);
2056 
2057 
2069  ListAnnouncementsResponse* data) {
2070  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2071  }
2072 
2073  private:
2074  string course_id_;
2075  string order_by_;
2076  string page_token_;
2077  int32 page_size_;
2078  client::JsonCppCapsule< client::JsonCppArray<string > > announcement_states_;
2079  bool _have_order_by_ : 1;
2080  bool _have_page_token_ : 1;
2081  bool _have_page_size_ : 1;
2082  bool _have_announcement_states_ : 1;
2083  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AnnouncementsResource_ListMethod);
2084 };
2085 
2086 typedef client::ServiceRequestPager<
2089  CoursesResource_AnnouncementsResource_ListMethodPager;
2090 
2104  public:
2118  const ClassroomService* _service_,
2119  client::AuthorizationCredential* _credential_,
2120  const absl::string_view& course_id,
2121  const absl::string_view& id,
2122  const ModifyAnnouncementAssigneesRequest& _content_);
2123 
2128 
2129 
2139  virtual util::Status AppendVariable(
2140  const StringPiece& variable_name,
2141  const client::UriTemplateConfig& config,
2142  string* target);
2143 
2144 
2156  Announcement* data) {
2157  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2158  }
2159 
2160  private:
2161  string course_id_;
2162  string id_; string _content_;
2164 };
2165 
2179  public:
2193  const ClassroomService* _service_,
2194  client::AuthorizationCredential* _credential_,
2195  const absl::string_view& course_id,
2196  const absl::string_view& id,
2197  const Announcement& _content_);
2198 
2203 
2204 
2209  _have_update_mask_ = false;
2210  client::ClearCppValueHelper(&update_mask_);
2211  }
2212 
2213 
2219  const string& get_update_mask() const { return update_mask_; }
2220 
2228  _have_update_mask_ = true;
2229  return &update_mask_;
2230  }
2231 
2232 
2253  void set_update_mask(const string& value) {
2254  _have_update_mask_ = true;
2255  update_mask_ = value;
2256  }
2257 
2267  virtual util::Status AppendVariable(
2268  const StringPiece& variable_name,
2269  const client::UriTemplateConfig& config,
2270  string* target);
2271 
2277  virtual util::Status AppendOptionalQueryParameters(string* target);
2278 
2279 
2291  Announcement* data) {
2292  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2293  }
2294 
2295  private:
2296  string course_id_;
2297  string id_;
2298  string update_mask_;
2299  bool _have_update_mask_ : 1; string _content_;
2300  DISALLOW_COPY_AND_ASSIGN(CoursesResource_AnnouncementsResource_PatchMethod);
2301 };
2302 
2303 
2317  public:
2330  const ClassroomService* _service_,
2331  client::AuthorizationCredential* _credential_,
2332  const absl::string_view& course_id,
2333  const CourseWork& _content_);
2334 
2339 
2340 
2350  virtual util::Status AppendVariable(
2351  const StringPiece& variable_name,
2352  const client::UriTemplateConfig& config,
2353  string* target);
2354 
2355 
2367  CourseWork* data) {
2368  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2369  }
2370 
2371  private:
2372  string course_id_; string _content_;
2373  DISALLOW_COPY_AND_ASSIGN(CoursesResource_CourseWorkResource_CreateMethod);
2374 };
2375 
2389  public:
2403  const ClassroomService* _service_,
2404  client::AuthorizationCredential* _credential_,
2405  const absl::string_view& course_id,
2406  const absl::string_view& id);
2407 
2412 
2413 
2423  virtual util::Status AppendVariable(
2424  const StringPiece& variable_name,
2425  const client::UriTemplateConfig& config,
2426  string* target);
2427 
2428 
2440  Empty* data) {
2441  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2442  }
2443 
2444  private:
2445  string course_id_;
2446  string id_;
2447  DISALLOW_COPY_AND_ASSIGN(CoursesResource_CourseWorkResource_DeleteMethod);
2448 };
2449 
2466  public:
2479  const ClassroomService* _service_,
2480  client::AuthorizationCredential* _credential_,
2481  const absl::string_view& course_id,
2482  const absl::string_view& id);
2483 
2488 
2489 
2499  virtual util::Status AppendVariable(
2500  const StringPiece& variable_name,
2501  const client::UriTemplateConfig& config,
2502  string* target);
2503 
2504 
2516  CourseWork* data) {
2517  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2518  }
2519 
2520  private:
2521  string course_id_;
2522  string id_;
2523  DISALLOW_COPY_AND_ASSIGN(CoursesResource_CourseWorkResource_GetMethod);
2524 };
2525 
2542  public:
2554  const ClassroomService* _service_,
2555  client::AuthorizationCredential* _credential_,
2556  const absl::string_view& course_id);
2557 
2562 
2563 
2568  _have_order_by_ = false;
2569  client::ClearCppValueHelper(&order_by_);
2570  }
2571 
2572 
2578  const string& get_order_by() const { return order_by_; }
2579 
2586  string* mutable_orderBy() {
2587  _have_order_by_ = true;
2588  return &order_by_;
2589  }
2590 
2591 
2602  void set_order_by(const string& value) {
2603  _have_order_by_ = true;
2604  order_by_ = value;
2605  }
2606 
2607 
2608 
2613  _have_page_token_ = false;
2614  client::ClearCppValueHelper(&page_token_);
2615  }
2616 
2617 
2623  const string& get_page_token() const { return page_token_; }
2624 
2631  string* mutable_pageToken() {
2632  _have_page_token_ = true;
2633  return &page_token_;
2634  }
2635 
2636 
2648  void set_page_token(const string& value) {
2649  _have_page_token_ = true;
2650  page_token_ = value;
2651  }
2652 
2653 
2654 
2659  _have_page_size_ = false;
2660  client::ClearCppValueHelper(&page_size_);
2661  }
2662 
2663 
2669  int32 get_page_size() const { return page_size_; }
2670 
2680  void set_page_size(int32 value) {
2681  _have_page_size_ = true;
2682  page_size_ = value;
2683  }
2684 
2690  _have_course_work_states_ = false;
2691  client::ClearCppValueHelper(&course_work_states_);
2692  }
2693 
2694 
2700  const client::JsonCppArray<string >& get_course_work_states() const { return course_work_states_; }
2701 
2708  client::JsonCppArray<string >* mutable_courseWorkStates() {
2709  _have_course_work_states_ = true;
2710  return &course_work_states_;
2711  }
2712 
2722  virtual util::Status AppendVariable(
2723  const StringPiece& variable_name,
2724  const client::UriTemplateConfig& config,
2725  string* target);
2726 
2732  virtual util::Status AppendOptionalQueryParameters(string* target);
2733 
2734 
2746  ListCourseWorkResponse* data) {
2747  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2748  }
2749 
2750  private:
2751  string course_id_;
2752  string order_by_;
2753  string page_token_;
2754  int32 page_size_;
2755  client::JsonCppCapsule< client::JsonCppArray<string > > course_work_states_;
2756  bool _have_order_by_ : 1;
2757  bool _have_page_token_ : 1;
2758  bool _have_page_size_ : 1;
2759  bool _have_course_work_states_ : 1;
2760  DISALLOW_COPY_AND_ASSIGN(CoursesResource_CourseWorkResource_ListMethod);
2761 };
2762 
2763 typedef client::ServiceRequestPager<
2766  CoursesResource_CourseWorkResource_ListMethodPager;
2767 
2781  public:
2795  const ClassroomService* _service_,
2796  client::AuthorizationCredential* _credential_,
2797  const absl::string_view& course_id,
2798  const absl::string_view& id,
2799  const ModifyCourseWorkAssigneesRequest& _content_);
2800 
2805 
2806 
2816  virtual util::Status AppendVariable(
2817  const StringPiece& variable_name,
2818  const client::UriTemplateConfig& config,
2819  string* target);
2820 
2821 
2833  CourseWork* data) {
2834  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2835  }
2836 
2837  private:
2838  string course_id_;
2839  string id_; string _content_;
2841 };
2842 
2856  public:
2870  const ClassroomService* _service_,
2871  client::AuthorizationCredential* _credential_,
2872  const absl::string_view& course_id,
2873  const absl::string_view& id,
2874  const CourseWork& _content_);
2875 
2880 
2881 
2886  _have_update_mask_ = false;
2887  client::ClearCppValueHelper(&update_mask_);
2888  }
2889 
2890 
2896  const string& get_update_mask() const { return update_mask_; }
2897 
2905  _have_update_mask_ = true;
2906  return &update_mask_;
2907  }
2908 
2909 
2936  void set_update_mask(const string& value) {
2937  _have_update_mask_ = true;
2938  update_mask_ = value;
2939  }
2940 
2950  virtual util::Status AppendVariable(
2951  const StringPiece& variable_name,
2952  const client::UriTemplateConfig& config,
2953  string* target);
2954 
2960  virtual util::Status AppendOptionalQueryParameters(string* target);
2961 
2962 
2974  CourseWork* data) {
2975  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
2976  }
2977 
2978  private:
2979  string course_id_;
2980  string id_;
2981  string update_mask_;
2982  bool _have_update_mask_ : 1; string _content_;
2983  DISALLOW_COPY_AND_ASSIGN(CoursesResource_CourseWorkResource_PatchMethod);
2984 };
2985 
2986 
2987 
2988 
3008  public:
3022  const ClassroomService* _service_,
3023  client::AuthorizationCredential* _credential_,
3024  const absl::string_view& course_id,
3025  const absl::string_view& course_work_id,
3026  const absl::string_view& id);
3027 
3032 
3033 
3043  virtual util::Status AppendVariable(
3044  const StringPiece& variable_name,
3045  const client::UriTemplateConfig& config,
3046  string* target);
3047 
3048 
3060  StudentSubmission* data) {
3061  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3062  }
3063 
3064  private:
3065  string course_id_;
3066  string course_work_id_;
3067  string id_;
3069 };
3070 
3090  public:
3105  const ClassroomService* _service_,
3106  client::AuthorizationCredential* _credential_,
3107  const absl::string_view& course_id,
3108  const absl::string_view& course_work_id);
3109 
3114 
3115 
3119  void clear_user_id() {
3120  _have_user_id_ = false;
3121  client::ClearCppValueHelper(&user_id_);
3122  }
3123 
3124 
3130  const string& get_user_id() const { return user_id_; }
3131 
3137  string* mutable_userId() {
3138  _have_user_id_ = true;
3139  return &user_id_;
3140  }
3141 
3142 
3155  void set_user_id(const string& value) {
3156  _have_user_id_ = true;
3157  user_id_ = value;
3158  }
3159 
3160 
3161 
3165  void clear_late() {
3166  _have_late_ = false;
3167  client::ClearCppValueHelper(&late_);
3168  }
3169 
3170 
3176  const string& get_late() const { return late_; }
3177 
3183  string* mutable_late() {
3184  _have_late_ = true;
3185  return &late_;
3186  }
3187 
3188 
3197  void set_late(const string& value) {
3198  _have_late_ = true;
3199  late_ = value;
3200  }
3201 
3202 
3203 
3208  _have_page_token_ = false;
3209  client::ClearCppValueHelper(&page_token_);
3210  }
3211 
3212 
3218  const string& get_page_token() const { return page_token_; }
3219 
3226  string* mutable_pageToken() {
3227  _have_page_token_ = true;
3228  return &page_token_;
3229  }
3230 
3231 
3243  void set_page_token(const string& value) {
3244  _have_page_token_ = true;
3245  page_token_ = value;
3246  }
3247 
3248 
3249 
3254  _have_page_size_ = false;
3255  client::ClearCppValueHelper(&page_size_);
3256  }
3257 
3258 
3264  int32 get_page_size() const { return page_size_; }
3265 
3275  void set_page_size(int32 value) {
3276  _have_page_size_ = true;
3277  page_size_ = value;
3278  }
3279 
3283  void clear_states() {
3284  _have_states_ = false;
3285  client::ClearCppValueHelper(&states_);
3286  }
3287 
3288 
3294  const client::JsonCppArray<string >& get_states() const { return states_; }
3295 
3301  client::JsonCppArray<string >* mutable_states() {
3302  _have_states_ = true;
3303  return &states_;
3304  }
3305 
3315  virtual util::Status AppendVariable(
3316  const StringPiece& variable_name,
3317  const client::UriTemplateConfig& config,
3318  string* target);
3319 
3325  virtual util::Status AppendOptionalQueryParameters(string* target);
3326 
3327 
3340  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3341  }
3342 
3343  private:
3344  string course_id_;
3345  string course_work_id_;
3346  string user_id_;
3347  string late_;
3348  string page_token_;
3349  int32 page_size_;
3350  client::JsonCppCapsule< client::JsonCppArray<string > > states_;
3351  bool _have_user_id_ : 1;
3352  bool _have_late_ : 1;
3353  bool _have_page_token_ : 1;
3354  bool _have_page_size_ : 1;
3355  bool _have_states_ : 1;
3357 };
3358 
3359 typedef client::ServiceRequestPager<
3362  CoursesResource_CourseWorkResource_StudentSubmissionsResource_ListMethodPager;
3363 
3378  public:
3393  const ClassroomService* _service_,
3394  client::AuthorizationCredential* _credential_,
3395  const absl::string_view& course_id,
3396  const absl::string_view& course_work_id,
3397  const absl::string_view& id,
3398  const ModifyAttachmentsRequest& _content_);
3399 
3404 
3405 
3415  virtual util::Status AppendVariable(
3416  const StringPiece& variable_name,
3417  const client::UriTemplateConfig& config,
3418  string* target);
3419 
3420 
3432  StudentSubmission* data) {
3433  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3434  }
3435 
3436  private:
3437  string course_id_;
3438  string course_work_id_;
3439  string id_; string _content_;
3441 };
3442 
3457  public:
3472  const ClassroomService* _service_,
3473  client::AuthorizationCredential* _credential_,
3474  const absl::string_view& course_id,
3475  const absl::string_view& course_work_id,
3476  const absl::string_view& id,
3477  const StudentSubmission& _content_);
3478 
3483 
3484 
3489  _have_update_mask_ = false;
3490  client::ClearCppValueHelper(&update_mask_);
3491  }
3492 
3493 
3499  const string& get_update_mask() const { return update_mask_; }
3500 
3508  _have_update_mask_ = true;
3509  return &update_mask_;
3510  }
3511 
3512 
3526  void set_update_mask(const string& value) {
3527  _have_update_mask_ = true;
3528  update_mask_ = value;
3529  }
3530 
3540  virtual util::Status AppendVariable(
3541  const StringPiece& variable_name,
3542  const client::UriTemplateConfig& config,
3543  string* target);
3544 
3550  virtual util::Status AppendOptionalQueryParameters(string* target);
3551 
3552 
3564  StudentSubmission* data) {
3565  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3566  }
3567 
3568  private:
3569  string course_id_;
3570  string course_work_id_;
3571  string id_;
3572  string update_mask_;
3573  bool _have_update_mask_ : 1; string _content_;
3575 };
3576 
3590  public:
3605  const ClassroomService* _service_,
3606  client::AuthorizationCredential* _credential_,
3607  const absl::string_view& course_id,
3608  const absl::string_view& course_work_id,
3609  const absl::string_view& id,
3610  const ReclaimStudentSubmissionRequest& _content_);
3611 
3616 
3617 
3627  virtual util::Status AppendVariable(
3628  const StringPiece& variable_name,
3629  const client::UriTemplateConfig& config,
3630  string* target);
3631 
3632 
3644  Empty* data) {
3645  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3646  }
3647 
3648  private:
3649  string course_id_;
3650  string course_work_id_;
3651  string id_; string _content_;
3653 };
3654 
3668  public:
3683  const ClassroomService* _service_,
3684  client::AuthorizationCredential* _credential_,
3685  const absl::string_view& course_id,
3686  const absl::string_view& course_work_id,
3687  const absl::string_view& id,
3688  const ReturnStudentSubmissionRequest& _content_);
3689 
3694 
3695 
3705  virtual util::Status AppendVariable(
3706  const StringPiece& variable_name,
3707  const client::UriTemplateConfig& config,
3708  string* target);
3709 
3710 
3722  Empty* data) {
3723  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3724  }
3725 
3726  private:
3727  string course_id_;
3728  string course_work_id_;
3729  string id_; string _content_;
3731 };
3732 
3746  public:
3761  const ClassroomService* _service_,
3762  client::AuthorizationCredential* _credential_,
3763  const absl::string_view& course_id,
3764  const absl::string_view& course_work_id,
3765  const absl::string_view& id,
3766  const TurnInStudentSubmissionRequest& _content_);
3767 
3772 
3773 
3783  virtual util::Status AppendVariable(
3784  const StringPiece& variable_name,
3785  const client::UriTemplateConfig& config,
3786  string* target);
3787 
3788 
3800  Empty* data) {
3801  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3802  }
3803 
3804  private:
3805  string course_id_;
3806  string course_work_id_;
3807  string id_; string _content_;
3809 };
3810 
3811 
3827  public:
3840  const ClassroomService* _service_,
3841  client::AuthorizationCredential* _credential_,
3842  const absl::string_view& course_id,
3843  const Student& _content_);
3844 
3849 
3850 
3856  _have_enrollment_code_ = false;
3857  client::ClearCppValueHelper(&enrollment_code_);
3858  }
3859 
3860 
3866  const string& get_enrollment_code() const { return enrollment_code_; }
3867 
3875  _have_enrollment_code_ = true;
3876  return &enrollment_code_;
3877  }
3878 
3879 
3888  void set_enrollment_code(const string& value) {
3889  _have_enrollment_code_ = true;
3890  enrollment_code_ = value;
3891  }
3892 
3902  virtual util::Status AppendVariable(
3903  const StringPiece& variable_name,
3904  const client::UriTemplateConfig& config,
3905  string* target);
3906 
3912  virtual util::Status AppendOptionalQueryParameters(string* target);
3913 
3914 
3926  Student* data) {
3927  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
3928  }
3929 
3930  private:
3931  string course_id_;
3932  string enrollment_code_;
3933  bool _have_enrollment_code_ : 1; string _content_;
3934  DISALLOW_COPY_AND_ASSIGN(CoursesResource_StudentsResource_CreateMethod);
3935 };
3936 
3950  public:
3969  const ClassroomService* _service_,
3970  client::AuthorizationCredential* _credential_,
3971  const absl::string_view& course_id,
3972  const absl::string_view& user_id);
3973 
3978 
3979 
3989  virtual util::Status AppendVariable(
3990  const StringPiece& variable_name,
3991  const client::UriTemplateConfig& config,
3992  string* target);
3993 
3994 
4006  Empty* data) {
4007  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4008  }
4009 
4010  private:
4011  string course_id_;
4012  string user_id_;
4013  DISALLOW_COPY_AND_ASSIGN(CoursesResource_StudentsResource_DeleteMethod);
4014 };
4015 
4032  public:
4051  const ClassroomService* _service_,
4052  client::AuthorizationCredential* _credential_,
4053  const absl::string_view& course_id,
4054  const absl::string_view& user_id);
4055 
4060 
4061 
4071  virtual util::Status AppendVariable(
4072  const StringPiece& variable_name,
4073  const client::UriTemplateConfig& config,
4074  string* target);
4075 
4076 
4088  Student* data) {
4089  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4090  }
4091 
4092  private:
4093  string course_id_;
4094  string user_id_;
4095  DISALLOW_COPY_AND_ASSIGN(CoursesResource_StudentsResource_GetMethod);
4096 };
4097 
4114  public:
4126  const ClassroomService* _service_,
4127  client::AuthorizationCredential* _credential_,
4128  const absl::string_view& course_id);
4129 
4134 
4135 
4140  _have_page_token_ = false;
4141  client::ClearCppValueHelper(&page_token_);
4142  }
4143 
4144 
4150  const string& get_page_token() const { return page_token_; }
4151 
4158  string* mutable_pageToken() {
4159  _have_page_token_ = true;
4160  return &page_token_;
4161  }
4162 
4163 
4175  void set_page_token(const string& value) {
4176  _have_page_token_ = true;
4177  page_token_ = value;
4178  }
4179 
4180 
4181 
4186  _have_page_size_ = false;
4187  client::ClearCppValueHelper(&page_size_);
4188  }
4189 
4190 
4196  int32 get_page_size() const { return page_size_; }
4197 
4206  void set_page_size(int32 value) {
4207  _have_page_size_ = true;
4208  page_size_ = value;
4209  }
4210 
4220  virtual util::Status AppendVariable(
4221  const StringPiece& variable_name,
4222  const client::UriTemplateConfig& config,
4223  string* target);
4224 
4230  virtual util::Status AppendOptionalQueryParameters(string* target);
4231 
4232 
4244  ListStudentsResponse* data) {
4245  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4246  }
4247 
4248  private:
4249  string course_id_;
4250  string page_token_;
4251  int32 page_size_;
4252  bool _have_page_token_ : 1;
4253  bool _have_page_size_ : 1;
4254  DISALLOW_COPY_AND_ASSIGN(CoursesResource_StudentsResource_ListMethod);
4255 };
4256 
4257 typedef client::ServiceRequestPager<
4260  CoursesResource_StudentsResource_ListMethodPager;
4261 
4262 
4278  public:
4291  const ClassroomService* _service_,
4292  client::AuthorizationCredential* _credential_,
4293  const absl::string_view& course_id,
4294  const Teacher& _content_);
4295 
4300 
4301 
4311  virtual util::Status AppendVariable(
4312  const StringPiece& variable_name,
4313  const client::UriTemplateConfig& config,
4314  string* target);
4315 
4316 
4328  Teacher* data) {
4329  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4330  }
4331 
4332  private:
4333  string course_id_; string _content_;
4334  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TeachersResource_CreateMethod);
4335 };
4336 
4350  public:
4369  const ClassroomService* _service_,
4370  client::AuthorizationCredential* _credential_,
4371  const absl::string_view& course_id,
4372  const absl::string_view& user_id);
4373 
4378 
4379 
4389  virtual util::Status AppendVariable(
4390  const StringPiece& variable_name,
4391  const client::UriTemplateConfig& config,
4392  string* target);
4393 
4394 
4406  Empty* data) {
4407  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4408  }
4409 
4410  private:
4411  string course_id_;
4412  string user_id_;
4413  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TeachersResource_DeleteMethod);
4414 };
4415 
4432  public:
4451  const ClassroomService* _service_,
4452  client::AuthorizationCredential* _credential_,
4453  const absl::string_view& course_id,
4454  const absl::string_view& user_id);
4455 
4460 
4461 
4471  virtual util::Status AppendVariable(
4472  const StringPiece& variable_name,
4473  const client::UriTemplateConfig& config,
4474  string* target);
4475 
4476 
4488  Teacher* data) {
4489  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4490  }
4491 
4492  private:
4493  string course_id_;
4494  string user_id_;
4495  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TeachersResource_GetMethod);
4496 };
4497 
4514  public:
4526  const ClassroomService* _service_,
4527  client::AuthorizationCredential* _credential_,
4528  const absl::string_view& course_id);
4529 
4534 
4535 
4540  _have_page_token_ = false;
4541  client::ClearCppValueHelper(&page_token_);
4542  }
4543 
4544 
4550  const string& get_page_token() const { return page_token_; }
4551 
4558  string* mutable_pageToken() {
4559  _have_page_token_ = true;
4560  return &page_token_;
4561  }
4562 
4563 
4575  void set_page_token(const string& value) {
4576  _have_page_token_ = true;
4577  page_token_ = value;
4578  }
4579 
4580 
4581 
4586  _have_page_size_ = false;
4587  client::ClearCppValueHelper(&page_size_);
4588  }
4589 
4590 
4596  int32 get_page_size() const { return page_size_; }
4597 
4606  void set_page_size(int32 value) {
4607  _have_page_size_ = true;
4608  page_size_ = value;
4609  }
4610 
4620  virtual util::Status AppendVariable(
4621  const StringPiece& variable_name,
4622  const client::UriTemplateConfig& config,
4623  string* target);
4624 
4630  virtual util::Status AppendOptionalQueryParameters(string* target);
4631 
4632 
4644  ListTeachersResponse* data) {
4645  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4646  }
4647 
4648  private:
4649  string course_id_;
4650  string page_token_;
4651  int32 page_size_;
4652  bool _have_page_token_ : 1;
4653  bool _have_page_size_ : 1;
4654  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TeachersResource_ListMethod);
4655 };
4656 
4657 typedef client::ServiceRequestPager<
4660  CoursesResource_TeachersResource_ListMethodPager;
4661 
4662 
4676  public:
4689  const ClassroomService* _service_,
4690  client::AuthorizationCredential* _credential_,
4691  const absl::string_view& course_id,
4692  const Topic& _content_);
4693 
4698 
4699 
4709  virtual util::Status AppendVariable(
4710  const StringPiece& variable_name,
4711  const client::UriTemplateConfig& config,
4712  string* target);
4713 
4714 
4726  Topic* data) {
4727  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4728  }
4729 
4730  private:
4731  string course_id_; string _content_;
4732  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TopicsResource_CreateMethod);
4733 };
4734 
4748  public:
4761  const ClassroomService* _service_,
4762  client::AuthorizationCredential* _credential_,
4763  const absl::string_view& course_id,
4764  const absl::string_view& id);
4765 
4770 
4771 
4781  virtual util::Status AppendVariable(
4782  const StringPiece& variable_name,
4783  const client::UriTemplateConfig& config,
4784  string* target);
4785 
4786 
4798  Empty* data) {
4799  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4800  }
4801 
4802  private:
4803  string course_id_;
4804  string id_;
4805  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TopicsResource_DeleteMethod);
4806 };
4807 
4822  public:
4833  const ClassroomService* _service_,
4834  client::AuthorizationCredential* _credential_,
4835  const absl::string_view& course_id,
4836  const absl::string_view& id);
4837 
4842 
4843 
4853  virtual util::Status AppendVariable(
4854  const StringPiece& variable_name,
4855  const client::UriTemplateConfig& config,
4856  string* target);
4857 
4858 
4870  Topic* data) {
4871  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
4872  }
4873 
4874  private:
4875  string course_id_;
4876  string id_;
4877  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TopicsResource_GetMethod);
4878 };
4879 
4894  public:
4906  const ClassroomService* _service_,
4907  client::AuthorizationCredential* _credential_,
4908  const absl::string_view& course_id);
4909 
4914 
4915 
4920  _have_page_token_ = false;
4921  client::ClearCppValueHelper(&page_token_);
4922  }
4923 
4924 
4930  const string& get_page_token() const { return page_token_; }
4931 
4938  string* mutable_pageToken() {
4939  _have_page_token_ = true;
4940  return &page_token_;
4941  }
4942 
4943 
4955  void set_page_token(const string& value) {
4956  _have_page_token_ = true;
4957  page_token_ = value;
4958  }
4959 
4960 
4961 
4966  _have_page_size_ = false;
4967  client::ClearCppValueHelper(&page_size_);
4968  }
4969 
4970 
4976  int32 get_page_size() const { return page_size_; }
4977 
4987  void set_page_size(int32 value) {
4988  _have_page_size_ = true;
4989  page_size_ = value;
4990  }
4991 
5001  virtual util::Status AppendVariable(
5002  const StringPiece& variable_name,
5003  const client::UriTemplateConfig& config,
5004  string* target);
5005 
5011  virtual util::Status AppendOptionalQueryParameters(string* target);
5012 
5013 
5025  ListTopicResponse* data) {
5026  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5027  }
5028 
5029  private:
5030  string course_id_;
5031  string page_token_;
5032  int32 page_size_;
5033  bool _have_page_token_ : 1;
5034  bool _have_page_size_ : 1;
5035  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TopicsResource_ListMethod);
5036 };
5037 
5038 typedef client::ServiceRequestPager<
5041  CoursesResource_TopicsResource_ListMethodPager;
5042 
5056  public:
5070  const ClassroomService* _service_,
5071  client::AuthorizationCredential* _credential_,
5072  const absl::string_view& course_id,
5073  const absl::string_view& id,
5074  const Topic& _content_);
5075 
5080 
5081 
5086  _have_update_mask_ = false;
5087  client::ClearCppValueHelper(&update_mask_);
5088  }
5089 
5090 
5096  const string& get_update_mask() const { return update_mask_; }
5097 
5105  _have_update_mask_ = true;
5106  return &update_mask_;
5107  }
5108 
5109 
5127  void set_update_mask(const string& value) {
5128  _have_update_mask_ = true;
5129  update_mask_ = value;
5130  }
5131 
5141  virtual util::Status AppendVariable(
5142  const StringPiece& variable_name,
5143  const client::UriTemplateConfig& config,
5144  string* target);
5145 
5151  virtual util::Status AppendOptionalQueryParameters(string* target);
5152 
5153 
5165  Topic* data) {
5166  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5167  }
5168 
5169  private:
5170  string course_id_;
5171  string id_;
5172  string update_mask_;
5173  bool _have_update_mask_ : 1; string _content_;
5174  DISALLOW_COPY_AND_ASSIGN(CoursesResource_TopicsResource_PatchMethod);
5175 };
5176 
5177 
5178 
5192  public:
5202  const ClassroomService* _service_,
5203  client::AuthorizationCredential* _credential_,
5204  const absl::string_view& id);
5205 
5210 
5211 
5221  virtual util::Status AppendVariable(
5222  const StringPiece& variable_name,
5223  const client::UriTemplateConfig& config,
5224  string* target);
5225 
5226 
5238  Empty* data) {
5239  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5240  }
5241 
5242  private:
5243  string id_;
5244  DISALLOW_COPY_AND_ASSIGN(InvitationsResource_AcceptMethod);
5245 };
5246 
5260  public:
5270  const ClassroomService* _service_,
5271  client::AuthorizationCredential* _credential_,
5272  const Invitation& _content_);
5273 
5278 
5290  Invitation* data) {
5291  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5292  }
5293 
5294  private:
5295  string _content_;
5296  DISALLOW_COPY_AND_ASSIGN(InvitationsResource_CreateMethod);
5297 };
5298 
5312  public:
5322  const ClassroomService* _service_,
5323  client::AuthorizationCredential* _credential_,
5324  const absl::string_view& id);
5325 
5330 
5331 
5341  virtual util::Status AppendVariable(
5342  const StringPiece& variable_name,
5343  const client::UriTemplateConfig& config,
5344  string* target);
5345 
5346 
5358  Empty* data) {
5359  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5360  }
5361 
5362  private:
5363  string id_;
5364  DISALLOW_COPY_AND_ASSIGN(InvitationsResource_DeleteMethod);
5365 };
5366 
5381  public:
5391  const ClassroomService* _service_,
5392  client::AuthorizationCredential* _credential_,
5393  const absl::string_view& id);
5394 
5398  virtual ~InvitationsResource_GetMethod();
5399 
5400 
5410  virtual util::Status AppendVariable(
5411  const StringPiece& variable_name,
5412  const client::UriTemplateConfig& config,
5413  string* target);
5414 
5415 
5427  Invitation* data) {
5428  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5429  }
5430 
5431  private:
5432  string id_;
5433  DISALLOW_COPY_AND_ASSIGN(InvitationsResource_GetMethod);
5434 };
5435 
5450  public:
5459  const ClassroomService* _service_,
5460  client::AuthorizationCredential* _credential_);
5461 
5465  virtual ~InvitationsResource_ListMethod();
5466 
5467 
5472  _have_course_id_ = false;
5473  client::ClearCppValueHelper(&course_id_);
5474  }
5475 
5476 
5482  const string& get_course_id() const { return course_id_; }
5483 
5490  string* mutable_courseId() {
5491  _have_course_id_ = true;
5492  return &course_id_;
5493  }
5494 
5495 
5503  void set_course_id(const string& value) {
5504  _have_course_id_ = true;
5505  course_id_ = value;
5506  }
5507 
5508 
5509 
5513  void clear_user_id() {
5514  _have_user_id_ = false;
5515  client::ClearCppValueHelper(&user_id_);
5516  }
5517 
5518 
5524  const string& get_user_id() const { return user_id_; }
5525 
5531  string* mutable_userId() {
5532  _have_user_id_ = true;
5533  return &user_id_;
5534  }
5535 
5536 
5548  void set_user_id(const string& value) {
5549  _have_user_id_ = true;
5550  user_id_ = value;
5551  }
5552 
5553 
5554 
5559  _have_page_token_ = false;
5560  client::ClearCppValueHelper(&page_token_);
5561  }
5562 
5563 
5569  const string& get_page_token() const { return page_token_; }
5570 
5577  string* mutable_pageToken() {
5578  _have_page_token_ = true;
5579  return &page_token_;
5580  }
5581 
5582 
5594  void set_page_token(const string& value) {
5595  _have_page_token_ = true;
5596  page_token_ = value;
5597  }
5598 
5599 
5600 
5605  _have_page_size_ = false;
5606  client::ClearCppValueHelper(&page_size_);
5607  }
5608 
5609 
5615  int32 get_page_size() const { return page_size_; }
5616 
5625  void set_page_size(int32 value) {
5626  _have_page_size_ = true;
5627  page_size_ = value;
5628  }
5629 
5639  virtual util::Status AppendVariable(
5640  const StringPiece& variable_name,
5641  const client::UriTemplateConfig& config,
5642  string* target);
5643 
5649  virtual util::Status AppendOptionalQueryParameters(string* target);
5650 
5651 
5663  ListInvitationsResponse* data) {
5664  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5665  }
5666 
5667  private:
5668  string course_id_;
5669  string user_id_;
5670  string page_token_;
5671  int32 page_size_;
5672  bool _have_course_id_ : 1;
5673  bool _have_user_id_ : 1;
5674  bool _have_page_token_ : 1;
5675  bool _have_page_size_ : 1;
5676  DISALLOW_COPY_AND_ASSIGN(InvitationsResource_ListMethod);
5677 };
5678 
5679 typedef client::ServiceRequestPager<
5682  InvitationsResource_ListMethodPager;
5683 
5684 
5685 
5699  public:
5709  const ClassroomService* _service_,
5710  client::AuthorizationCredential* _credential_,
5711  const Registration& _content_);
5712 
5717 
5729  Registration* data) {
5730  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5731  }
5732 
5733  private:
5734  string _content_;
5735  DISALLOW_COPY_AND_ASSIGN(RegistrationsResource_CreateMethod);
5736 };
5737 
5751  public:
5762  const ClassroomService* _service_,
5763  client::AuthorizationCredential* _credential_,
5764  const absl::string_view& registration_id);
5765 
5770 
5771 
5781  virtual util::Status AppendVariable(
5782  const StringPiece& variable_name,
5783  const client::UriTemplateConfig& config,
5784  string* target);
5785 
5786 
5798  Empty* data) {
5799  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5800  }
5801 
5802  private:
5803  string registration_id_;
5804  DISALLOW_COPY_AND_ASSIGN(RegistrationsResource_DeleteMethod);
5805 };
5806 
5807 
5808 
5825  public:
5841  const ClassroomService* _service_,
5842  client::AuthorizationCredential* _credential_,
5843  const absl::string_view& user_id);
5844 
5848  virtual ~UserProfilesResource_GetMethod();
5849 
5850 
5860  virtual util::Status AppendVariable(
5861  const StringPiece& variable_name,
5862  const client::UriTemplateConfig& config,
5863  string* target);
5864 
5865 
5877  UserProfile* data) {
5878  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5879  }
5880 
5881  private:
5882  string user_id_;
5883  DISALLOW_COPY_AND_ASSIGN(UserProfilesResource_GetMethod);
5884 };
5885 
5886 
5887 
5888 
5902  public:
5913  const ClassroomService* _service_,
5914  client::AuthorizationCredential* _credential_,
5915  const absl::string_view& student_id,
5916  const GuardianInvitation& _content_);
5917 
5922 
5923 
5933  virtual util::Status AppendVariable(
5934  const StringPiece& variable_name,
5935  const client::UriTemplateConfig& config,
5936  string* target);
5937 
5938 
5950  GuardianInvitation* data) {
5951  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
5952  }
5953 
5954  private:
5955  string student_id_; string _content_;
5957 };
5958 
5973  public:
5986  const ClassroomService* _service_,
5987  client::AuthorizationCredential* _credential_,
5988  const absl::string_view& student_id,
5989  const absl::string_view& invitation_id);
5990 
5995 
5996 
6006  virtual util::Status AppendVariable(
6007  const StringPiece& variable_name,
6008  const client::UriTemplateConfig& config,
6009  string* target);
6010 
6011 
6023  GuardianInvitation* data) {
6024  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6025  }
6026 
6027  private:
6028  string student_id_;
6029  string invitation_id_;
6031 };
6032 
6047  public:
6066  const ClassroomService* _service_,
6067  client::AuthorizationCredential* _credential_,
6068  const absl::string_view& student_id);
6069 
6074 
6075 
6080  _have_page_token_ = false;
6081  client::ClearCppValueHelper(&page_token_);
6082  }
6083 
6084 
6090  const string& get_page_token() const { return page_token_; }
6091 
6098  string* mutable_pageToken() {
6099  _have_page_token_ = true;
6100  return &page_token_;
6101  }
6102 
6103 
6115  void set_page_token(const string& value) {
6116  _have_page_token_ = true;
6117  page_token_ = value;
6118  }
6119 
6120 
6121 
6127  _have_invited_email_address_ = false;
6128  client::ClearCppValueHelper(&invited_email_address_);
6129  }
6130 
6131 
6137  const string& get_invited_email_address() const { return invited_email_address_; }
6138 
6146  _have_invited_email_address_ = true;
6147  return &invited_email_address_;
6148  }
6149 
6150 
6158  void set_invited_email_address(const string& value) {
6159  _have_invited_email_address_ = true;
6160  invited_email_address_ = value;
6161  }
6162 
6163 
6164 
6168  void clear_states() {
6169  _have_states_ = false;
6170  client::ClearCppValueHelper(&states_);
6171  }
6172 
6173 
6179  const client::JsonCppArray<string >& get_states() const { return states_; }
6180 
6186  client::JsonCppArray<string >* mutable_states() {
6187  _have_states_ = true;
6188  return &states_;
6189  }
6190 
6191 
6192 
6197  _have_page_size_ = false;
6198  client::ClearCppValueHelper(&page_size_);
6199  }
6200 
6201 
6207  int32 get_page_size() const { return page_size_; }
6208 
6218  void set_page_size(int32 value) {
6219  _have_page_size_ = true;
6220  page_size_ = value;
6221  }
6222 
6232  virtual util::Status AppendVariable(
6233  const StringPiece& variable_name,
6234  const client::UriTemplateConfig& config,
6235  string* target);
6236 
6242  virtual util::Status AppendOptionalQueryParameters(string* target);
6243 
6244 
6257  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6258  }
6259 
6260  private:
6261  string student_id_;
6262  string page_token_;
6263  string invited_email_address_;
6264  client::JsonCppCapsule< client::JsonCppArray<string > > states_;
6265  int32 page_size_;
6266  bool _have_page_token_ : 1;
6267  bool _have_invited_email_address_ : 1;
6268  bool _have_states_ : 1;
6269  bool _have_page_size_ : 1;
6271 };
6272 
6273 typedef client::ServiceRequestPager<
6276  UserProfilesResource_GuardianInvitationsResource_ListMethodPager;
6277 
6291  public:
6305  const ClassroomService* _service_,
6306  client::AuthorizationCredential* _credential_,
6307  const absl::string_view& student_id,
6308  const absl::string_view& invitation_id,
6309  const GuardianInvitation& _content_);
6310 
6315 
6316 
6321  _have_update_mask_ = false;
6322  client::ClearCppValueHelper(&update_mask_);
6323  }
6324 
6325 
6331  const string& get_update_mask() const { return update_mask_; }
6332 
6340  _have_update_mask_ = true;
6341  return &update_mask_;
6342  }
6343 
6344 
6359  void set_update_mask(const string& value) {
6360  _have_update_mask_ = true;
6361  update_mask_ = value;
6362  }
6363 
6373  virtual util::Status AppendVariable(
6374  const StringPiece& variable_name,
6375  const client::UriTemplateConfig& config,
6376  string* target);
6377 
6383  virtual util::Status AppendOptionalQueryParameters(string* target);
6384 
6385 
6397  GuardianInvitation* data) {
6398  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6399  }
6400 
6401  private:
6402  string student_id_;
6403  string invitation_id_;
6404  string update_mask_;
6405  bool _have_update_mask_ : 1; string _content_;
6407 };
6408 
6409 
6423  public:
6439  const ClassroomService* _service_,
6440  client::AuthorizationCredential* _credential_,
6441  const absl::string_view& student_id,
6442  const absl::string_view& guardian_id);
6443 
6448 
6449 
6459  virtual util::Status AppendVariable(
6460  const StringPiece& variable_name,
6461  const client::UriTemplateConfig& config,
6462  string* target);
6463 
6464 
6476  Empty* data) {
6477  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6478  }
6479 
6480  private:
6481  string student_id_;
6482  string guardian_id_;
6483  DISALLOW_COPY_AND_ASSIGN(UserProfilesResource_GuardiansResource_DeleteMethod);
6484 };
6485 
6501  public:
6517  const ClassroomService* _service_,
6518  client::AuthorizationCredential* _credential_,
6519  const absl::string_view& student_id,
6520  const absl::string_view& guardian_id);
6521 
6526 
6527 
6537  virtual util::Status AppendVariable(
6538  const StringPiece& variable_name,
6539  const client::UriTemplateConfig& config,
6540  string* target);
6541 
6542 
6554  Guardian* data) {
6555  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6556  }
6557 
6558  private:
6559  string student_id_;
6560  string guardian_id_;
6561  DISALLOW_COPY_AND_ASSIGN(UserProfilesResource_GuardiansResource_GetMethod);
6562 };
6563 
6579  public:
6597  const ClassroomService* _service_,
6598  client::AuthorizationCredential* _credential_,
6599  const absl::string_view& student_id);
6600 
6605 
6606 
6611  _have_page_token_ = false;
6612  client::ClearCppValueHelper(&page_token_);
6613  }
6614 
6615 
6621  const string& get_page_token() const { return page_token_; }
6622 
6629  string* mutable_pageToken() {
6630  _have_page_token_ = true;
6631  return &page_token_;
6632  }
6633 
6634 
6646  void set_page_token(const string& value) {
6647  _have_page_token_ = true;
6648  page_token_ = value;
6649  }
6650 
6651 
6652 
6658  _have_invited_email_address_ = false;
6659  client::ClearCppValueHelper(&invited_email_address_);
6660  }
6661 
6662 
6668  const string& get_invited_email_address() const { return invited_email_address_; }
6669 
6677  _have_invited_email_address_ = true;
6678  return &invited_email_address_;
6679  }
6680 
6681 
6690  void set_invited_email_address(const string& value) {
6691  _have_invited_email_address_ = true;
6692  invited_email_address_ = value;
6693  }
6694 
6695 
6696 
6701  _have_page_size_ = false;
6702  client::ClearCppValueHelper(&page_size_);
6703  }
6704 
6705 
6711  int32 get_page_size() const { return page_size_; }
6712 
6722  void set_page_size(int32 value) {
6723  _have_page_size_ = true;
6724  page_size_ = value;
6725  }
6726 
6736  virtual util::Status AppendVariable(
6737  const StringPiece& variable_name,
6738  const client::UriTemplateConfig& config,
6739  string* target);
6740 
6746  virtual util::Status AppendOptionalQueryParameters(string* target);
6747 
6748 
6760  ListGuardiansResponse* data) {
6761  return ClassroomServiceBaseRequest::ExecuteAndParseResponse(data);
6762  }
6763 
6764  private:
6765  string student_id_;
6766  string page_token_;
6767  string invited_email_address_;
6768  int32 page_size_;
6769  bool _have_page_token_ : 1;
6770  bool _have_invited_email_address_ : 1;
6771  bool _have_page_size_ : 1;
6772  DISALLOW_COPY_AND_ASSIGN(UserProfilesResource_GuardiansResource_ListMethod);
6773 };
6774 
6775 typedef client::ServiceRequestPager<
6778  UserProfilesResource_GuardiansResource_ListMethodPager;
6779 
6780 
6781 
6790 class ClassroomService : public client::ClientService {
6791  public:
6795  static const char googleapis_API_NAME[];
6796 
6800  static const char googleapis_API_VERSION[];
6801 
6805  static const char googleapis_API_GENERATOR[];
6806 
6807 
6814  public:
6822  explicit CoursesResource(ClassroomService* service);
6823 
6828 
6835  public:
6843  explicit AliasesResource(ClassroomService* service);
6844 
6849 
6850 
6864  client::AuthorizationCredential* _credential_,
6865  const absl::string_view& course_id,
6866  const CourseAlias& _content_) const;
6867 
6883  client::AuthorizationCredential* _credential_,
6884  const absl::string_view& course_id,
6885  const absl::string_view& alias) const;
6886 
6898  CoursesResource_AliasesResource_ListMethod* NewListMethod(
6899  client::AuthorizationCredential* _credential_,
6900  const absl::string_view& course_id) const;
6901 
6913  CoursesResource_AliasesResource_ListMethodPager* NewListMethodPager(
6914  client::AuthorizationCredential* _credential_,
6915  const absl::string_view& course_id) const;
6916 
6917  private:
6918  ClassroomService* service_;
6919 
6920  DISALLOW_COPY_AND_ASSIGN(AliasesResource);
6921  };
6927  const AliasesResource& get_aliases() const {
6928  return aliases_;
6929  }
6930 
6931 
6938  public:
6946  explicit AnnouncementsResource(ClassroomService* service);
6947 
6952 
6953 
6968  client::AuthorizationCredential* _credential_,
6969  const absl::string_view& course_id,
6970  const Announcement& _content_) const;
6971 
6987  client::AuthorizationCredential* _credential_,
6988  const absl::string_view& course_id,
6989  const absl::string_view& id) const;
6990 
7004  client::AuthorizationCredential* _credential_,
7005  const absl::string_view& course_id,
7006  const absl::string_view& id) const;
7007 
7020  CoursesResource_AnnouncementsResource_ListMethod* NewListMethod(
7021  client::AuthorizationCredential* _credential_,
7022  const absl::string_view& course_id) const;
7023 
7035  CoursesResource_AnnouncementsResource_ListMethodPager* NewListMethodPager(
7036  client::AuthorizationCredential* _credential_,
7037  const absl::string_view& course_id) const;
7038 
7054  client::AuthorizationCredential* _credential_,
7055  const absl::string_view& course_id,
7056  const absl::string_view& id,
7057  const ModifyAnnouncementAssigneesRequest& _content_) const;
7058 
7074  client::AuthorizationCredential* _credential_,
7075  const absl::string_view& course_id,
7076  const absl::string_view& id,
7077  const Announcement& _content_) const;
7078 
7079  private:
7080  ClassroomService* service_;
7081 
7082  DISALLOW_COPY_AND_ASSIGN(AnnouncementsResource);
7083  };
7090  return announcements_;
7091  }
7092 
7093 
7100  public:
7108  explicit CourseWorkResource(ClassroomService* service);
7109 
7114 
7121  public:
7129  explicit StudentSubmissionsResource(ClassroomService* service);
7130 
7135 
7136 
7152  client::AuthorizationCredential* _credential_,
7153  const absl::string_view& course_id,
7154  const absl::string_view& course_work_id,
7155  const absl::string_view& id) const;
7156 
7173  CoursesResource_CourseWorkResource_StudentSubmissionsResource_ListMethod* NewListMethod(
7174  client::AuthorizationCredential* _credential_,
7175  const absl::string_view& course_id,
7176  const absl::string_view& course_work_id) const;
7177 
7194  CoursesResource_CourseWorkResource_StudentSubmissionsResource_ListMethodPager* NewListMethodPager(
7195  client::AuthorizationCredential* _credential_,
7196  const absl::string_view& course_id,
7197  const absl::string_view& course_work_id) const;
7198 
7215  client::AuthorizationCredential* _credential_,
7216  const absl::string_view& course_id,
7217  const absl::string_view& course_work_id,
7218  const absl::string_view& id,
7219  const ModifyAttachmentsRequest& _content_) const;
7220 
7237  client::AuthorizationCredential* _credential_,
7238  const absl::string_view& course_id,
7239  const absl::string_view& course_work_id,
7240  const absl::string_view& id,
7241  const StudentSubmission& _content_) const;
7242 
7259  client::AuthorizationCredential* _credential_,
7260  const absl::string_view& course_id,
7261  const absl::string_view& course_work_id,
7262  const absl::string_view& id,
7263  const ReclaimStudentSubmissionRequest& _content_) const;
7264 
7281  client::AuthorizationCredential* _credential_,
7282  const absl::string_view& course_id,
7283  const absl::string_view& course_work_id,
7284  const absl::string_view& id,
7285  const ReturnStudentSubmissionRequest& _content_) const;
7286 
7303  client::AuthorizationCredential* _credential_,
7304  const absl::string_view& course_id,
7305  const absl::string_view& course_work_id,
7306  const absl::string_view& id,
7307  const TurnInStudentSubmissionRequest& _content_) const;
7308 
7309  private:
7310  ClassroomService* service_;
7311 
7312  DISALLOW_COPY_AND_ASSIGN(StudentSubmissionsResource);
7313  };
7320  return student_submissions_;
7321  }
7322 
7323 
7324 
7338  client::AuthorizationCredential* _credential_,
7339  const absl::string_view& course_id,
7340  const CourseWork& _content_) const;
7341 
7356  client::AuthorizationCredential* _credential_,
7357  const absl::string_view& course_id,
7358  const absl::string_view& id) const;
7359 
7373  client::AuthorizationCredential* _credential_,
7374  const absl::string_view& course_id,
7375  const absl::string_view& id) const;
7376 
7388  CoursesResource_CourseWorkResource_ListMethod* NewListMethod(
7389  client::AuthorizationCredential* _credential_,
7390  const absl::string_view& course_id) const;
7391 
7403  CoursesResource_CourseWorkResource_ListMethodPager* NewListMethodPager(
7404  client::AuthorizationCredential* _credential_,
7405  const absl::string_view& course_id) const;
7406 
7422  client::AuthorizationCredential* _credential_,
7423  const absl::string_view& course_id,
7424  const absl::string_view& id,
7425  const ModifyCourseWorkAssigneesRequest& _content_) const;
7426 
7441  client::AuthorizationCredential* _credential_,
7442  const absl::string_view& course_id,
7443  const absl::string_view& id,
7444  const CourseWork& _content_) const;
7445 
7446  private:
7447  ClassroomService* service_;
7448  StudentSubmissionsResource student_submissions_;
7449 
7450  DISALLOW_COPY_AND_ASSIGN(CourseWorkResource);
7451  };
7458  return course_work_;
7459  }
7460 
7461 
7468  public:
7476  explicit StudentsResource(ClassroomService* service);
7477 
7482 
7483 
7497  client::AuthorizationCredential* _credential_,
7498  const absl::string_view& course_id,
7499  const Student& _content_) const;
7500 
7520  client::AuthorizationCredential* _credential_,
7521  const absl::string_view& course_id,
7522  const absl::string_view& user_id) const;
7523 
7543  client::AuthorizationCredential* _credential_,
7544  const absl::string_view& course_id,
7545  const absl::string_view& user_id) const;
7546 
7558  CoursesResource_StudentsResource_ListMethod* NewListMethod(
7559  client::AuthorizationCredential* _credential_,
7560  const absl::string_view& course_id) const;
7561 
7573  CoursesResource_StudentsResource_ListMethodPager* NewListMethodPager(
7574  client::AuthorizationCredential* _credential_,
7575  const absl::string_view& course_id) const;
7576 
7577  private:
7578  ClassroomService* service_;
7579 
7580  DISALLOW_COPY_AND_ASSIGN(StudentsResource);
7581  };
7588  return students_;
7589  }
7590 
7591 
7598  public:
7606  explicit TeachersResource(ClassroomService* service);
7607 
7612 
7613 
7627  client::AuthorizationCredential* _credential_,
7628  const absl::string_view& course_id,
7629  const Teacher& _content_) const;
7630 
7650  client::AuthorizationCredential* _credential_,
7651  const absl::string_view& course_id,
7652  const absl::string_view& user_id) const;
7653 
7673  client::AuthorizationCredential* _credential_,
7674  const absl::string_view& course_id,
7675  const absl::string_view& user_id) const;
7676 
7688  CoursesResource_TeachersResource_ListMethod* NewListMethod(
7689  client::AuthorizationCredential* _credential_,
7690  const absl::string_view& course_id) const;
7691 
7703  CoursesResource_TeachersResource_ListMethodPager* NewListMethodPager(
7704  client::AuthorizationCredential* _credential_,
7705  const absl::string_view& course_id) const;
7706 
7707  private:
7708  ClassroomService* service_;
7709 
7710  DISALLOW_COPY_AND_ASSIGN(TeachersResource);
7711  };
7718  return teachers_;
7719  }
7720 
7721 
7728  public:
7736  explicit TopicsResource(ClassroomService* service);
7737 
7742 
7743 
7757  client::AuthorizationCredential* _credential_,
7758  const absl::string_view& course_id,
7759  const Topic& _content_) const;
7760 
7774  client::AuthorizationCredential* _credential_,
7775  const absl::string_view& course_id,
7776  const absl::string_view& id) const;
7777 
7789  client::AuthorizationCredential* _credential_,
7790  const absl::string_view& course_id,
7791  const absl::string_view& id) const;
7792 
7804  CoursesResource_TopicsResource_ListMethod* NewListMethod(
7805  client::AuthorizationCredential* _credential_,
7806  const absl::string_view& course_id) const;
7807 
7819  CoursesResource_TopicsResource_ListMethodPager* NewListMethodPager(
7820  client::AuthorizationCredential* _credential_,
7821  const absl::string_view& course_id) const;
7822 
7837  client::AuthorizationCredential* _credential_,
7838  const absl::string_view& course_id,
7839  const absl::string_view& id,
7840  const Topic& _content_) const;
7841 
7842  private:
7843  ClassroomService* service_;
7844 
7845  DISALLOW_COPY_AND_ASSIGN(TopicsResource);
7846  };
7852  const TopicsResource& get_topics() const {
7853  return topics_;
7854  }
7855 
7856 
7857 
7867  CoursesResource_CreateMethod* NewCreateMethod(
7868  client::AuthorizationCredential* _credential_,
7869  const Course& _content_) const;
7870 
7882  CoursesResource_DeleteMethod* NewDeleteMethod(
7883  client::AuthorizationCredential* _credential_,
7884  const absl::string_view& id) const;
7885 
7897  CoursesResource_GetMethod* NewGetMethod(
7898  client::AuthorizationCredential* _credential_,
7899  const absl::string_view& id) const;
7900 
7909  CoursesResource_ListMethod* NewListMethod(
7910  client::AuthorizationCredential* _credential_) const;
7911 
7918  CoursesResource_ListMethodPager* NewListMethodPager(
7919  client::AuthorizationCredential* _credential_) const;
7920 
7933  CoursesResource_PatchMethod* NewPatchMethod(
7934  client::AuthorizationCredential* _credential_,
7935  const absl::string_view& id,
7936  const Course& _content_) const;
7937 
7950  CoursesResource_UpdateMethod* NewUpdateMethod(
7951  client::AuthorizationCredential* _credential_,
7952  const absl::string_view& id,
7953  const Course& _content_) const;
7954 
7955  private:
7956  ClassroomService* service_;
7957  AliasesResource aliases_;
7958  AnnouncementsResource announcements_;
7959  CourseWorkResource course_work_;
7960  StudentsResource students_;
7961  TeachersResource teachers_;
7962  TopicsResource topics_;
7963 
7964  DISALLOW_COPY_AND_ASSIGN(CoursesResource);
7965  };
7966 
7973  public:
7981  explicit InvitationsResource(ClassroomService* service);
7982 
7987 
7988 
7998  InvitationsResource_AcceptMethod* NewAcceptMethod(
7999  client::AuthorizationCredential* _credential_,
8000  const absl::string_view& id) const;
8001 
8011  InvitationsResource_CreateMethod* NewCreateMethod(
8012  client::AuthorizationCredential* _credential_,
8013  const Invitation& _content_) const;
8014 
8024  InvitationsResource_DeleteMethod* NewDeleteMethod(
8025  client::AuthorizationCredential* _credential_,
8026  const absl::string_view& id) const;
8027 
8037  InvitationsResource_GetMethod* NewGetMethod(
8038  client::AuthorizationCredential* _credential_,
8039  const absl::string_view& id) const;
8040 
8049  InvitationsResource_ListMethod* NewListMethod(
8050  client::AuthorizationCredential* _credential_) const;
8051 
8058  InvitationsResource_ListMethodPager* NewListMethodPager(
8059  client::AuthorizationCredential* _credential_) const;
8060 
8061  private:
8062  ClassroomService* service_;
8063 
8064  DISALLOW_COPY_AND_ASSIGN(InvitationsResource);
8065  };
8066 
8073  public:
8081  explicit RegistrationsResource(ClassroomService* service);
8082 
8087 
8088 
8098  RegistrationsResource_CreateMethod* NewCreateMethod(
8099  client::AuthorizationCredential* _credential_,
8100  const Registration& _content_) const;
8101 
8112  RegistrationsResource_DeleteMethod* NewDeleteMethod(
8113  client::AuthorizationCredential* _credential_,
8114  const absl::string_view& registration_id) const;
8115 
8116  private:
8117  ClassroomService* service_;
8118 
8119  DISALLOW_COPY_AND_ASSIGN(RegistrationsResource);
8120  };
8121 
8128  public:
8136  explicit UserProfilesResource(ClassroomService* service);
8137 
8142 
8149  public:
8157  explicit GuardianInvitationsResource(ClassroomService* service);
8158 
8163 
8164 
8177  client::AuthorizationCredential* _credential_,
8178  const absl::string_view& student_id,
8179  const GuardianInvitation& _content_) const;
8180 
8195  client::AuthorizationCredential* _credential_,
8196  const absl::string_view& student_id,
8197  const absl::string_view& invitation_id) const;
8198 
8219  UserProfilesResource_GuardianInvitationsResource_ListMethod* NewListMethod(
8220  client::AuthorizationCredential* _credential_,
8221  const absl::string_view& student_id) const;
8222 
8242  UserProfilesResource_GuardianInvitationsResource_ListMethodPager* NewListMethodPager(
8243  client::AuthorizationCredential* _credential_,
8244  const absl::string_view& student_id) const;
8245 
8261  client::AuthorizationCredential* _credential_,
8262  const absl::string_view& student_id,
8263  const absl::string_view& invitation_id,
8264  const GuardianInvitation& _content_) const;
8265 
8266  private:
8267  ClassroomService* service_;
8268 
8269  DISALLOW_COPY_AND_ASSIGN(GuardianInvitationsResource);
8270  };
8277  return guardian_invitations_;
8278  }
8279 
8280 
8287  public:
8295  explicit GuardiansResource(ClassroomService* service);
8296 
8301 
8302 
8320  client::AuthorizationCredential* _credential_,
8321  const absl::string_view& student_id,
8322  const absl::string_view& guardian_id) const;
8323 
8341  client::AuthorizationCredential* _credential_,
8342  const absl::string_view& student_id,
8343  const absl::string_view& guardian_id) const;
8344 
8364  UserProfilesResource_GuardiansResource_ListMethod* NewListMethod(
8365  client::AuthorizationCredential* _credential_,
8366  const absl::string_view& student_id) const;
8367 
8386  UserProfilesResource_GuardiansResource_ListMethodPager* NewListMethodPager(
8387  client::AuthorizationCredential* _credential_,
8388  const absl::string_view& student_id) const;
8389 
8390  private:
8391  ClassroomService* service_;
8392 
8393  DISALLOW_COPY_AND_ASSIGN(GuardiansResource);
8394  };
8401  return guardians_;
8402  }
8403 
8404 
8405 
8421  UserProfilesResource_GetMethod* NewGetMethod(
8422  client::AuthorizationCredential* _credential_,
8423  const absl::string_view& user_id) const;
8424 
8425  private:
8426  ClassroomService* service_;
8427  GuardianInvitationsResource guardian_invitations_;
8428  GuardiansResource guardians_;
8429 
8430  DISALLOW_COPY_AND_ASSIGN(UserProfilesResource);
8431  };
8432 
8433 
8434 
8441  explicit ClassroomService(client::HttpTransport* transport);
8442 
8446  virtual ~ClassroomService();
8447 
8453  const CoursesResource& get_courses() const {
8454  return courses_;
8455  }
8456 
8457 
8464  return invitations_;
8465  }
8466 
8467 
8474  return registrations_;
8475  }
8476 
8477 
8484  return user_profiles_;
8485  }
8486 
8493  class SCOPES {
8494  public:
8498  static const char CLASSROOM_ANNOUNCEMENTS[];
8499 
8503  static const char CLASSROOM_ANNOUNCEMENTS_READONLY[];
8504 
8508  static const char CLASSROOM_COURSES[];
8509 
8513  static const char CLASSROOM_COURSES_READONLY[];
8514 
8518  static const char CLASSROOM_COURSEWORK_ME[];
8519 
8523  static const char CLASSROOM_COURSEWORK_ME_READONLY[];
8524 
8530  static const char CLASSROOM_COURSEWORK_STUDENTS[];
8531 
8536  static const char CLASSROOM_COURSEWORK_STUDENTS_READONLY[];
8537 
8541  static const char CLASSROOM_GUARDIANLINKS_ME_READONLY[];
8542 
8546  static const char CLASSROOM_GUARDIANLINKS_STUDENTS[];
8547 
8551  static const char CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY[];
8552 
8556  static const char CLASSROOM_PROFILE_EMAILS[];
8557 
8561  static const char CLASSROOM_PROFILE_PHOTOS[];
8562 
8566  static const char CLASSROOM_PUSH_NOTIFICATIONS[];
8567 
8571  static const char CLASSROOM_ROSTERS[];
8572 
8576  static const char CLASSROOM_ROSTERS_READONLY[];
8577 
8581  static const char CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY[];
8582 
8587  static const char CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY[];
8588 
8592  static const char CLASSROOM_TOPICS[];
8593 
8597  static const char CLASSROOM_TOPICS_READONLY[];
8598 
8599  private:
8600  SCOPES(); // Never instantiated.
8601  ~SCOPES(); // Never instantiated.
8602  };
8603 
8604  private:
8605  CoursesResource courses_;
8606  InvitationsResource invitations_;
8607  RegistrationsResource registrations_;
8608  UserProfilesResource user_profiles_;
8609 
8610  DISALLOW_COPY_AND_ASSIGN(ClassroomService);
8611 };
8612 
8613 
8644 } // namespace google_classroom_api
8645 #endif // GOOGLE_CLASSROOM_API_CLASSROOM_SERVICE_H_
void clear_quota_user()
Definition: classroom_service.h:452
util::Status ExecuteAndParseResponse(CourseAlias *data)
Definition: classroom_service.h:1382
util::Status ExecuteAndParseResponse(Topic *data)
Definition: classroom_service.h:4725
const string & get_student_id() const
Definition: classroom_service.h:869
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:2439
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:1693
const string & get_course_id() const
Definition: classroom_service.h:5482
const string & get_upload_protocol() const
Definition: classroom_service.h:546
void set_page_size(int32 value)
Definition: classroom_service.h:6722
const string & get_page_token() const
Definition: classroom_service.h:2623
string * mutable_alt()
Definition: classroom_service.h:245
int32 get_page_size() const
Definition: classroom_service.h:4596
void clear_alt()
Definition: classroom_service.h:227
void set_page_size(int32 value)
Definition: classroom_service.h:2003
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:4797
Definition: student_submission.h:60
client::JsonCppArray< string > * mutable_courseStates()
Definition: classroom_service.h:1045
Definition: teacher.h:52
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:2290
string * mutable_orderBy()
Definition: classroom_service.h:1909
string * mutable_updateMask()
Definition: classroom_service.h:2904
void clear_update_mask()
Definition: classroom_service.h:2208
string * mutable_oauthToken()
Definition: classroom_service.h:405
const client::JsonCppArray< string > & get_course_states() const
Definition: classroom_service.h:1037
void clear_page_size()
Definition: classroom_service.h:5604
client::JsonCppArray< string > * mutable_courseWorkStates()
Definition: classroom_service.h:2708
const string & get_page_token() const
Definition: classroom_service.h:1517
util::Status ExecuteAndParseResponse(ListGuardianInvitationsResponse *data)
Definition: classroom_service.h:6255
void clear_oauth_token()
Definition: classroom_service.h:386
util::Status ExecuteAndParseResponse(ListInvitationsResponse *data)
Definition: classroom_service.h:5662
void set_page_token(const string &value)
Definition: classroom_service.h:6646
string * mutable_pageToken()
Definition: classroom_service.h:4558
void clear_page_size()
Definition: classroom_service.h:4965
void set_late(const string &value)
Definition: classroom_service.h:3197
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:1456
Definition: list_course_aliases_response.h:52
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:3643
string * mutable_invitedEmailAddress()
Definition: classroom_service.h:6676
const string & get_page_token() const
Definition: classroom_service.h:5569
void set_page_size(int32 value)
Definition: classroom_service.h:4987
void set_page_size(int32 value)
Definition: classroom_service.h:2680
Definition: classroom_service.h:765
void set_page_size(int32 value)
Definition: classroom_service.h:5625
client::JsonCppArray< string > * mutable_states()
Definition: classroom_service.h:3301
Definition: registration.h:54
void set_callback(const string &value)
Definition: classroom_service.h:295
~CoursesResource()
Definition: classroom_service.h:6827
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:1233
void clear_access_token()
Definition: classroom_service.h:187
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:5797
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:3721
util::Status ExecuteAndParseResponse(ListTeachersResponse *data)
Definition: classroom_service.h:4643
void set_page_token(const string &value)
Definition: classroom_service.h:940
void set_xgafv(const string &value)
Definition: classroom_service.h:177
void set_update_mask(const string &value)
Definition: classroom_service.h:2936
const string & get_quota_user() const
Definition: classroom_service.h:463
Definition: classroom_service.h:1257
Definition: modify_announcement_assignees_request.h:52
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:6475
string * mutable_invitedEmailAddress()
Definition: classroom_service.h:6145
util::Status ExecuteAndParseResponse(ListGuardiansResponse *data)
Definition: classroom_service.h:6759
Definition: course_work.h:57
string * mutable_courseId()
Definition: classroom_service.h:5490
void set_page_size(int32 value)
Definition: classroom_service.h:4606
string * mutable_pageToken()
Definition: classroom_service.h:5577
string * mutable_enrollmentCode()
Definition: classroom_service.h:3874
void clear_fields()
Definition: classroom_service.h:305
int32 get_page_size() const
Definition: classroom_service.h:961
void set_quota_user(const string &value)
Definition: classroom_service.h:484
util::Status ExecuteAndParseResponse(GuardianInvitation *data)
Definition: classroom_service.h:6396
Definition: list_students_response.h:52
util::Status ExecuteAndParseResponse(ListCoursesResponse *data)
Definition: classroom_service.h:1082
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:2155
void set_page_token(const string &value)
Definition: classroom_service.h:4955
void clear_page_token()
Definition: classroom_service.h:4139
void clear_course_id()
Definition: classroom_service.h:5471
util::Status ExecuteAndParseResponse(ListCourseWorkResponse *data)
Definition: classroom_service.h:2745
util::Status ExecuteAndParseResponse(Guardian *data)
Definition: classroom_service.h:6553
void set_fields(const string &value)
Definition: classroom_service.h:335
void set_page_size(int32 value)
Definition: classroom_service.h:6218
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:1307
int32 get_page_size() const
Definition: classroom_service.h:6711
void set_invited_email_address(const string &value)
Definition: classroom_service.h:6690
Definition: empty.h:57
void set_alt(const string &value)
Definition: classroom_service.h:256
void set_page_token(const string &value)
Definition: classroom_service.h:1542
util::Status ExecuteAndParseResponse(Student *data)
Definition: classroom_service.h:4087
const client::JsonCppArray< string > & get_announcement_states() const
Definition: classroom_service.h:2023
Definition: classroom_service.h:642
int32 get_page_size() const
Definition: classroom_service.h:5615
void set_pretty_print(bool value)
Definition: classroom_service.h:444
void set_key(const string &value)
Definition: classroom_service.h:376
void set_update_mask(const string &value)
Definition: classroom_service.h:5127
void set_invited_email_address(const string &value)
Definition: classroom_service.h:6158
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2366
void set_student_id(const string &value)
Definition: classroom_service.h:894
string * mutable_updateMask()
Definition: classroom_service.h:2227
const UserProfilesResource & get_user_profiles() const
Definition: classroom_service.h:8483
util::Status ExecuteAndParseResponse(ListStudentsResponse *data)
Definition: classroom_service.h:4243
util::Status ExecuteAndParseResponse(UserProfile *data)
Definition: classroom_service.h:5876
int32 get_page_size() const
Definition: classroom_service.h:4196
void set_enrollment_code(const string &value)
Definition: classroom_service.h:3888
const GuardianInvitationsResource & get_guardian_invitations() const
Definition: classroom_service.h:8276
const string & get_xgafv() const
Definition: classroom_service.h:159
void clear_invited_email_address()
Definition: classroom_service.h:6657
void clear_page_token()
Definition: classroom_service.h:4539
Definition: list_guardian_invitations_response.h:52
const StudentSubmissionsResource & get_student_submissions() const
Definition: classroom_service.h:7319
Definition: course.h:53
Definition: classroom_service.h:5380
void clear_enrollment_code()
Definition: classroom_service.h:3855
Definition: classroom_service.h:5311
util::Status ExecuteAndParseResponse(ListAnnouncementsResponse *data)
Definition: classroom_service.h:2068
Definition: classroom_service.h:1118
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:742
const string & get_teacher_id() const
Definition: classroom_service.h:991
const string & get_oauth_token() const
Definition: classroom_service.h:397
void clear_page_token()
Definition: classroom_service.h:2612
Definition: classroom_service.h:5191
const CourseWorkResource & get_course_work() const
Definition: classroom_service.h:7457
const TeachersResource & get_teachers() const
Definition: classroom_service.h:7717
void clear_student_id()
Definition: classroom_service.h:858
const AliasesResource & get_aliases() const
Definition: classroom_service.h:6927
const RegistrationsResource & get_registrations() const
Definition: classroom_service.h:8473
string * mutable_pageToken()
Definition: classroom_service.h:6629
Definition: classroom_service.h:5449
string * mutable_pageToken()
Definition: classroom_service.h:4938
Definition: classroom_service.h:5824
const string & get_update_mask() const
Definition: classroom_service.h:2219
Definition: modify_attachments_request.h:51
void clear_course_states()
Definition: classroom_service.h:1026
void set_page_token(const string &value)
Definition: classroom_service.h:2648
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2515
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:4005
void clear_page_size()
Definition: classroom_service.h:1552
void clear_page_size()
Definition: classroom_service.h:2658
string * mutable_orderBy()
Definition: classroom_service.h:2586
const InvitationsResource & get_invitations() const
Definition: classroom_service.h:8463
void set_page_token(const string &value)
Definition: classroom_service.h:1971
const CoursesResource & get_courses() const
Definition: classroom_service.h:8453
const string & get_page_token() const
Definition: classroom_service.h:915
string * mutable_uploadProtocol()
Definition: classroom_service.h:554
void clear_page_token()
Definition: classroom_service.h:904
string * mutable_studentId()
Definition: classroom_service.h:877
void set_upload_type(const string &value)
Definition: classroom_service.h:525
const TopicsResource & get_topics() const
Definition: classroom_service.h:7852
void clear_course_work_states()
Definition: classroom_service.h:2689
void clear_update_mask()
Definition: classroom_service.h:1146
util::Status ExecuteAndParseResponse(Registration *data)
Definition: classroom_service.h:5728
Definition: classroom_service.h:8493
void set_page_token(const string &value)
Definition: classroom_service.h:4175
const string & get_callback() const
Definition: classroom_service.h:277
const GuardiansResource & get_guardians() const
Definition: classroom_service.h:8400
const string & get_page_token() const
Definition: classroom_service.h:4150
Definition: classroom_service.h:109
void set_upload_protocol(const string &value)
Definition: classroom_service.h:565
string *mutable_ $Xgafv()
Definition: classroom_service.h:166
Definition: list_invitations_response.h:52
util::Status ExecuteAndParseResponse(Student *data)
Definition: classroom_service.h:3925
const string & get_update_mask() const
Definition: classroom_service.h:5096
void set_page_token(const string &value)
Definition: classroom_service.h:4575
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:3799
const string & get_update_mask() const
Definition: classroom_service.h:6331
util::Status ExecuteAndParseResponse(ListCourseAliasesResponse *data)
Definition: classroom_service.h:1611
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:813
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:1766
string * mutable_pageToken()
Definition: classroom_service.h:1525
void clear_callback()
Definition: classroom_service.h:266
const string & get_order_by() const
Definition: classroom_service.h:1901
const string & get_order_by() const
Definition: classroom_service.h:2578
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2832
void clear_page_size()
Definition: classroom_service.h:1981
Definition: student.h:53
void clear_page_token()
Definition: classroom_service.h:4919
void clear_page_size()
Definition: classroom_service.h:950
Definition: list_announcements_response.h:52
util::Status ExecuteAndParseResponse(Announcement *data)
Definition: classroom_service.h:1840
void set_course_id(const string &value)
Definition: classroom_service.h:5503
void clear_upload_type()
Definition: classroom_service.h:494
client::JsonCppArray< string > * mutable_announcementStates()
Definition: classroom_service.h:2031
void set_order_by(const string &value)
Definition: classroom_service.h:2602
string * mutable_updateMask()
Definition: classroom_service.h:1165
void set_user_id(const string &value)
Definition: classroom_service.h:5548
util::Status ExecuteAndParseResponse(Invitation *data)
Definition: classroom_service.h:5426
const StudentsResource & get_students() const
Definition: classroom_service.h:7587
const string & get_invited_email_address() const
Definition: classroom_service.h:6137
void set_page_size(int32 value)
Definition: classroom_service.h:972
void set_update_mask(const string &value)
Definition: classroom_service.h:3526
Definition: classroom_service.h:836
Definition: classroom_service.h:694
bool get_pretty_print() const
Definition: classroom_service.h:437
Definition: list_course_work_response.h:52
util::Status ExecuteAndParseResponse(CourseWork *data)
Definition: classroom_service.h:2973
string * mutable_userId()
Definition: classroom_service.h:5531
void clear_key()
Definition: classroom_service.h:345
const string & get_page_token() const
Definition: classroom_service.h:1946
Definition: modify_course_work_assignees_request.h:52
const string & get_user_id() const
Definition: classroom_service.h:5524
util::Status ExecuteAndParseResponse(ListStudentSubmissionsResponse *data)
Definition: classroom_service.h:3338
util::Status ExecuteAndParseResponse(StudentSubmission *data)
Definition: classroom_service.h:3059
const string & get_page_token() const
Definition: classroom_service.h:6621
void set_page_size(int32 value)
Definition: classroom_service.h:1574
string * mutable_fields()
Definition: classroom_service.h:323
~InvitationsResource()
Definition: classroom_service.h:7986
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:5357
string * mutable_accessToken()
Definition: classroom_service.h:206
Definition: invitation.h:50
void set_update_mask(const string &value)
Definition: classroom_service.h:1196
void clear_order_by()
Definition: classroom_service.h:2567
string * mutable_pageToken()
Definition: classroom_service.h:2631
void clear_update_mask()
Definition: classroom_service.h:5085
util::Status ExecuteAndParseResponse(Invitation *data)
Definition: classroom_service.h:5289
Definition: list_courses_response.h:52
Definition: announcement.h:53
const string & get_access_token() const
Definition: classroom_service.h:198
void clear_page_token()
Definition: classroom_service.h:1506
const client::JsonCppArray< string > & get_course_work_states() const
Definition: classroom_service.h:2700
string * mutable_uploadType()
Definition: classroom_service.h:513
Definition: list_topic_response.h:52
void set_order_by(const string &value)
Definition: classroom_service.h:1925
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:4405
const string & get_upload_type() const
Definition: classroom_service.h:505
Definition: topic.h:50
Definition: list_student_submissions_response.h:52
Definition: announcement.cc:43
Definition: list_teachers_response.h:52
const string & get_alt() const
Definition: classroom_service.h:238
int32 get_page_size() const
Definition: classroom_service.h:1992
string * mutable_callback()
Definition: classroom_service.h:284
void set_page_size(int32 value)
Definition: classroom_service.h:4206
util::Status ExecuteAndParseResponse(Topic *data)
Definition: classroom_service.h:5164
string * mutable_quotaUser()
Definition: classroom_service.h:471
void clear_xgafv()
Definition: classroom_service.h:148
string * mutable_teacherId()
Definition: classroom_service.h:999
const string & get_page_token() const
Definition: classroom_service.h:4550
util::Status ExecuteAndParseResponse(ListTopicResponse *data)
Definition: classroom_service.h:5024
void set_teacher_id(const string &value)
Definition: classroom_service.h:1016
void clear_page_token()
Definition: classroom_service.h:5558
void clear_teacher_id()
Definition: classroom_service.h:980
void set_page_token(const string &value)
Definition: classroom_service.h:3243
Definition: user_profile.h:53
util::Status ExecuteAndParseResponse(GuardianInvitation *data)
Definition: classroom_service.h:6022
const string & get_invited_email_address() const
Definition: classroom_service.h:6668
const string & get_page_token() const
Definition: classroom_service.h:4930
int32 get_page_size() const
Definition: classroom_service.h:2669
const string & get_update_mask() const
Definition: classroom_service.h:2896
string * mutable_pageToken()
Definition: classroom_service.h:923
string * mutable_key()
Definition: classroom_service.h:363
string * mutable_pageToken()
Definition: classroom_service.h:1954
void clear_page_size()
Definition: classroom_service.h:4585
const string & get_fields() const
Definition: classroom_service.h:316
const string & get_page_token() const
Definition: classroom_service.h:6090
const client::JsonCppArray< string > & get_states() const
Definition: classroom_service.h:3294
void set_user_id(const string &value)
Definition: classroom_service.h:3155
const client::JsonCppArray< string > & get_states() const
Definition: classroom_service.h:6179
void clear_update_mask()
Definition: classroom_service.h:2885
void set_oauth_token(const string &value)
Definition: classroom_service.h:416
Definition: classroom_service.h:6790
const string & get_key() const
Definition: classroom_service.h:356
Definition: guardian_invitation.h:51
int32 get_page_size() const
Definition: classroom_service.h:4976
util::Status ExecuteAndParseResponse(Topic *data)
Definition: classroom_service.h:4869
Definition: turn_in_student_submission_request.h:49
util::Status ExecuteAndParseResponse(StudentSubmission *data)
Definition: classroom_service.h:3563
~UserProfilesResource()
Definition: classroom_service.h:8141
Definition: return_student_submission_request.h:49
void clear_upload_protocol()
Definition: classroom_service.h:535
void set_page_token(const string &value)
Definition: classroom_service.h:6115
string * mutable_pageToken()
Definition: classroom_service.h:4158
util::Status ExecuteAndParseResponse(Course *data)
Definition: classroom_service.h:672
util::Status ExecuteAndParseResponse(Empty *data)
Definition: classroom_service.h:5237
void set_update_mask(const string &value)
Definition: classroom_service.h:6359
void set_page_token(const string &value)
Definition: classroom_service.h:5594
~RegistrationsResource()
Definition: classroom_service.h:8086
const AnnouncementsResource & get_announcements() const
Definition: classroom_service.h:7089
void clear_user_id()
Definition: classroom_service.h:5513
const string & get_enrollment_code() const
Definition: classroom_service.h:3866
Definition: guardian.h:53
void clear_page_size()
Definition: classroom_service.h:4185
client::JsonCppArray< string > * mutable_states()
Definition: classroom_service.h:6186
util::Status ExecuteAndParseResponse(Teacher *data)
Definition: classroom_service.h:4487
const string & get_update_mask() const
Definition: classroom_service.h:1157
util::Status ExecuteAndParseResponse(StudentSubmission *data)
Definition: classroom_service.h:3431
Definition: course_alias.h:64
util::Status ExecuteAndParseResponse(Teacher *data)
Definition: classroom_service.h:4327
string * mutable_updateMask()
Definition: classroom_service.h:5104
Definition: classroom_service.h:5259
Definition: list_guardians_response.h:52
void clear_page_token()
Definition: classroom_service.h:1935
void clear_announcement_states()
Definition: classroom_service.h:2012
void clear_pretty_print()
Definition: classroom_service.h:426
util::Status ExecuteAndParseResponse(GuardianInvitation *data)
Definition: classroom_service.h:5949
void set_access_token(const string &value)
Definition: classroom_service.h:217
void set_update_mask(const string &value)
Definition: classroom_service.h:2253
Definition: reclaim_student_submission_request.h:49
int32 get_page_size() const
Definition: classroom_service.h:1563