{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/693","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/693/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/693/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/693","id":59406976,"number":693,"title":"Generate a clone() method in model classes","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.14.0","name":"Milestone-Version1.14.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-01T17:18:29Z","updated_at":"2015-03-01T17:18:30Z","closed_at":"2015-03-01T17:18:30Z","body":"```\nExternal references, such as a standards document, or specification?\n\nhttps://google-api-client-libraries.appspot.com/documentation/calendar/v3/java/l\natest/com/google/api/services/calendar/model/Event.html\n\nJava environments (e.g. Java 6, Android 2.3, App Engine, or All)?\n\nAll\n\nPlease describe the feature requested.\n\nFor example:\n\n    Event event = new Event().clone();\n\nfails to compile with the error message \"Type mismatch: cannot convert from \nGenericJson to Event\".  But if you cast it to Event it compiles and runs \nwithout any problem:\n\n    Event event = (Event) new Event().clone();\n\nWe should just generate the clone() method in the Event class (and every other \nmodel class) as follows:\n\n  @Override\n  public Event clone() {\n    return (Event) super.clone();\n  }\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 20 Dec 2012 at 11:26"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76615663","html_url":"https://github.com/chrsmith/google-api-java-client/issues/693#issuecomment-76615663","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/693","id":76615663,"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-01T17:18:30Z","updated_at":"2015-03-01T17:18:30Z","body":"\n\nOriginal comment by `pele...@google.com` on 17 Jan 2013 at 9:38\n* Changed state: **Fixed**"}}