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

Commit

Permalink
update sample service apis
Browse files Browse the repository at this point in the history
  • Loading branch information
aiuto committed Jun 4, 2015
1 parent f45965d commit 7edc848
Show file tree
Hide file tree
Showing 406 changed files with 24,853 additions and 17,193 deletions.
14 changes: 7 additions & 7 deletions service_apis/calendar/descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
"canonicalName": null,
"files": [
{
"downloadUrl": "/downloads/calendar/v3/121/cpp/0.1.2/google-calendar-v3-rev121-cpp-0.1.2-doc.zip",
"path": "google-calendar-v3-rev121-cpp-0.1.2-doc.zip",
"downloadUrl": "/downloads/calendar/v3/127/cpp/0.1.3/google-calendar-v3-rev127-cpp-0.1.3-doc.zip",
"path": "google-calendar-v3-rev127-cpp-0.1.3-doc.zip",
"type": "documentation",
"timestamp": "2015-03-19 05:59"
"timestamp": "2015-06-03 00:03"
},
{
"downloadUrl": "/downloads/calendar/v3/121/cpp/0.1.2/google-calendar-v3-rev121-cpp-0.1.2-src.zip",
"downloadUrl": "/downloads/calendar/v3/127/cpp/0.1.3/google-calendar-v3-rev127-cpp-0.1.3-src.zip",
"path": "",
"type": "source",
"timestamp": "2015-03-19 05:57"
"timestamp": "2015-06-03 00:03"
}
],
"revision": 121,
"revision": 127,
"language": "cpp",
"language_version": "0.1.2"
"language_version": "0.1.3"
}
Binary file not shown.
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/acl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
Expand Down
25 changes: 9 additions & 16 deletions service_apis/calendar/google/calendar_api/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 121
// Revision: 127
// Generated by:
// Tool: google-apis-code-generator 1.5.0
// C++: 0.1.2
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.3
#ifndef GOOGLE_CALENDAR_API_ACL_H_
#define GOOGLE_CALENDAR_API_ACL_H_

Expand All @@ -51,7 +51,6 @@ using namespace googleapis;
*/
class Acl : public client::JsonCppData {
public:

/**
* Creates a new default instance.
*
Expand Down Expand Up @@ -144,10 +143,7 @@ class Acl : public client::JsonCppData {
/**
* Get a reference to the value of the '<code>items</code>' attribute.
*/
const client::JsonCppArray<AclRule > get_items() const {
const Json::Value& storage = Storage("items");
return client::JsonValueToCppValueHelper<client::JsonCppArray<AclRule > >(storage);
}
const client::JsonCppArray<AclRule > get_items() const;

/**
* Gets a reference to a mutable value of the '<code>items</code>' property.
Expand All @@ -156,10 +152,7 @@ class Acl : public client::JsonCppData {
*
* @return The result can be modified to change the attribute value.
*/
client::JsonCppArray<AclRule > mutable_items() {
Json::Value* storage = MutableStorage("items");
return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<AclRule > >(storage);
}
client::JsonCppArray<AclRule > mutable_items();

/**
* Determine if the '<code>kind</code>' attribute was set.
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/acl_rule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
Expand Down
16 changes: 7 additions & 9 deletions service_apis/calendar/google/calendar_api/acl_rule.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 121
// Revision: 127
// Generated by:
// Tool: google-apis-code-generator 1.5.0
// C++: 0.1.2
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.3
#ifndef GOOGLE_CALENDAR_API_ACL_RULE_H_
#define GOOGLE_CALENDAR_API_ACL_RULE_H_

Expand All @@ -49,15 +49,13 @@ using namespace googleapis;
*/
class AclRule : public client::JsonCppData {
public:

/**
* The scope of the rule.
*
* @ingroup DataObject
*/
class AclRuleScope : public client::JsonCppData {
public:

/**
* Creates a new default instance.
*
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
Expand Down
15 changes: 7 additions & 8 deletions service_apis/calendar/google/calendar_api/calendar.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 121
// Revision: 127
// Generated by:
// Tool: google-apis-code-generator 1.5.0
// C++: 0.1.2
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.3
#ifndef GOOGLE_CALENDAR_API_CALENDAR_H_
#define GOOGLE_CALENDAR_API_CALENDAR_H_

Expand All @@ -49,7 +49,6 @@ using namespace googleapis;
*/
class Calendar : public client::JsonCppData {
public:

/**
* Creates a new default instance.
*
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

#ifndef GOOGLE_CALENDAR_API_CALENDAR_API_H_
#define GOOGLE_CALENDAR_API_CALENDAR_API_H_
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
Expand Down
25 changes: 9 additions & 16 deletions service_apis/calendar/google/calendar_api/calendar_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 121
// Revision: 127
// Generated by:
// Tool: google-apis-code-generator 1.5.0
// C++: 0.1.2
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.3
#ifndef GOOGLE_CALENDAR_API_CALENDAR_LIST_H_
#define GOOGLE_CALENDAR_API_CALENDAR_LIST_H_

Expand All @@ -51,7 +51,6 @@ using namespace googleapis;
*/
class CalendarList : public client::JsonCppData {
public:

/**
* Creates a new default instance.
*
Expand Down Expand Up @@ -144,10 +143,7 @@ class CalendarList : public client::JsonCppData {
/**
* Get a reference to the value of the '<code>items</code>' attribute.
*/
const client::JsonCppArray<CalendarListEntry > get_items() const {
const Json::Value& storage = Storage("items");
return client::JsonValueToCppValueHelper<client::JsonCppArray<CalendarListEntry > >(storage);
}
const client::JsonCppArray<CalendarListEntry > get_items() const;

/**
* Gets a reference to a mutable value of the '<code>items</code>' property.
Expand All @@ -156,10 +152,7 @@ class CalendarList : public client::JsonCppData {
*
* @return The result can be modified to change the attribute value.
*/
client::JsonCppArray<CalendarListEntry > mutable_items() {
Json::Value* storage = MutableStorage("items");
return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<CalendarListEntry > >(storage);
}
client::JsonCppArray<CalendarListEntry > mutable_items();

/**
* Determine if the '<code>kind</code>' attribute was set.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// License for the specific language governing permissions and limitations under
// the License.

// This code was generated by google-apis-code-generator 1.5.0
// Build date: 2015-01-14 17:53:03 UTC
// on: 2015-03-19, 15:57:48 UTC
// C++ generator version:
// This code was generated by google-apis-code-generator 1.5.1
// Build date: 2015-03-26 20:30:19 UTC
// on: 2015-06-03, 10:03:42 UTC
// C++ generator version: 0.1.3

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
Expand Down
Loading

0 comments on commit 7edc848

Please sign in to comment.