{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/226","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/226/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/226/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/226","id":59376795,"number":226,"title":"Exception on PersonEmails serialization","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Component-Google-APIs","name":"Component-Google-APIs","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.5.0","name":"Milestone-Version1.5.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-01T04:02:49Z","updated_at":"2015-03-01T04:02:50Z","closed_at":"2015-03-01T04:02:49Z","body":"```\nVersion of google-api-java-client: 1.4.1-beta?\nVersion of  google-api-services-buzz-v1: 1.0.0-beta\n\n\nJava environment: App Engine 1.4.3?\n\n\nDescribe the problem.\nIf I do a get person using the new version of the java api for Buzz in GAE, I \nget an exception during serialization (see below). The obvious problem is that \nthe type for the primary variable in com.google.api.buzz.v1.model.PersonEmails \nis of type String but the Google Buzz API returns a boolean.\n\n\"primary: expected type Boolean or boolean but got class java.lang.String for \nfield public java.lang.String com.google.api.buzz.v1.model.PersonEmails.primary\"\n\n\nHow would you expect it to be fixed?\nMake \"com.google.api.buzz.v1.model.PersonEmails.primary\" a Boolean.\n\n\n```\n\nOriginal issue reported on code.google.com by `ullisenm...@gmail.com` on 4 Jun 2011 at 7:01"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76571722","html_url":"https://github.com/chrsmith/google-api-java-client/issues/226#issuecomment-76571722","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/226","id":76571722,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T04:02:50Z","updated_at":"2015-03-01T04:02:50Z","body":"```\n ullisenm...@gmail.com:\n\nI believe the problem is fixed. I did a first push of a buzz library with the \nfix to our maven repo. Grab the new library here:\n\nhttp://mavenrepo.google-api-java-client.googlecode.com/hg/com/google/api/service\ns/buzz/google-api-services-buzz-v1/1.1.0-beta/google-api-services-buzz-v1-1.1.0-\nbeta.jar\n\nor try this in your pom.xml file.\n\n  <repositories>\n    <repository>\n      <id>google-api-services</id>\n      <url>http://mavenrepo.google-api-java-client.googlecode.com/hg</url>\n      <snapshots>\n        <enabled>true</enabled>\n      </snapshots>\n    </repository>\n  </repositories>\n...\n\n  <dependencies>\n    <dependency>\n      <groupId>com.google.api.services.buzz</groupId>\n      <artifactId>google-api-services-buzz-v1</artifactId>\n      <version>1.1.0-beta</version>\n    </dependency>\n\n```\n\nOriginal comment by `ai...@google.com` on 16 Jun 2011 at 8:03\n* Changed state: **Started**"}}