Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(136)

Unified Diff: src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java

Issue 5141050: Provisioning patch Base URL: http://gdata-java-client-ext.googlecode.com/svn/trunk/
Patch Set: Created 14 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java
===================================================================
--- src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java (revision 0)
+++ src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java (revision 0)
@@ -0,0 +1,41 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+
+package com.google.api.data.provisioning.v2;
+
+import com.google.api.client.xml.XmlNamespaceDictionary;
+
+
+import java.util.Map;
+/**
+ * @author shraddhag@google.com (Shraddha Gupta)
+ *
+ */
+public class ProvisioningApiInfo {
+
+ /** Version name. */
+ public static final String VERSION = "2";
+
+ /** The authentication token type used for Client Login. */
+ public static final String AUTH_TOKEN_TYPE = "apps";
+
+ /** The authentication scope for OAuth */
+ public static final String AUTH_SCOPE = "https://apps-apis-google.com/a/feeds";
+
+ /**
+ * XML namespace dictionary.
+ */
+ public static final XmlNamespaceDictionary NAMESPACE_DICTIONARY = new XmlNamespaceDictionary();
+ static {
+ Map<String, String> map = NAMESPACE_DICTIONARY.namespaceAliasToUriMap;
+ map.put("apps", "http://schemas.google.com/apps/2006");
+ map.put("atom", "http://www.w3.org/2005/Atom");
+ map.put("gd", "http://schemas.google.com/g/2005");
+ }
+
+ /**
+ * Private constructor for utility class.
+ */
+ private ProvisioningApiInfo() {
+ }
+}
+

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b