Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Refresh calendar api.
Browse files Browse the repository at this point in the history
But now calendar_sample fails with:
SAMPLE:  Add Calendar Event
F0516 13:15:06.758896 14427 client_service.cc:257] Either override AppendVariable or PrepareHttpRequest
*** Check failure stack trace: ***
Aborted (core dumped)
  • Loading branch information
SurferJeffAtGoogle committed May 16, 2017
1 parent 532010c commit 32df00d
Show file tree
Hide file tree
Showing 46 changed files with 233 additions and 233 deletions.
2 changes: 1 addition & 1 deletion service_apis/calendar/google/calendar_api/acl.cc
Expand Up @@ -64,7 +64,7 @@ const client::JsonCppArray<AclRule > Acl::get_items() const {
return client::JsonValueToCppValueHelper<client::JsonCppArray<AclRule > >(storage);
}

client::JsonCppArray<AclRule > Acl::mutable_items(){
client::JsonCppArray<AclRule > Acl::mutable_items() {
Json::Value* storage = MutableStorage("items");
return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<AclRule > >(storage);
}
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/acl.h
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170402
// Revision: 20170507
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_ACL_H_
#define GOOGLE_CALENDAR_API_ACL_H_

Expand Down Expand Up @@ -77,8 +77,8 @@ class Acl : public client::JsonCppData {
*
* @return <code>google_calendar_api::Acl</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::Acl");
const char* GetTypeName() const {
return "google_calendar_api::Acl";
}

/**
Expand Down
12 changes: 6 additions & 6 deletions service_apis/calendar/google/calendar_api/acl_rule.h
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170402
// Revision: 20170507
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_ACL_RULE_H_
#define GOOGLE_CALENDAR_API_ACL_RULE_H_

Expand Down Expand Up @@ -82,8 +82,8 @@ class AclRule : public client::JsonCppData {
*
* @return <code>google_calendar_api::AclRuleScope</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::AclRuleScope");
const char* GetTypeName() const {
return "google_calendar_api::AclRuleScope";
}

/**
Expand Down Expand Up @@ -207,8 +207,8 @@ class AclRule : public client::JsonCppData {
*
* @return <code>google_calendar_api::AclRule</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::AclRule");
const char* GetTypeName() const {
return "google_calendar_api::AclRule";
}

/**
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar.h
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170402
// Revision: 20170507
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_H_
#define GOOGLE_CALENDAR_API_CALENDAR_H_

Expand Down Expand Up @@ -75,8 +75,8 @@ class Calendar : public client::JsonCppData {
*
* @return <code>google_calendar_api::Calendar</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::Calendar");
const char* GetTypeName() const {
return "google_calendar_api::Calendar";
}

/**
Expand Down
2 changes: 1 addition & 1 deletion service_apis/calendar/google/calendar_api/calendar_list.cc
Expand Up @@ -64,7 +64,7 @@ const client::JsonCppArray<CalendarListEntry > CalendarList::get_items() const {
return client::JsonValueToCppValueHelper<client::JsonCppArray<CalendarListEntry > >(storage);
}

client::JsonCppArray<CalendarListEntry > CalendarList::mutable_items(){
client::JsonCppArray<CalendarListEntry > CalendarList::mutable_items() {
Json::Value* storage = MutableStorage("items");
return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<CalendarListEntry > >(storage);
}
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar_list.h
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170402
// Revision: 20170507
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_LIST_H_
#define GOOGLE_CALENDAR_API_CALENDAR_LIST_H_

Expand Down Expand Up @@ -77,8 +77,8 @@ class CalendarList : public client::JsonCppData {
*
* @return <code>google_calendar_api::CalendarList</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarList");
const char* GetTypeName() const {
return "google_calendar_api::CalendarList";
}

/**
Expand Down
Expand Up @@ -66,7 +66,7 @@ const client::JsonCppArray<CalendarNotification > CalendarListEntry::CalendarLis
return client::JsonValueToCppValueHelper<client::JsonCppArray<CalendarNotification > >(storage);
}

client::JsonCppArray<CalendarNotification > CalendarListEntry::CalendarListEntryNotificationSettings::mutable_notifications(){
client::JsonCppArray<CalendarNotification > CalendarListEntry::CalendarListEntryNotificationSettings::mutable_notifications() {
Json::Value* storage = MutableStorage("notifications");
return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<CalendarNotification > >(storage);
}
Expand Down Expand Up @@ -96,7 +96,7 @@ const client::JsonCppArray<EventReminder > CalendarListEntry::get_default_remind
return client::JsonValueToCppValueHelper<client::JsonCppArray<EventReminder > >(storage);
}

client::JsonCppArray<EventReminder > CalendarListEntry::mutable_defaultReminders(){
client::JsonCppArray<EventReminder > CalendarListEntry::mutable_defaultReminders() {
Json::Value* storage = MutableStorage("defaultReminders");
return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<EventReminder > >(storage);
}
Expand Down
12 changes: 6 additions & 6 deletions service_apis/calendar/google/calendar_api/calendar_list_entry.h
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170402
// Revision: 20170507
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_LIST_ENTRY_H_
#define GOOGLE_CALENDAR_API_CALENDAR_LIST_ENTRY_H_

Expand Down Expand Up @@ -87,8 +87,8 @@ class CalendarListEntry : public client::JsonCppData {
* @return
* <code>google_calendar_api::CalendarListEntryNotificationSettings</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarListEntryNotificationSettings");
const char* GetTypeName() const {
return "google_calendar_api::CalendarListEntryNotificationSettings";
}

/**
Expand Down Expand Up @@ -158,8 +158,8 @@ class CalendarListEntry : public client::JsonCppData {
*
* @return <code>google_calendar_api::CalendarListEntry</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarListEntry");
const char* GetTypeName() const {
return "google_calendar_api::CalendarListEntry";
}

/**
Expand Down
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170402
// Revision: 20170507
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_NOTIFICATION_H_
#define GOOGLE_CALENDAR_API_CALENDAR_NOTIFICATION_H_

Expand Down Expand Up @@ -75,8 +75,8 @@ class CalendarNotification : public client::JsonCppData {
*
* @return <code>google_calendar_api::CalendarNotification</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarNotification");
const char* GetTypeName() const {
return "google_calendar_api::CalendarNotification";
}

/**
Expand Down

0 comments on commit 32df00d

Please sign in to comment.