{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/app/pulls/comments/93215715","pull_request_review_id":13737118,"id":93215715,"diff_hunk":"@@ -0,0 +1,581 @@\n+<?php\n+/**\n+ * LocalDateTime\n+ *\n+ * PHP version 5\n+ *\n+ * @category Class\n+ * @package  Swagger\\Client\n+ * @author   http://github.com/swagger-api/swagger-codegen\n+ * @license  http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2\n+ * @link     https://github.com/swagger-api/swagger-codegen\n+ */\n+\n+/**\n+ * discussion\n+ *\n+ * No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n+ *\n+ * OpenAPI spec version: 0.1-SNAPSHOT\n+ * \n+ * Generated by: https://github.com/swagger-api/swagger-codegen.git\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+/**\n+ * NOTE: This class is auto generated by the swagger code generator program.\n+ * https://github.com/swagger-api/swagger-codegen\n+ * Do not edit the class manually.\n+ */\n+\n+namespace Swagger\\Client\\Discussion\\Models;\n+\n+use \\ArrayAccess;\n+\n+/**\n+ * LocalDateTime Class Doc Comment\n+ *\n+ * @category    Class */\n+/** \n+ * @package     Swagger\\Client\n+ * @author      http://github.com/swagger-api/swagger-codegen\n+ * @license     http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2\n+ * @link        https://github.com/swagger-api/swagger-codegen\n+ */\n+class LocalDateTime implements ArrayAccess\n+{\n+    /**\n+      * The original name of the model.\n+      * @var string\n+      */\n+    protected static $swaggerModelName = 'LocalDateTime';\n+\n+    /**\n+      * Array of property to type mappings. Used for (de)serialization\n+      * @var string[]\n+      */\n+    protected static $swaggerTypes = array(\n+        'hour' => 'int',\n+        'minute' => 'int',\n+        'second' => 'int',\n+        'nano' => 'int',\n+        'day_of_year' => 'int',\n+        'day_of_week' => 'string',\n+        'month' => 'string',\n+        'day_of_month' => 'int',\n+        'year' => 'int',\n+        'month_value' => 'int',\n+        'chronology' => '\\Swagger\\Client\\Discussion\\Models\\Chronology'\n+    );\n+\n+    public static function swaggerTypes()\n+    {\n+        return self::$swaggerTypes;\n+    }\n+\n+    /**\n+     * Array of attributes where the key is the local name, and the value is the original name\n+     * @var string[]\n+     */\n+    protected static $attributeMap = array(\n+        'hour' => 'hour',\n+        'minute' => 'minute',\n+        'second' => 'second',\n+        'nano' => 'nano',\n+        'day_of_year' => 'dayOfYear',\n+        'day_of_week' => 'dayOfWeek',\n+        'month' => 'month',\n+        'day_of_month' => 'dayOfMonth',\n+        'year' => 'year',\n+        'month_value' => 'monthValue',\n+        'chronology' => 'chronology'\n+    );\n+\n+    public static function attributeMap()\n+    {\n+        return self::$attributeMap;\n+    }\n+\n+    /**\n+     * Array of attributes to setter functions (for deserialization of responses)\n+     * @var string[]\n+     */\n+    protected static $setters = array(\n+        'hour' => 'setHour',\n+        'minute' => 'setMinute',\n+        'second' => 'setSecond',\n+        'nano' => 'setNano',\n+        'day_of_year' => 'setDayOfYear',\n+        'day_of_week' => 'setDayOfWeek',\n+        'month' => 'setMonth',\n+        'day_of_month' => 'setDayOfMonth',\n+        'year' => 'setYear',\n+        'month_value' => 'setMonthValue',\n+        'chronology' => 'setChronology'\n+    );\n+\n+    public static function setters()\n+    {\n+        return self::$setters;\n+    }\n+\n+    /**\n+     * Array of attributes to getter functions (for serialization of requests)\n+     * @var string[]\n+     */\n+    protected static $getters = array(\n+        'hour' => 'getHour',\n+        'minute' => 'getMinute',\n+        'second' => 'getSecond',\n+        'nano' => 'getNano',\n+        'day_of_year' => 'getDayOfYear',\n+        'day_of_week' => 'getDayOfWeek',\n+        'month' => 'getMonth',\n+        'day_of_month' => 'getDayOfMonth',\n+        'year' => 'getYear',\n+        'month_value' => 'getMonthValue',\n+        'chronology' => 'getChronology'\n+    );\n+\n+    public static function getters()\n+    {\n+        return self::$getters;\n+    }\n+\n+    const DAY_OF_WEEK_MONDAY = 'MONDAY';\n+    const DAY_OF_WEEK_TUESDAY = 'TUESDAY';\n+    const DAY_OF_WEEK_WEDNESDAY = 'WEDNESDAY';\n+    const DAY_OF_WEEK_THURSDAY = 'THURSDAY';\n+    const DAY_OF_WEEK_FRIDAY = 'FRIDAY';\n+    const DAY_OF_WEEK_SATURDAY = 'SATURDAY';\n+    const DAY_OF_WEEK_SUNDAY = 'SUNDAY';\n+    const MONTH_JANUARY = 'JANUARY';\n+    const MONTH_FEBRUARY = 'FEBRUARY';\n+    const MONTH_MARCH = 'MARCH';","path":"lib/Swagger/src/Discussion/Models/LocalDateTime.php","position":165,"original_position":165,"commit_id":"6b44b05a0aef0cedf8ac446b9c3a83724a2ddf34","original_commit_id":"6b44b05a0aef0cedf8ac446b9c3a83724a2ddf34","user":{"login":"WikiaTech","id":13279985,"avatar_url":"https://avatars.githubusercontent.com/u/13279985?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiaTech","html_url":"https://github.com/WikiaTech","followers_url":"https://api.github.com/users/WikiaTech/followers","following_url":"https://api.github.com/users/WikiaTech/following{/other_user}","gists_url":"https://api.github.com/users/WikiaTech/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiaTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiaTech/subscriptions","organizations_url":"https://api.github.com/users/WikiaTech/orgs","repos_url":"https://api.github.com/users/WikiaTech/repos","events_url":"https://api.github.com/users/WikiaTech/events{/privacy}","received_events_url":"https://api.github.com/users/WikiaTech/received_events","type":"User","site_admin":false},"body":"![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) Define a constant instead of duplicating this literal \"MARCH\" 4 times. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1192)\n","created_at":"2016-12-20T11:06:09Z","updated_at":"2016-12-20T11:06:09Z","html_url":"https://github.com/Wikia/app/pull/12103#discussion_r93215715","pull_request_url":"https://api.github.com/repos/Wikia/app/pulls/12103","_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments/93215715"},"html":{"href":"https://github.com/Wikia/app/pull/12103#discussion_r93215715"},"pull_request":{"href":"https://api.github.com/repos/Wikia/app/pulls/12103"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/12103","id":97311533,"html_url":"https://github.com/Wikia/app/pull/12103","diff_url":"https://github.com/Wikia/app/pull/12103.diff","patch_url":"https://github.com/Wikia/app/pull/12103.patch","issue_url":"https://api.github.com/repos/Wikia/app/issues/12103","number":12103,"state":"open","locked":false,"title":"SOC-2813 regenerate Discussion Swagger client and use it in DeadWikis and Close","user":{"login":"slayful","id":1950206,"avatar_url":"https://avatars.githubusercontent.com/u/1950206?v=3","gravatar_id":"","url":"https://api.github.com/users/slayful","html_url":"https://github.com/slayful","followers_url":"https://api.github.com/users/slayful/followers","following_url":"https://api.github.com/users/slayful/following{/other_user}","gists_url":"https://api.github.com/users/slayful/gists{/gist_id}","starred_url":"https://api.github.com/users/slayful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slayful/subscriptions","organizations_url":"https://api.github.com/users/slayful/orgs","repos_url":"https://api.github.com/users/slayful/repos","events_url":"https://api.github.com/users/slayful/events{/privacy}","received_events_url":"https://api.github.com/users/slayful/received_events","type":"User","site_admin":false},"body":"Ticket: https://wikia-inc.atlassian.net/browse/SOC-2813","created_at":"2016-12-09T13:45:01Z","updated_at":"2016-12-20T11:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2575014bf3586edabadf74ab586b3079f92a4dc5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/app/pulls/12103/commits","review_comments_url":"https://api.github.com/repos/Wikia/app/pulls/12103/comments","review_comment_url":"https://api.github.com/repos/Wikia/app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/app/issues/12103/comments","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/6b44b05a0aef0cedf8ac446b9c3a83724a2ddf34","head":{"label":"Wikia:SOC-2813","ref":"SOC-2813","sha":"6b44b05a0aef0cedf8ac446b9c3a83724a2ddf34","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":5532313,"name":"app","full_name":"Wikia/app","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/app/deployments","created_at":"2012-08-23T20:55:58Z","updated_at":"2016-12-03T22:51:32Z","pushed_at":"2016-12-20T11:05:28Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":721023,"stargazers_count":107,"watchers_count":107,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":117,"forks":85,"open_issues":117,"watchers":107,"default_branch":"dev"}},"base":{"label":"Wikia:dev","ref":"dev","sha":"24ca56ee77cefbc311d83ed3e64ac8b41ca5c001","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":5532313,"name":"app","full_name":"Wikia/app","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","deployments_url":"https://api.github.com/repos/Wikia/app/deployments","created_at":"2012-08-23T20:55:58Z","updated_at":"2016-12-03T22:51:32Z","pushed_at":"2016-12-20T11:05:28Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":721023,"stargazers_count":107,"watchers_count":107,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":117,"forks":85,"open_issues":117,"watchers":107,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/12103"},"html":{"href":"https://github.com/Wikia/app/pull/12103"},"issue":{"href":"https://api.github.com/repos/Wikia/app/issues/12103"},"comments":{"href":"https://api.github.com/repos/Wikia/app/issues/12103/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/app/pulls/12103/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/app/pulls/12103/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/app/statuses/6b44b05a0aef0cedf8ac446b9c3a83724a2ddf34"}}}}
{"actor":{"display_login":"WikiaTech"}}