/* * FullRepository.kt * * This code was generated by json-kotlin-schema-codegen - JSON Schema Code Generator * See https://github.com/pwall567/json-kotlin-schema-codegen * * It is not advisable to modify generated code as any modifications will be lost * when the generation process is re-run. */ package com.github.repository import java.time.OffsetDateTime import java.net.URI /** * Full Repository */ data class FullRepository( val id: Long, val node_id: String, val name: String, val full_name: String, /** A GitHub user. */ val owner: Owner, val private: Boolean, val html_url: URI, val description: String?, val fork: Boolean, val url: URI, val archive_url: String, val assignees_url: String, val blobs_url: String, val branches_url: String, val collaborators_url: String, val comments_url: String, val commits_url: String, val compare_url: String, val contents_url: String, val contributors_url: URI, val deployments_url: URI, val downloads_url: URI, val events_url: URI, val forks_url: URI, val git_commits_url: String, val git_refs_url: String, val git_tags_url: String, val git_url: String, val issue_comment_url: String, val issue_events_url: String, val issues_url: String, val keys_url: String, val labels_url: String, val languages_url: URI, val merges_url: URI, val milestones_url: String, val notifications_url: String, val pulls_url: String, val releases_url: String, val ssh_url: String, val stargazers_url: URI, val statuses_url: String, val subscribers_url: URI, val subscription_url: URI, val tags_url: URI, val teams_url: URI, val trees_url: String, val clone_url: String, val mirror_url: URI?, val hooks_url: URI, val svn_url: URI, val homepage: URI?, val language: String?, val forks_count: Long, val stargazers_count: Long, val watchers_count: Long, /** The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0. */ val size: Long, val default_branch: String, val open_issues_count: Long, val is_template: Boolean? = null, val topics: List? = null, val has_issues: Boolean, val has_projects: Boolean, val has_wiki: Boolean, val has_pages: Boolean, val has_downloads: Boolean, val has_discussions: Boolean, val archived: Boolean, /** Returns whether or not this repository disabled. */ val disabled: Boolean, /** The repository visibility: public, private, or internal. */ val visibility: String? = null, val pushed_at: OffsetDateTime, val created_at: OffsetDateTime, val updated_at: OffsetDateTime, val permissions: Permissions? = null, val allow_rebase_merge: Boolean? = null, val template_repository: Template_repository? = null, val temp_clone_token: String? = null, val allow_squash_merge: Boolean? = null, val allow_auto_merge: Boolean? = null, val delete_branch_on_merge: Boolean? = null, val allow_merge_commit: Boolean? = null, val allow_update_branch: Boolean? = null, val use_squash_pr_title_as_default: Boolean? = null, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title2? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message2? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title2? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message2? = null, val allow_forking: Boolean? = null, val web_commit_signoff_required: Boolean? = null, val subscribers_count: Long, val network_count: Long, val license: License1?, val organization: Organization1? = null, /** A repository on GitHub. */ val parent: Parent? = null, /** A repository on GitHub. */ val source: Source? = null, val forks: Long, val master_branch: String? = null, val open_issues: Long, val watchers: Long, /** Whether anonymous git access is allowed. */ val anonymous_access_enabled: Boolean = true, /** Code of Conduct Simple */ val code_of_conduct: Code_of_conduct? = null, val security_and_analysis: Security_and_analysis? = null ) { /** * A GitHub user. */ data class Owner( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Permissions( val admin: Boolean, val maintain: Boolean? = null, val push: Boolean, val triage: Boolean? = null, val pull: Boolean ) data class Template_repository( /** Unique identifier of the repository */ val id: Long, val node_id: String, /** The name of the repository. */ val name: String, val full_name: String, val license: License?, val organization: Organization? = null, val forks: Long, val permissions: Permissions1? = null, /** A GitHub user. */ val owner: Owner1, /** Whether the repository is private or public. */ val private: Boolean = false, val html_url: URI, val description: String?, val fork: Boolean, val url: URI, val archive_url: String, val assignees_url: String, val blobs_url: String, val branches_url: String, val collaborators_url: String, val comments_url: String, val commits_url: String, val compare_url: String, val contents_url: String, val contributors_url: URI, val deployments_url: URI, val downloads_url: URI, val events_url: URI, val forks_url: URI, val git_commits_url: String, val git_refs_url: String, val git_tags_url: String, val git_url: String, val issue_comment_url: String, val issue_events_url: String, val issues_url: String, val keys_url: String, val labels_url: String, val languages_url: URI, val merges_url: URI, val milestones_url: String, val notifications_url: String, val pulls_url: String, val releases_url: String, val ssh_url: String, val stargazers_url: URI, val statuses_url: String, val subscribers_url: URI, val subscription_url: URI, val tags_url: URI, val teams_url: URI, val trees_url: String, val clone_url: String, val mirror_url: URI?, val hooks_url: URI, val svn_url: URI, val homepage: URI?, val language: String?, val forks_count: Long, val stargazers_count: Long, val watchers_count: Long, /** The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0. */ val size: Long, /** The default branch of the repository. */ val default_branch: String, val open_issues_count: Long, /** Whether this repository acts as a template that can be used to generate new repositories. */ val is_template: Boolean = false, val topics: List? = null, /** Whether issues are enabled. */ val has_issues: Boolean = true, /** Whether projects are enabled. */ val has_projects: Boolean = true, /** Whether the wiki is enabled. */ val has_wiki: Boolean = true, val has_pages: Boolean, /** Whether downloads are enabled. */ val has_downloads: Boolean = true, /** Whether discussions are enabled. */ val has_discussions: Boolean = false, /** Whether the repository is archived. */ val archived: Boolean = false, /** Returns whether or not this repository disabled. */ val disabled: Boolean, /** The repository visibility: public, private, or internal. */ val visibility: String = "public", val pushed_at: OffsetDateTime?, val created_at: OffsetDateTime?, val updated_at: OffsetDateTime?, /** Whether to allow rebase merges for pull requests. */ val allow_rebase_merge: Boolean = true, val template_repository: Template_repository1? = null, val temp_clone_token: String? = null, /** Whether to allow squash merges for pull requests. */ val allow_squash_merge: Boolean = true, /** Whether to allow Auto-merge to be used on pull requests. */ val allow_auto_merge: Boolean = false, /** Whether to delete head branches when pull requests are merged */ val delete_branch_on_merge: Boolean = false, /** Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. */ val allow_update_branch: Boolean = false, /** Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. */ val use_squash_pr_title_as_default: Boolean = false, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title1? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message1? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title1? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message1? = null, /** Whether to allow merge commits for pull requests. */ val allow_merge_commit: Boolean = true, /** Whether to allow forking this repo */ val allow_forking: Boolean? = null, /** Whether to require contributors to sign off on web-based commits */ val web_commit_signoff_required: Boolean = false, val subscribers_count: Long? = null, val network_count: Long? = null, val open_issues: Long, val watchers: Long, val master_branch: String? = null, val starred_at: String? = null, /** Whether anonymous git access is enabled for this repository */ val anonymous_access_enabled: Boolean? = null ) data class License( val key: String, val name: String, val url: URI?, val spdx_id: String?, val node_id: String, val html_url: URI? = null ) data class Organization( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Permissions1( val admin: Boolean, val pull: Boolean, val triage: Boolean? = null, val push: Boolean, val maintain: Boolean? = null ) /** * A GitHub user. */ data class Owner1( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Template_repository1( val id: Long? = null, val node_id: String? = null, val name: String? = null, val full_name: String? = null, val owner: Owner2? = null, val private: Boolean? = null, val html_url: String? = null, val description: String? = null, val fork: Boolean? = null, val url: String? = null, val archive_url: String? = null, val assignees_url: String? = null, val blobs_url: String? = null, val branches_url: String? = null, val collaborators_url: String? = null, val comments_url: String? = null, val commits_url: String? = null, val compare_url: String? = null, val contents_url: String? = null, val contributors_url: String? = null, val deployments_url: String? = null, val downloads_url: String? = null, val events_url: String? = null, val forks_url: String? = null, val git_commits_url: String? = null, val git_refs_url: String? = null, val git_tags_url: String? = null, val git_url: String? = null, val issue_comment_url: String? = null, val issue_events_url: String? = null, val issues_url: String? = null, val keys_url: String? = null, val labels_url: String? = null, val languages_url: String? = null, val merges_url: String? = null, val milestones_url: String? = null, val notifications_url: String? = null, val pulls_url: String? = null, val releases_url: String? = null, val ssh_url: String? = null, val stargazers_url: String? = null, val statuses_url: String? = null, val subscribers_url: String? = null, val subscription_url: String? = null, val tags_url: String? = null, val teams_url: String? = null, val trees_url: String? = null, val clone_url: String? = null, val mirror_url: String? = null, val hooks_url: String? = null, val svn_url: String? = null, val homepage: String? = null, val language: String? = null, val forks_count: Long? = null, val stargazers_count: Long? = null, val watchers_count: Long? = null, val size: Long? = null, val default_branch: String? = null, val open_issues_count: Long? = null, val is_template: Boolean? = null, val topics: List? = null, val has_issues: Boolean? = null, val has_projects: Boolean? = null, val has_wiki: Boolean? = null, val has_pages: Boolean? = null, val has_downloads: Boolean? = null, val archived: Boolean? = null, val disabled: Boolean? = null, val visibility: String? = null, val pushed_at: String? = null, val created_at: String? = null, val updated_at: String? = null, val permissions: Permissions2? = null, val allow_rebase_merge: Boolean? = null, val temp_clone_token: String? = null, val allow_squash_merge: Boolean? = null, val allow_auto_merge: Boolean? = null, val delete_branch_on_merge: Boolean? = null, val allow_update_branch: Boolean? = null, val use_squash_pr_title_as_default: Boolean? = null, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message? = null, val allow_merge_commit: Boolean? = null, val subscribers_count: Long? = null, val network_count: Long? = null ) data class Owner2( val login: String? = null, val id: Long? = null, val node_id: String? = null, val avatar_url: String? = null, val gravatar_id: String? = null, val url: String? = null, val html_url: String? = null, val followers_url: String? = null, val following_url: String? = null, val gists_url: String? = null, val starred_url: String? = null, val subscriptions_url: String? = null, val organizations_url: String? = null, val repos_url: String? = null, val events_url: String? = null, val received_events_url: String? = null, val type: String? = null, val site_admin: Boolean? = null ) data class Permissions2( val admin: Boolean? = null, val maintain: Boolean? = null, val push: Boolean? = null, val triage: Boolean? = null, val pull: Boolean? = null ) /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message { PR_BODY, PR_TITLE, BLANK } /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title1 { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message1 { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title1 { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message1 { PR_BODY, PR_TITLE, BLANK } /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title2 { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message2 { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title2 { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message2 { PR_BODY, PR_TITLE, BLANK } data class License1( val key: String, val name: String, val url: URI?, val spdx_id: String?, val node_id: String, val html_url: URI? = null ) data class Organization1( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) /** * A repository on GitHub. */ data class Parent( /** Unique identifier of the repository */ val id: Long, val node_id: String, /** The name of the repository. */ val name: String, val full_name: String, val license: License2?, val organization: Organization2? = null, val forks: Long, val permissions: Permissions3? = null, /** A GitHub user. */ val owner: Owner3, /** Whether the repository is private or public. */ val private: Boolean = false, val html_url: URI, val description: String?, val fork: Boolean, val url: URI, val archive_url: String, val assignees_url: String, val blobs_url: String, val branches_url: String, val collaborators_url: String, val comments_url: String, val commits_url: String, val compare_url: String, val contents_url: String, val contributors_url: URI, val deployments_url: URI, val downloads_url: URI, val events_url: URI, val forks_url: URI, val git_commits_url: String, val git_refs_url: String, val git_tags_url: String, val git_url: String, val issue_comment_url: String, val issue_events_url: String, val issues_url: String, val keys_url: String, val labels_url: String, val languages_url: URI, val merges_url: URI, val milestones_url: String, val notifications_url: String, val pulls_url: String, val releases_url: String, val ssh_url: String, val stargazers_url: URI, val statuses_url: String, val subscribers_url: URI, val subscription_url: URI, val tags_url: URI, val teams_url: URI, val trees_url: String, val clone_url: String, val mirror_url: URI?, val hooks_url: URI, val svn_url: URI, val homepage: URI?, val language: String?, val forks_count: Long, val stargazers_count: Long, val watchers_count: Long, /** The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0. */ val size: Long, /** The default branch of the repository. */ val default_branch: String, val open_issues_count: Long, /** Whether this repository acts as a template that can be used to generate new repositories. */ val is_template: Boolean = false, val topics: List? = null, /** Whether issues are enabled. */ val has_issues: Boolean = true, /** Whether projects are enabled. */ val has_projects: Boolean = true, /** Whether the wiki is enabled. */ val has_wiki: Boolean = true, val has_pages: Boolean, /** Whether downloads are enabled. */ val has_downloads: Boolean = true, /** Whether discussions are enabled. */ val has_discussions: Boolean = false, /** Whether the repository is archived. */ val archived: Boolean = false, /** Returns whether or not this repository disabled. */ val disabled: Boolean, /** The repository visibility: public, private, or internal. */ val visibility: String = "public", val pushed_at: OffsetDateTime?, val created_at: OffsetDateTime?, val updated_at: OffsetDateTime?, /** Whether to allow rebase merges for pull requests. */ val allow_rebase_merge: Boolean = true, val template_repository: Template_repository2? = null, val temp_clone_token: String? = null, /** Whether to allow squash merges for pull requests. */ val allow_squash_merge: Boolean = true, /** Whether to allow Auto-merge to be used on pull requests. */ val allow_auto_merge: Boolean = false, /** Whether to delete head branches when pull requests are merged */ val delete_branch_on_merge: Boolean = false, /** Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. */ val allow_update_branch: Boolean = false, /** Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. */ val use_squash_pr_title_as_default: Boolean = false, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title4? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message4? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title4? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message4? = null, /** Whether to allow merge commits for pull requests. */ val allow_merge_commit: Boolean = true, /** Whether to allow forking this repo */ val allow_forking: Boolean? = null, /** Whether to require contributors to sign off on web-based commits */ val web_commit_signoff_required: Boolean = false, val subscribers_count: Long? = null, val network_count: Long? = null, val open_issues: Long, val watchers: Long, val master_branch: String? = null, val starred_at: String? = null, /** Whether anonymous git access is enabled for this repository */ val anonymous_access_enabled: Boolean? = null ) data class License2( val key: String, val name: String, val url: URI?, val spdx_id: String?, val node_id: String, val html_url: URI? = null ) data class Organization2( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Permissions3( val admin: Boolean, val pull: Boolean, val triage: Boolean? = null, val push: Boolean, val maintain: Boolean? = null ) /** * A GitHub user. */ data class Owner3( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Template_repository2( val id: Long? = null, val node_id: String? = null, val name: String? = null, val full_name: String? = null, val owner: Owner4? = null, val private: Boolean? = null, val html_url: String? = null, val description: String? = null, val fork: Boolean? = null, val url: String? = null, val archive_url: String? = null, val assignees_url: String? = null, val blobs_url: String? = null, val branches_url: String? = null, val collaborators_url: String? = null, val comments_url: String? = null, val commits_url: String? = null, val compare_url: String? = null, val contents_url: String? = null, val contributors_url: String? = null, val deployments_url: String? = null, val downloads_url: String? = null, val events_url: String? = null, val forks_url: String? = null, val git_commits_url: String? = null, val git_refs_url: String? = null, val git_tags_url: String? = null, val git_url: String? = null, val issue_comment_url: String? = null, val issue_events_url: String? = null, val issues_url: String? = null, val keys_url: String? = null, val labels_url: String? = null, val languages_url: String? = null, val merges_url: String? = null, val milestones_url: String? = null, val notifications_url: String? = null, val pulls_url: String? = null, val releases_url: String? = null, val ssh_url: String? = null, val stargazers_url: String? = null, val statuses_url: String? = null, val subscribers_url: String? = null, val subscription_url: String? = null, val tags_url: String? = null, val teams_url: String? = null, val trees_url: String? = null, val clone_url: String? = null, val mirror_url: String? = null, val hooks_url: String? = null, val svn_url: String? = null, val homepage: String? = null, val language: String? = null, val forks_count: Long? = null, val stargazers_count: Long? = null, val watchers_count: Long? = null, val size: Long? = null, val default_branch: String? = null, val open_issues_count: Long? = null, val is_template: Boolean? = null, val topics: List? = null, val has_issues: Boolean? = null, val has_projects: Boolean? = null, val has_wiki: Boolean? = null, val has_pages: Boolean? = null, val has_downloads: Boolean? = null, val archived: Boolean? = null, val disabled: Boolean? = null, val visibility: String? = null, val pushed_at: String? = null, val created_at: String? = null, val updated_at: String? = null, val permissions: Permissions4? = null, val allow_rebase_merge: Boolean? = null, val temp_clone_token: String? = null, val allow_squash_merge: Boolean? = null, val allow_auto_merge: Boolean? = null, val delete_branch_on_merge: Boolean? = null, val allow_update_branch: Boolean? = null, val use_squash_pr_title_as_default: Boolean? = null, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title3? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message3? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title3? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message3? = null, val allow_merge_commit: Boolean? = null, val subscribers_count: Long? = null, val network_count: Long? = null ) data class Owner4( val login: String? = null, val id: Long? = null, val node_id: String? = null, val avatar_url: String? = null, val gravatar_id: String? = null, val url: String? = null, val html_url: String? = null, val followers_url: String? = null, val following_url: String? = null, val gists_url: String? = null, val starred_url: String? = null, val subscriptions_url: String? = null, val organizations_url: String? = null, val repos_url: String? = null, val events_url: String? = null, val received_events_url: String? = null, val type: String? = null, val site_admin: Boolean? = null ) data class Permissions4( val admin: Boolean? = null, val maintain: Boolean? = null, val push: Boolean? = null, val triage: Boolean? = null, val pull: Boolean? = null ) /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title3 { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message3 { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title3 { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message3 { PR_BODY, PR_TITLE, BLANK } /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title4 { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message4 { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title4 { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message4 { PR_BODY, PR_TITLE, BLANK } /** * A repository on GitHub. */ data class Source( /** Unique identifier of the repository */ val id: Long, val node_id: String, /** The name of the repository. */ val name: String, val full_name: String, val license: License3?, val organization: Organization3? = null, val forks: Long, val permissions: Permissions5? = null, /** A GitHub user. */ val owner: Owner5, /** Whether the repository is private or public. */ val private: Boolean = false, val html_url: URI, val description: String?, val fork: Boolean, val url: URI, val archive_url: String, val assignees_url: String, val blobs_url: String, val branches_url: String, val collaborators_url: String, val comments_url: String, val commits_url: String, val compare_url: String, val contents_url: String, val contributors_url: URI, val deployments_url: URI, val downloads_url: URI, val events_url: URI, val forks_url: URI, val git_commits_url: String, val git_refs_url: String, val git_tags_url: String, val git_url: String, val issue_comment_url: String, val issue_events_url: String, val issues_url: String, val keys_url: String, val labels_url: String, val languages_url: URI, val merges_url: URI, val milestones_url: String, val notifications_url: String, val pulls_url: String, val releases_url: String, val ssh_url: String, val stargazers_url: URI, val statuses_url: String, val subscribers_url: URI, val subscription_url: URI, val tags_url: URI, val teams_url: URI, val trees_url: String, val clone_url: String, val mirror_url: URI?, val hooks_url: URI, val svn_url: URI, val homepage: URI?, val language: String?, val forks_count: Long, val stargazers_count: Long, val watchers_count: Long, /** The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0. */ val size: Long, /** The default branch of the repository. */ val default_branch: String, val open_issues_count: Long, /** Whether this repository acts as a template that can be used to generate new repositories. */ val is_template: Boolean = false, val topics: List? = null, /** Whether issues are enabled. */ val has_issues: Boolean = true, /** Whether projects are enabled. */ val has_projects: Boolean = true, /** Whether the wiki is enabled. */ val has_wiki: Boolean = true, val has_pages: Boolean, /** Whether downloads are enabled. */ val has_downloads: Boolean = true, /** Whether discussions are enabled. */ val has_discussions: Boolean = false, /** Whether the repository is archived. */ val archived: Boolean = false, /** Returns whether or not this repository disabled. */ val disabled: Boolean, /** The repository visibility: public, private, or internal. */ val visibility: String = "public", val pushed_at: OffsetDateTime?, val created_at: OffsetDateTime?, val updated_at: OffsetDateTime?, /** Whether to allow rebase merges for pull requests. */ val allow_rebase_merge: Boolean = true, val template_repository: Template_repository3? = null, val temp_clone_token: String? = null, /** Whether to allow squash merges for pull requests. */ val allow_squash_merge: Boolean = true, /** Whether to allow Auto-merge to be used on pull requests. */ val allow_auto_merge: Boolean = false, /** Whether to delete head branches when pull requests are merged */ val delete_branch_on_merge: Boolean = false, /** Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. */ val allow_update_branch: Boolean = false, /** Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. */ val use_squash_pr_title_as_default: Boolean = false, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title6? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message6? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title6? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message6? = null, /** Whether to allow merge commits for pull requests. */ val allow_merge_commit: Boolean = true, /** Whether to allow forking this repo */ val allow_forking: Boolean? = null, /** Whether to require contributors to sign off on web-based commits */ val web_commit_signoff_required: Boolean = false, val subscribers_count: Long? = null, val network_count: Long? = null, val open_issues: Long, val watchers: Long, val master_branch: String? = null, val starred_at: String? = null, /** Whether anonymous git access is enabled for this repository */ val anonymous_access_enabled: Boolean? = null ) data class License3( val key: String, val name: String, val url: URI?, val spdx_id: String?, val node_id: String, val html_url: URI? = null ) data class Organization3( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Permissions5( val admin: Boolean, val pull: Boolean, val triage: Boolean? = null, val push: Boolean, val maintain: Boolean? = null ) /** * A GitHub user. */ data class Owner5( val name: String? = null, val email: String? = null, val login: String, val id: Long, val node_id: String, val avatar_url: URI, val gravatar_id: String?, val url: URI, val html_url: URI, val followers_url: URI, val following_url: String, val gists_url: String, val starred_url: String, val subscriptions_url: URI, val organizations_url: URI, val repos_url: URI, val events_url: String, val received_events_url: URI, val type: String, val site_admin: Boolean, val starred_at: String? = null ) data class Template_repository3( val id: Long? = null, val node_id: String? = null, val name: String? = null, val full_name: String? = null, val owner: Owner6? = null, val private: Boolean? = null, val html_url: String? = null, val description: String? = null, val fork: Boolean? = null, val url: String? = null, val archive_url: String? = null, val assignees_url: String? = null, val blobs_url: String? = null, val branches_url: String? = null, val collaborators_url: String? = null, val comments_url: String? = null, val commits_url: String? = null, val compare_url: String? = null, val contents_url: String? = null, val contributors_url: String? = null, val deployments_url: String? = null, val downloads_url: String? = null, val events_url: String? = null, val forks_url: String? = null, val git_commits_url: String? = null, val git_refs_url: String? = null, val git_tags_url: String? = null, val git_url: String? = null, val issue_comment_url: String? = null, val issue_events_url: String? = null, val issues_url: String? = null, val keys_url: String? = null, val labels_url: String? = null, val languages_url: String? = null, val merges_url: String? = null, val milestones_url: String? = null, val notifications_url: String? = null, val pulls_url: String? = null, val releases_url: String? = null, val ssh_url: String? = null, val stargazers_url: String? = null, val statuses_url: String? = null, val subscribers_url: String? = null, val subscription_url: String? = null, val tags_url: String? = null, val teams_url: String? = null, val trees_url: String? = null, val clone_url: String? = null, val mirror_url: String? = null, val hooks_url: String? = null, val svn_url: String? = null, val homepage: String? = null, val language: String? = null, val forks_count: Long? = null, val stargazers_count: Long? = null, val watchers_count: Long? = null, val size: Long? = null, val default_branch: String? = null, val open_issues_count: Long? = null, val is_template: Boolean? = null, val topics: List? = null, val has_issues: Boolean? = null, val has_projects: Boolean? = null, val has_wiki: Boolean? = null, val has_pages: Boolean? = null, val has_downloads: Boolean? = null, val archived: Boolean? = null, val disabled: Boolean? = null, val visibility: String? = null, val pushed_at: String? = null, val created_at: String? = null, val updated_at: String? = null, val permissions: Permissions6? = null, val allow_rebase_merge: Boolean? = null, val temp_clone_token: String? = null, val allow_squash_merge: Boolean? = null, val allow_auto_merge: Boolean? = null, val delete_branch_on_merge: Boolean? = null, val allow_update_branch: Boolean? = null, val use_squash_pr_title_as_default: Boolean? = null, /** The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ val squash_merge_commit_title: Squash_merge_commit_title5? = null, /** The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ val squash_merge_commit_message: Squash_merge_commit_message5? = null, /** The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ val merge_commit_title: Merge_commit_title5? = null, /** The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ val merge_commit_message: Merge_commit_message5? = null, val allow_merge_commit: Boolean? = null, val subscribers_count: Long? = null, val network_count: Long? = null ) data class Owner6( val login: String? = null, val id: Long? = null, val node_id: String? = null, val avatar_url: String? = null, val gravatar_id: String? = null, val url: String? = null, val html_url: String? = null, val followers_url: String? = null, val following_url: String? = null, val gists_url: String? = null, val starred_url: String? = null, val subscriptions_url: String? = null, val organizations_url: String? = null, val repos_url: String? = null, val events_url: String? = null, val received_events_url: String? = null, val type: String? = null, val site_admin: Boolean? = null ) data class Permissions6( val admin: Boolean? = null, val maintain: Boolean? = null, val push: Boolean? = null, val triage: Boolean? = null, val pull: Boolean? = null ) /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title5 { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message5 { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title5 { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message5 { PR_BODY, PR_TITLE, BLANK } /** * The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ enum class Squash_merge_commit_title6 { PR_TITLE, COMMIT_OR_PR_TITLE } /** * The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. */ enum class Squash_merge_commit_message6 { PR_BODY, COMMIT_MESSAGES, BLANK } /** * The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ enum class Merge_commit_title6 { PR_TITLE, MERGE_MESSAGE } /** * The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. */ enum class Merge_commit_message6 { PR_BODY, PR_TITLE, BLANK } /** * Code of Conduct Simple */ data class Code_of_conduct( val url: URI, val key: String, val name: String, val html_url: URI? ) data class Security_and_analysis( val advanced_security: Advanced_security? = null, val secret_scanning: Secret_scanning? = null, val secret_scanning_push_protection: Secret_scanning_push_protection? = null ) data class Advanced_security( val status: Status? = null ) enum class Status { enabled, disabled } data class Secret_scanning( val status: Status1? = null ) enum class Status1 { enabled, disabled } data class Secret_scanning_push_protection( val status: Status2? = null ) enum class Status2 { enabled, disabled } }