{"action":"created","comment":{"url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/comments/56258072","id":56258072,"diff_hunk":"@@ -0,0 +1,210 @@\n+//\n+//  ObjectCContentGenerator.swift\n+//  RealmModelGenerator\n+//\n+//  Created by Zhaolong Zhong on 3/10/16.\n+//  Copyright © 2016 QuarkWorks. All rights reserved.\n+//\n+\n+import Foundation\n+\n+class ObjectCContentGenerator {\n+    static let TAG = NSStringFromClass(ObjectCContentGenerator)\n+    \n+    var hContent = \"\"\n+    var mContent = \"\"\n+    \n+    var entity: Entity\n+    \n+    init(entity: Entity) {\n+        self.entity = entity\n+    }\n+    \n+    func getContent() -> (hContent: String, mContent: String) {\n+        hContent += Tools.getHeaderComments(entity, fileExtension: \"h\")\n+        hContent += \"#import <Realm/Realm.h>\\n\\n\"\n+        hContent += \"@interface \" + entity.name + \" : \" + \"RLMObject\\n\\n\"\n+        \n+        mContent += Tools.getHeaderComments(entity, fileExtension: \"m\")\n+        mContent += \"#import \\\"\" + entity.name + \".h\\\"\\n\\n\"\n+        mContent += \"@implementation \" + entity.name + \"\\n\\n\"\n+        \n+        appendAttributes()\n+        \n+        hContent += \"@end\\n\"\n+        hContent += \"RLM_ARRAY_TYPE(\" + entity.name + \")\"\n+        mContent += \"@end\\n\"\n+        \n+        return (hContent, mContent)\n+    }\n+    \n+    //MARK: Append attributes and relicationships\n+    func appendAttributes() {\n+        var indexedProperties = \"\"\n+        var defaultProperties = \"\"\n+        var ignoredProperties = \"\"\n+        var requiredProperties = \"\"\n+        \n+        // Append attributes\n+        for attr in entity.attributes {\n+            var attrDefination = \"@property \" + attr.type.objectCName + \" \"\n+            \n+            if attr.type == .String {\n+                attrDefination += \"* \"\n+            }\n+            \n+            attrDefination += attr.name + \";\\n\"\n+            hContent += attrDefination\n+            \n+            // indexed\n+            if attr.isIndexed {\n+                if indexedProperties.isEmpty {\n+                    indexedProperties += \"@\\\"\" + attr.name + \"\\\"\"\n+                } else {\n+                    indexedProperties += \", @\\\"\" + attr.name + \"\\\"\"\n+                }\n+            }\n+            \n+            // default value\n+            if attr.hasDefault {\n+                var defaultValue = \"@\\\"\" + attr.name + \"\\\" : @\"\n+                \n+                \n+                if attr.type == .String {\n+                    defaultValue += \"\\\"\" + attr.defaultValue + \"\\\"\"\n+                } else {\n+                    defaultValue += attr.defaultValue\n+                }\n+                \n+                if defaultProperties.isEmpty {\n+                    defaultProperties += defaultValue\n+                } else {\n+                    defaultProperties += \", \" + defaultValue\n+                }\n+                \n+            }\n+            \n+            // ignored\n+            if attr.isIgnored {\n+                if ignoredProperties.isEmpty {\n+                    ignoredProperties += \"@\\\"\" + attr.name + \"\\\"\"\n+                } else {\n+                    ignoredProperties += \", @\\\"\" + attr.name + \"\\\"\"\n+                }\n+            }\n+            \n+            if attr.isRequired {\n+                if requiredProperties.isEmpty {\n+                    requiredProperties += \"@\\\"\" + attr.name + \"\\\"\"\n+                } else {\n+                    requiredProperties += \", @\\\"\" + attr.name + \"\\\"\"\n+                }\n+            }\n+        }\n+        \n+        // Append relationship property\n+        for relationship in entity.relationships {\n+            hContent += \"@property \"\n+            if relationship.isMany {\n+                hContent += \"RLMArray<\" + (relationship.destination?.name)! + \">\"\n+            } else {\n+                hContent += (relationship.destination?.name)!\n+            }\n+            \n+            hContent += \" * \" + relationship.name + \";\\n\"\n+        }\n+        \n+        hContent += \"\\n\"\n+        \n+        appendPrimaryKey()\n+        appendIndexedProperties(indexedProperties)\n+        appendDefaultPropertyValues(defaultProperties)\n+        appendIgnoredProperties(ignoredProperties)\n+        appendRequiredProperties(requiredProperties)\n+    }\n+    \n+    //MARK: Append attributes for property\n+    func appendIndexedProperties(indexedProperties: String) {\n+        if indexedProperties.isEmpty {\n+            return\n+        }\n+        \n+        mContent += \"+ (NSArray *)indexedProperties {\\n\"\n+        mContent += \"\\treturn @[\" + indexedProperties + \"];\\n\"\n+        mContent += \"}\\n\\n\"\n+    }\n+    \n+    //MARK: Append primary key\n+    func appendPrimaryKey() {\n+        let primaryKey = entity.primaryKey\n+        if primaryKey == nil {\n+            return\n+        }\n+        \n+        mContent += \"+(\\((primaryKey?.type.objectCName)!) *)primaryKey {\\n\"\n+        mContent += \"\\treturn @\\\"\" + primaryKey!.name + \"\\\";\\n\"\n+        mContent += \"}\\n\\n\"\n+    }\n+\n+    //MARK: Append default property value\n+    func appendDefaultPropertyValues(defaultProperties: String) {\n+        if defaultProperties.isEmpty {\n+            return\n+        }\n+        \n+        mContent += \"+ (NSDictionary *)defaultPropertyValues {\\n\"\n+        mContent += \"\\treturn @{\" + defaultProperties + \"};\\n\"\n+        mContent += \"}\\n\\n\"\n+    }\n+    \n+    //MARK: Append ignored properties\n+    func appendIgnoredProperties(ignoredProperties: String) {\n+        if ignoredProperties.isEmpty {\n+            return\n+        }\n+        \n+        mContent += \"+ (NSArray *)ignoredProperties {\\n\"\n+        mContent += \"\\treturn @[\" + ignoredProperties + \"];\\n\"\n+        mContent += \"}\\n\\n\"\n+    }\n+    \n+    //MARK: Append required properties\n+    func appendRequiredProperties(requiredProperties: String) {\n+        if requiredProperties.isEmpty {\n+            return\n+        }\n+        \n+        mContent += \"+ (NSArray *)requiredProperties {\\n\"\n+        mContent += \"\\treturn @[\" + requiredProperties + \"];\\n\"\n+        mContent += \"}\\n\\n\"\n+    }\n+}\n+\n+extension AttributeType {\n+    var objectCName:Swift.String {\n+        get {\n+            switch (self) {\n+                case .Bool:\n+                    return \"BOOL\"\n+                case .Short:\n+                    return \"NSInteger\"\n+                case .Int:\n+                    return \"NSInteger\"\n+                case .Long:","path":"RealmModelGenerator/ObjectCContentGenerator.swift","position":193,"original_position":193,"commit_id":"502ce038048c085dceb5b1cb63e34ef363dedacc","original_commit_id":"502ce038048c085dceb5b1cb63e34ef363dedacc","user":{"login":"eclipsegst","id":3318745,"avatar_url":"https://avatars.githubusercontent.com/u/3318745?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipsegst","html_url":"https://github.com/eclipsegst","followers_url":"https://api.github.com/users/eclipsegst/followers","following_url":"https://api.github.com/users/eclipsegst/following{/other_user}","gists_url":"https://api.github.com/users/eclipsegst/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipsegst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipsegst/subscriptions","organizations_url":"https://api.github.com/users/eclipsegst/orgs","repos_url":"https://api.github.com/users/eclipsegst/repos","events_url":"https://api.github.com/users/eclipsegst/events{/privacy}","received_events_url":"https://api.github.com/users/eclipsegst/received_events","type":"User","site_admin":false},"body":"In cheatsheet, NSNumber is for optional.\r\n\r\nhttps://realm.io/docs/objc/latest/#models","created_at":"2016-03-15T23:19:21Z","updated_at":"2016-03-15T23:19:21Z","html_url":"https://github.com/berbschloe/RealmModelGenerator/pull/2#discussion_r56258072","pull_request_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/comments/56258072"},"html":{"href":"https://github.com/berbschloe/RealmModelGenerator/pull/2#discussion_r56258072"},"pull_request":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2","id":62494119,"html_url":"https://github.com/berbschloe/RealmModelGenerator/pull/2","diff_url":"https://github.com/berbschloe/RealmModelGenerator/pull/2.diff","patch_url":"https://github.com/berbschloe/RealmModelGenerator/pull/2.patch","issue_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/2","number":2,"state":"open","locked":false,"title":"Zhao 0310","user":{"login":"eclipsegst","id":3318745,"avatar_url":"https://avatars.githubusercontent.com/u/3318745?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipsegst","html_url":"https://github.com/eclipsegst","followers_url":"https://api.github.com/users/eclipsegst/followers","following_url":"https://api.github.com/users/eclipsegst/following{/other_user}","gists_url":"https://api.github.com/users/eclipsegst/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipsegst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipsegst/subscriptions","organizations_url":"https://api.github.com/users/eclipsegst/orgs","repos_url":"https://api.github.com/users/eclipsegst/repos","events_url":"https://api.github.com/users/eclipsegst/events{/privacy}","received_events_url":"https://api.github.com/users/eclipsegst/received_events","type":"User","site_admin":false},"body":"Added SwiftContentGenerator\r\nAdded tools and removed duplicate code\r\nAdded ObjectCContentGenerator","created_at":"2016-03-11T03:46:07Z","updated_at":"2016-03-15T23:19:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"199f1e36de0640402d758b4f4ab34a375f46da5d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2/commits","review_comments_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2/comments","review_comment_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/2/comments","statuses_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/statuses/502ce038048c085dceb5b1cb63e34ef363dedacc","head":{"label":"berbschloe:zhao_0310","ref":"zhao_0310","sha":"502ce038048c085dceb5b1cb63e34ef363dedacc","user":{"login":"berbschloe","id":5903560,"avatar_url":"https://avatars.githubusercontent.com/u/5903560?v=3","gravatar_id":"","url":"https://api.github.com/users/berbschloe","html_url":"https://github.com/berbschloe","followers_url":"https://api.github.com/users/berbschloe/followers","following_url":"https://api.github.com/users/berbschloe/following{/other_user}","gists_url":"https://api.github.com/users/berbschloe/gists{/gist_id}","starred_url":"https://api.github.com/users/berbschloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berbschloe/subscriptions","organizations_url":"https://api.github.com/users/berbschloe/orgs","repos_url":"https://api.github.com/users/berbschloe/repos","events_url":"https://api.github.com/users/berbschloe/events{/privacy}","received_events_url":"https://api.github.com/users/berbschloe/received_events","type":"User","site_admin":false},"repo":{"id":53095372,"name":"RealmModelGenerator","full_name":"berbschloe/RealmModelGenerator","owner":{"login":"berbschloe","id":5903560,"avatar_url":"https://avatars.githubusercontent.com/u/5903560?v=3","gravatar_id":"","url":"https://api.github.com/users/berbschloe","html_url":"https://github.com/berbschloe","followers_url":"https://api.github.com/users/berbschloe/followers","following_url":"https://api.github.com/users/berbschloe/following{/other_user}","gists_url":"https://api.github.com/users/berbschloe/gists{/gist_id}","starred_url":"https://api.github.com/users/berbschloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berbschloe/subscriptions","organizations_url":"https://api.github.com/users/berbschloe/orgs","repos_url":"https://api.github.com/users/berbschloe/repos","events_url":"https://api.github.com/users/berbschloe/events{/privacy}","received_events_url":"https://api.github.com/users/berbschloe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/berbschloe/RealmModelGenerator","description":"A generator for realm files","fork":false,"url":"https://api.github.com/repos/berbschloe/RealmModelGenerator","forks_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/forks","keys_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/teams","hooks_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/hooks","issue_events_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/events{/number}","events_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/events","assignees_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/assignees{/user}","branches_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/branches{/branch}","tags_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/tags","blobs_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/languages","stargazers_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/stargazers","contributors_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/contributors","subscribers_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/subscribers","subscription_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/subscription","commits_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/contents/{+path}","compare_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/merges","archive_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/downloads","issues_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues{/number}","pulls_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/labels{/name}","releases_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/releases{/id}","deployments_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/deployments","created_at":"2016-03-04T00:45:44Z","updated_at":"2016-03-04T01:00:00Z","pushed_at":"2016-03-14T22:31:59Z","git_url":"git://github.com/berbschloe/RealmModelGenerator.git","ssh_url":"git@github.com:berbschloe/RealmModelGenerator.git","clone_url":"https://github.com/berbschloe/RealmModelGenerator.git","svn_url":"https://github.com/berbschloe/RealmModelGenerator","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"berbschloe:master","ref":"master","sha":"4e88075a1f2e1896d1194bafcaa29824799eec57","user":{"login":"berbschloe","id":5903560,"avatar_url":"https://avatars.githubusercontent.com/u/5903560?v=3","gravatar_id":"","url":"https://api.github.com/users/berbschloe","html_url":"https://github.com/berbschloe","followers_url":"https://api.github.com/users/berbschloe/followers","following_url":"https://api.github.com/users/berbschloe/following{/other_user}","gists_url":"https://api.github.com/users/berbschloe/gists{/gist_id}","starred_url":"https://api.github.com/users/berbschloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berbschloe/subscriptions","organizations_url":"https://api.github.com/users/berbschloe/orgs","repos_url":"https://api.github.com/users/berbschloe/repos","events_url":"https://api.github.com/users/berbschloe/events{/privacy}","received_events_url":"https://api.github.com/users/berbschloe/received_events","type":"User","site_admin":false},"repo":{"id":53095372,"name":"RealmModelGenerator","full_name":"berbschloe/RealmModelGenerator","owner":{"login":"berbschloe","id":5903560,"avatar_url":"https://avatars.githubusercontent.com/u/5903560?v=3","gravatar_id":"","url":"https://api.github.com/users/berbschloe","html_url":"https://github.com/berbschloe","followers_url":"https://api.github.com/users/berbschloe/followers","following_url":"https://api.github.com/users/berbschloe/following{/other_user}","gists_url":"https://api.github.com/users/berbschloe/gists{/gist_id}","starred_url":"https://api.github.com/users/berbschloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berbschloe/subscriptions","organizations_url":"https://api.github.com/users/berbschloe/orgs","repos_url":"https://api.github.com/users/berbschloe/repos","events_url":"https://api.github.com/users/berbschloe/events{/privacy}","received_events_url":"https://api.github.com/users/berbschloe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/berbschloe/RealmModelGenerator","description":"A generator for realm files","fork":false,"url":"https://api.github.com/repos/berbschloe/RealmModelGenerator","forks_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/forks","keys_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/teams","hooks_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/hooks","issue_events_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/events{/number}","events_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/events","assignees_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/assignees{/user}","branches_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/branches{/branch}","tags_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/tags","blobs_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/languages","stargazers_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/stargazers","contributors_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/contributors","subscribers_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/subscribers","subscription_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/subscription","commits_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/contents/{+path}","compare_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/merges","archive_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/downloads","issues_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues{/number}","pulls_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/labels{/name}","releases_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/releases{/id}","deployments_url":"https://api.github.com/repos/berbschloe/RealmModelGenerator/deployments","created_at":"2016-03-04T00:45:44Z","updated_at":"2016-03-04T01:00:00Z","pushed_at":"2016-03-14T22:31:59Z","git_url":"git://github.com/berbschloe/RealmModelGenerator.git","ssh_url":"git@github.com:berbschloe/RealmModelGenerator.git","clone_url":"https://github.com/berbschloe/RealmModelGenerator.git","svn_url":"https://github.com/berbschloe/RealmModelGenerator","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2"},"html":{"href":"https://github.com/berbschloe/RealmModelGenerator/pull/2"},"issue":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/2"},"comments":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/berbschloe/RealmModelGenerator/statuses/502ce038048c085dceb5b1cb63e34ef363dedacc"}}}}