{"action":"created","comment":{"url":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments/32979947","id":32979947,"diff_hunk":"@@ -0,0 +1,65 @@\n+//\n+//  BOXMetadata.m\n+//  BoxContentSDK\n+//\n+//  Created by Andrew Chun on 6/14/15.\n+//  Copyright (c) 2015 Box. All rights reserved.\n+//\n+\n+#import \"BOXMetadata.h\"\n+\n+@implementation BOXMetadata\n+\n+- (instancetype)initWithJSON:(NSDictionary *)JSONData\n+{\n+    if (self = [super initWithJSON:JSONData]) {\n+        self.JSONData = JSONData;\n+        \n+        self.modelID = [NSJSONSerialization box_ensureObjectForKey:@\"$id\"\n+                                                      inDictionary:JSONData\n+                                                   hasExpectedType:[NSString class]\n+                                                       nullAllowed:NO\n+                                                 suppressNullAsNil:NO];\n+        \n+        self.type = [NSJSONSerialization box_ensureObjectForKey:@\"$type\"\n+                                                   inDictionary:JSONData\n+                                                hasExpectedType:[NSString class]\n+                                                    nullAllowed:NO\n+                                              suppressNullAsNil:NO];\n+        \n+        self.scope = [NSJSONSerialization box_ensureObjectForKey:@\"$scope\"\n+                                                    inDictionary:JSONData\n+                                                 hasExpectedType:[NSString class]\n+                                                     nullAllowed:NO];\n+        \n+        self.template = [NSJSONSerialization box_ensureObjectForKey:@\"$template\"\n+                                                       inDictionary:JSONData\n+                                                    hasExpectedType:[NSString class]\n+                                                        nullAllowed:NO];\n+        \n+        self.parent = [NSJSONSerialization box_ensureObjectForKey:@\"$parent\"\n+                                                     inDictionary:JSONData\n+                                                  hasExpectedType:[NSString class]\n+                                                      nullAllowed:NO];\n+        self.type = [NSJSONSerialization box_ensureObjectForKey:@\"$type\"","path":"BoxContentSDK/BoxContentSDK/Models/BOXMetadata.m","position":44,"original_position":44,"commit_id":"9bf47feef0a0088849704a7f280ec718b38effd9","original_commit_id":"9bf47feef0a0088849704a7f280ec718b38effd9","user":{"login":"achunBOX","id":12778755,"avatar_url":"https://avatars.githubusercontent.com/u/12778755?v=3","gravatar_id":"","url":"https://api.github.com/users/achunBOX","html_url":"https://github.com/achunBOX","followers_url":"https://api.github.com/users/achunBOX/followers","following_url":"https://api.github.com/users/achunBOX/following{/other_user}","gists_url":"https://api.github.com/users/achunBOX/gists{/gist_id}","starred_url":"https://api.github.com/users/achunBOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achunBOX/subscriptions","organizations_url":"https://api.github.com/users/achunBOX/orgs","repos_url":"https://api.github.com/users/achunBOX/repos","events_url":"https://api.github.com/users/achunBOX/events{/privacy}","received_events_url":"https://api.github.com/users/achunBOX/received_events","type":"User","site_admin":false},"body":"Remove. Redundant.","created_at":"2015-06-22T20:33:51Z","updated_at":"2015-06-22T20:33:51Z","html_url":"https://github.com/box/box-ios-sdk/pull/46#discussion_r32979947","pull_request_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments/32979947"},"html":{"href":"https://github.com/box/box-ios-sdk/pull/46#discussion_r32979947"},"pull_request":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/box/box-ios-sdk/pulls/46","id":38272571,"html_url":"https://github.com/box/box-ios-sdk/pull/46","diff_url":"https://github.com/box/box-ios-sdk/pull/46.diff","patch_url":"https://github.com/box/box-ios-sdk/pull/46.patch","issue_url":"https://api.github.com/repos/box/box-ios-sdk/issues/46","number":46,"state":"open","locked":false,"title":"Metadata","user":{"login":"achunBOX","id":12778755,"avatar_url":"https://avatars.githubusercontent.com/u/12778755?v=3","gravatar_id":"","url":"https://api.github.com/users/achunBOX","html_url":"https://github.com/achunBOX","followers_url":"https://api.github.com/users/achunBOX/followers","following_url":"https://api.github.com/users/achunBOX/following{/other_user}","gists_url":"https://api.github.com/users/achunBOX/gists{/gist_id}","starred_url":"https://api.github.com/users/achunBOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achunBOX/subscriptions","organizations_url":"https://api.github.com/users/achunBOX/orgs","repos_url":"https://api.github.com/users/achunBOX/repos","events_url":"https://api.github.com/users/achunBOX/events{/privacy}","received_events_url":"https://api.github.com/users/achunBOX/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-22T20:27:30Z","updated_at":"2015-06-22T20:33:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87f701d10424693421e9576dd871ebfa38d70541","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/46/commits","review_comments_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/46/comments","review_comment_url":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/issues/46/comments","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/9bf47feef0a0088849704a7f280ec718b38effd9","head":{"label":"achunBOX:metadata","ref":"metadata","sha":"9bf47feef0a0088849704a7f280ec718b38effd9","user":{"login":"achunBOX","id":12778755,"avatar_url":"https://avatars.githubusercontent.com/u/12778755?v=3","gravatar_id":"","url":"https://api.github.com/users/achunBOX","html_url":"https://github.com/achunBOX","followers_url":"https://api.github.com/users/achunBOX/followers","following_url":"https://api.github.com/users/achunBOX/following{/other_user}","gists_url":"https://api.github.com/users/achunBOX/gists{/gist_id}","starred_url":"https://api.github.com/users/achunBOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achunBOX/subscriptions","organizations_url":"https://api.github.com/users/achunBOX/orgs","repos_url":"https://api.github.com/users/achunBOX/repos","events_url":"https://api.github.com/users/achunBOX/events{/privacy}","received_events_url":"https://api.github.com/users/achunBOX/received_events","type":"User","site_admin":false},"repo":{"id":36994593,"name":"box-ios-sdk","full_name":"achunBOX/box-ios-sdk","owner":{"login":"achunBOX","id":12778755,"avatar_url":"https://avatars.githubusercontent.com/u/12778755?v=3","gravatar_id":"","url":"https://api.github.com/users/achunBOX","html_url":"https://github.com/achunBOX","followers_url":"https://api.github.com/users/achunBOX/followers","following_url":"https://api.github.com/users/achunBOX/following{/other_user}","gists_url":"https://api.github.com/users/achunBOX/gists{/gist_id}","starred_url":"https://api.github.com/users/achunBOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achunBOX/subscriptions","organizations_url":"https://api.github.com/users/achunBOX/orgs","repos_url":"https://api.github.com/users/achunBOX/repos","events_url":"https://api.github.com/users/achunBOX/events{/privacy}","received_events_url":"https://api.github.com/users/achunBOX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/achunBOX/box-ios-sdk","description":"iOS SDK for the Box Content API","fork":true,"url":"https://api.github.com/repos/achunBOX/box-ios-sdk","forks_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/forks","keys_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/teams","hooks_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/events","assignees_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/tags","blobs_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/subscription","commits_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/merges","archive_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/downloads","issues_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/achunBOX/box-ios-sdk/releases{/id}","created_at":"2015-06-06T20:44:33Z","updated_at":"2015-06-06T20:44:34Z","pushed_at":"2015-06-22T17:37:01Z","git_url":"git://github.com/achunBOX/box-ios-sdk.git","ssh_url":"git@github.com:achunBOX/box-ios-sdk.git","clone_url":"https://github.com/achunBOX/box-ios-sdk.git","svn_url":"https://github.com/achunBOX/box-ios-sdk","homepage":"","size":1893,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"box:master","ref":"master","sha":"a9653d7ab7f84840ae7019672d6f0dd8583a605a","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955225,"name":"box-ios-sdk","full_name":"box/box-ios-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-sdk","description":"iOS SDK for the Box Content API","fork":false,"url":"https://api.github.com/repos/box/box-ios-sdk","forks_url":"https://api.github.com/repos/box/box-ios-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-sdk/releases{/id}","created_at":"2015-04-14T20:26:08Z","updated_at":"2015-06-11T12:55:37Z","pushed_at":"2015-06-22T20:27:31Z","git_url":"git://github.com/box/box-ios-sdk.git","ssh_url":"git@github.com:box/box-ios-sdk.git","clone_url":"https://github.com/box/box-ios-sdk.git","svn_url":"https://github.com/box/box-ios-sdk","homepage":"","size":2486,"stargazers_count":10,"watchers_count":10,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/46"},"html":{"href":"https://github.com/box/box-ios-sdk/pull/46"},"issue":{"href":"https://api.github.com/repos/box/box-ios-sdk/issues/46"},"comments":{"href":"https://api.github.com/repos/box/box-ios-sdk/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/box/box-ios-sdk/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/box/box-ios-sdk/statuses/9bf47feef0a0088849704a7f280ec718b38effd9"}}}}