Repository constructor

Repository({
  1. String name = '',
  2. int id = 0,
  3. String fullName = '',
  4. UserInformation? owner,
  5. String htmlUrl = '',
  6. String description = '',
  7. String cloneUrl = '',
  8. String gitUrl = '',
  9. String sshUrl = '',
  10. String svnUrl = '',
  11. String defaultBranch = '',
  12. DateTime? createdAt,
  13. bool isPrivate = false,
  14. bool isFork = false,
  15. int stargazersCount = 0,
  16. int watchersCount = 0,
  17. String language = '',
  18. bool hasWiki = false,
  19. bool hasDownloads = false,
  20. int forksCount = 0,
  21. int openIssuesCount = 0,
  22. int subscribersCount = 0,
  23. int networkCount = 0,
  24. bool hasIssues = false,
  25. int size = 0,
  26. bool archived = false,
  27. bool disabled = false,
  28. String homepage = '',
  29. DateTime? updatedAt,
  30. DateTime? pushedAt,
  31. LicenseKind? license,
  32. bool hasPages = false,
  33. RepositoryPermissions? permissions,
  34. bool? allowAutoMerge,
  35. bool? allowForking,
  36. bool? allowMergeCommit,
  37. bool? allowRebaseMerge,
  38. bool? allowSquashMerge,
  39. bool? allowUpdateBranch,
  40. bool? anonymousAccessEnabled,
  41. String? archiveUrl,
  42. String? assigneesUrl,
  43. String? blobsUrl,
  44. String? branchesUrl,
  45. String? collaboratorsUrl,
  46. String? commentsUrl,
  47. String? commitsUrl,
  48. String? compareUrl,
  49. String? contentsUrl,
  50. String? contributorsUrl,
  51. bool? deleteBranchOnMerge,
  52. String? deploymentsUrl,
  53. String? downloadsUrl,
  54. String? eventsUrl,
  55. int? forks,
  56. String? forksUrl,
  57. String? gitCommitsUrl,
  58. String? gitRefsUrl,
  59. String? gitTagsUrl,
  60. bool? hasDiscussions,
  61. bool? hasProjects,
  62. String? hooksUrl,
  63. bool? isTemplate,
  64. String? issueCommentUrl,
  65. String? issueEventsUrl,
  66. String? issuesUrl,
  67. String? keysUrl,
  68. String? labelsUrl,
  69. String? languagesUrl,
  70. String? masterBranch,
  71. String? mergeCommitMessage,
  72. String? mergeCommitTitle,
  73. String? mergesUrl,
  74. String? milestonesUrl,
  75. String? mirrorUrl,
  76. String? nodeId,
  77. String? notificationsUrl,
  78. int? openIssues,
  79. User? organization,
  80. String? pullsUrl,
  81. String? releasesUrl,
  82. String? squashMergeCommitMessage,
  83. String? squashMergeCommitTitle,
  84. String? stargazersUrl,
  85. DateTime? starredAt,
  86. String? statusesUrl,
  87. String? subscribersUrl,
  88. String? subscriptionUrl,
  89. String? tagsUrl,
  90. String? teamsUrl,
  91. String? tempCloneToken,
  92. TemplateRepository? templateRepository,
  93. List<String>? topics,
  94. String? treesUrl,
  95. String? url,
  96. String? visibility,
  97. int? watchers,
  98. bool? webCommitSignoffRequired,
})

Implementation

Repository({
  this.name = '',
  this.id = 0,
  this.fullName = '',
  this.owner,
  this.htmlUrl = '',
  this.description = '',
  this.cloneUrl = '',
  this.gitUrl = '',
  this.sshUrl = '',
  this.svnUrl = '',
  this.defaultBranch = '',
  this.createdAt,
  this.isPrivate = false,
  this.isFork = false,
  this.stargazersCount = 0,
  this.watchersCount = 0,
  this.language = '',
  this.hasWiki = false,
  this.hasDownloads = false,
  this.forksCount = 0,
  this.openIssuesCount = 0,
  this.subscribersCount = 0,
  this.networkCount = 0,
  this.hasIssues = false,
  this.size = 0,
  this.archived = false,
  this.disabled = false,
  this.homepage = '',
  this.updatedAt,
  this.pushedAt,
  this.license,
  this.hasPages = false,
  this.permissions,

  // Properties from the Timeline API
  this.allowAutoMerge,
  this.allowForking,
  this.allowMergeCommit,
  this.allowRebaseMerge,
  this.allowSquashMerge,
  this.allowUpdateBranch,
  this.anonymousAccessEnabled,
  this.archiveUrl,
  this.assigneesUrl,
  this.blobsUrl,
  this.branchesUrl,
  this.collaboratorsUrl,
  this.commentsUrl,
  this.commitsUrl,
  this.compareUrl,
  this.contentsUrl,
  this.contributorsUrl,
  this.deleteBranchOnMerge,
  this.deploymentsUrl,
  this.downloadsUrl,
  this.eventsUrl,
  this.forks,
  this.forksUrl,
  this.gitCommitsUrl,
  this.gitRefsUrl,
  this.gitTagsUrl,
  this.hasDiscussions,
  this.hasProjects,
  this.hooksUrl,
  this.isTemplate,
  this.issueCommentUrl,
  this.issueEventsUrl,
  this.issuesUrl,
  this.keysUrl,
  this.labelsUrl,
  this.languagesUrl,
  this.masterBranch,
  this.mergeCommitMessage,
  this.mergeCommitTitle,
  this.mergesUrl,
  this.milestonesUrl,
  this.mirrorUrl,
  this.nodeId,
  this.notificationsUrl,
  this.openIssues,
  this.organization,
  this.pullsUrl,
  this.releasesUrl,
  this.squashMergeCommitMessage,
  this.squashMergeCommitTitle,
  this.stargazersUrl,
  this.starredAt,
  this.statusesUrl,
  this.subscribersUrl,
  this.subscriptionUrl,
  this.tagsUrl,
  this.teamsUrl,
  this.tempCloneToken,
  this.templateRepository,
  this.topics,
  this.treesUrl,
  this.url,
  this.visibility,
  this.watchers,
  this.webCommitSignoffRequired,
});