codecraftai-restclient-github-public 1.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccai/restclient/github/public/__init__.py +0 -0
- ccai/restclient/github/public/generation/githubrestclientgenerator.py +56 -0
- ccai/restclient/github/public/generation/specs/api-hints.json +172 -0
- ccai/restclient/github/public/generation/specs/api-public.json +306020 -0
- ccai/restclient/github/public/generation/specs/pagination-hints.json +31 -0
- ccai/restclient/github/public/githubpublicrestclient.py +262 -0
- ccai/restclient/github/public/githubrestclientbase.py +120 -0
- ccai/restclient/github/public/groups/__init__.py +0 -0
- ccai/restclient/github/public/groups/actions.py +8042 -0
- ccai/restclient/github/public/groups/activity.py +1488 -0
- ccai/restclient/github/public/groups/apiinsights.py +478 -0
- ccai/restclient/github/public/groups/apps.py +1662 -0
- ccai/restclient/github/public/groups/billing.py +401 -0
- ccai/restclient/github/public/groups/campaigns.py +262 -0
- ccai/restclient/github/public/groups/checks.py +632 -0
- ccai/restclient/github/public/groups/classroom.py +276 -0
- ccai/restclient/github/public/groups/codescanning.py +1203 -0
- ccai/restclient/github/public/groups/codesecurity.py +997 -0
- ccai/restclient/github/public/groups/codesofconduct.py +92 -0
- ccai/restclient/github/public/groups/codespaces.py +2271 -0
- ccai/restclient/github/public/groups/copilot.py +517 -0
- ccai/restclient/github/public/groups/credentials.py +62 -0
- ccai/restclient/github/public/groups/dependabot.py +1155 -0
- ccai/restclient/github/public/groups/dependencygraph.py +152 -0
- ccai/restclient/github/public/groups/emojis.py +51 -0
- ccai/restclient/github/public/groups/gists.py +909 -0
- ccai/restclient/github/public/groups/git.py +734 -0
- ccai/restclient/github/public/groups/gitignore.py +96 -0
- ccai/restclient/github/public/groups/hostedcompute.py +290 -0
- ccai/restclient/github/public/groups/interactions.py +389 -0
- ccai/restclient/github/public/groups/issues.py +2460 -0
- ccai/restclient/github/public/groups/licenses.py +153 -0
- ccai/restclient/github/public/groups/markdown.py +88 -0
- ccai/restclient/github/public/groups/meta.py +213 -0
- ccai/restclient/github/public/groups/migrations.py +1079 -0
- ccai/restclient/github/public/groups/oidc.py +102 -0
- ccai/restclient/github/public/groups/orgs.py +3958 -0
- ccai/restclient/github/public/groups/packages.py +1316 -0
- ccai/restclient/github/public/groups/privateregistries.py +294 -0
- ccai/restclient/github/public/groups/projectsclassic.py +1154 -0
- ccai/restclient/github/public/groups/pulls.py +1469 -0
- ccai/restclient/github/public/groups/ratelimit.py +68 -0
- ccai/restclient/github/public/groups/reactions.py +1247 -0
- ccai/restclient/github/public/groups/repos.py +9741 -0
- ccai/restclient/github/public/groups/search.py +417 -0
- ccai/restclient/github/public/groups/secretscanning.py +568 -0
- ccai/restclient/github/public/groups/securityadvisories.py +541 -0
- ccai/restclient/github/public/groups/teams.py +2985 -0
- ccai/restclient/github/public/groups/users.py +2054 -0
- ccai/restclient/github/public/py.typed +0 -0
- ccai/restclient/github/public/schemas/__init__.py +0 -0
- ccai/restclient/github/public/schemas/actions.py +418 -0
- ccai/restclient/github/public/schemas/activity.py +95 -0
- ccai/restclient/github/public/schemas/actor.py +20 -0
- ccai/restclient/github/public/schemas/addedtoprojectissueevent.py +24 -0
- ccai/restclient/github/public/schemas/apps.py +151 -0
- ccai/restclient/github/public/schemas/assignedissueevent.py +25 -0
- ccai/restclient/github/public/schemas/authenticationtoken.py +20 -0
- ccai/restclient/github/public/schemas/automerge.py +16 -0
- ccai/restclient/github/public/schemas/basicerror.py +16 -0
- ccai/restclient/github/public/schemas/billing.py +27 -0
- ccai/restclient/github/public/schemas/billingusagereport.py +12 -0
- ccai/restclient/github/public/schemas/billingusagereportuser.py +12 -0
- ccai/restclient/github/public/schemas/campaigns.py +27 -0
- ccai/restclient/github/public/schemas/checkrunwithsimplechecksuite.py +31 -0
- ccai/restclient/github/public/schemas/checks.py +80 -0
- ccai/restclient/github/public/schemas/classroom.py +109 -0
- ccai/restclient/github/public/schemas/codeofconductsimple.py +18 -0
- ccai/restclient/github/public/schemas/codescanning.py +197 -0
- ccai/restclient/github/public/schemas/codescanningalertlocation.py +17 -0
- ccai/restclient/github/public/schemas/codescanningalertrule.py +20 -0
- ccai/restclient/github/public/schemas/codescanningalertrulesummary.py +20 -0
- ccai/restclient/github/public/schemas/codescanninganalysistool.py +14 -0
- ccai/restclient/github/public/schemas/codescanningautofixcommitsresponse.py +11 -0
- ccai/restclient/github/public/schemas/codescanningdefaultsetupupdateresponse.py +15 -0
- ccai/restclient/github/public/schemas/codescanningsarifsreceipt.py +11 -0
- ccai/restclient/github/public/schemas/codescanningvariantanalysisrepository.py +20 -0
- ccai/restclient/github/public/schemas/codescanningvariantanalysisskippedrepogroup.py +13 -0
- ccai/restclient/github/public/schemas/codesecurity.py +73 -0
- ccai/restclient/github/public/schemas/codesofconduct.py +19 -0
- ccai/restclient/github/public/schemas/codespaces.py +130 -0
- ccai/restclient/github/public/schemas/codespacewithfullrepository.py +45 -0
- ccai/restclient/github/public/schemas/commit.py +25 -0
- ccai/restclient/github/public/schemas/contenttree.py +27 -0
- ccai/restclient/github/public/schemas/convertednotetoissueissueevent.py +24 -0
- ccai/restclient/github/public/schemas/copilot.py +50 -0
- ccai/restclient/github/public/schemas/copilotdotcomchat.py +16 -0
- ccai/restclient/github/public/schemas/copilotdotcompullrequests.py +16 -0
- ccai/restclient/github/public/schemas/copilotidechat.py +16 -0
- ccai/restclient/github/public/schemas/copilotidecodecompletions.py +17 -0
- ccai/restclient/github/public/schemas/copilotorganizationseatbreakdown.py +18 -0
- ccai/restclient/github/public/schemas/cvssseverities.py +13 -0
- ccai/restclient/github/public/schemas/demilestonedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/dependabot.py +87 -0
- ccai/restclient/github/public/schemas/dependabotalertpackage.py +14 -0
- ccai/restclient/github/public/schemas/dependabotalertsecurityadvisory.py +29 -0
- ccai/restclient/github/public/schemas/dependabotalertsecurityvulnerability.py +18 -0
- ccai/restclient/github/public/schemas/dependency.py +16 -0
- ccai/restclient/github/public/schemas/dependencygraph.py +29 -0
- ccai/restclient/github/public/schemas/deploymentsimple.py +28 -0
- ccai/restclient/github/public/schemas/discussion.py +37 -0
- ccai/restclient/github/public/schemas/enterprise.py +24 -0
- ccai/restclient/github/public/schemas/enterpriseteam.py +27 -0
- ccai/restclient/github/public/schemas/enterprisewebhooks.py +26 -0
- ccai/restclient/github/public/schemas/gisthistory.py +19 -0
- ccai/restclient/github/public/schemas/gists.py +88 -0
- ccai/restclient/github/public/schemas/git.py +71 -0
- ccai/restclient/github/public/schemas/gitignore.py +14 -0
- ccai/restclient/github/public/schemas/hookdelivery.py +29 -0
- ccai/restclient/github/public/schemas/hookdeliveryitem.py +26 -0
- ccai/restclient/github/public/schemas/hookresponse.py +14 -0
- ccai/restclient/github/public/schemas/hostedcompute.py +30 -0
- ccai/restclient/github/public/schemas/installation.py +35 -0
- ccai/restclient/github/public/schemas/installationtoken.py +22 -0
- ccai/restclient/github/public/schemas/interactions.py +23 -0
- ccai/restclient/github/public/schemas/issuedependenciessummary.py +13 -0
- ccai/restclient/github/public/schemas/issueeventdismissedreview.py +15 -0
- ccai/restclient/github/public/schemas/issueeventlabel.py +16 -0
- ccai/restclient/github/public/schemas/issueeventmilestone.py +13 -0
- ccai/restclient/github/public/schemas/issueeventprojectcard.py +18 -0
- ccai/restclient/github/public/schemas/issueeventrename.py +14 -0
- ccai/restclient/github/public/schemas/issuefieldvalue.py +19 -0
- ccai/restclient/github/public/schemas/issues.py +135 -0
- ccai/restclient/github/public/schemas/labeledissueevent.py +24 -0
- ccai/restclient/github/public/schemas/licenses.py +58 -0
- ccai/restclient/github/public/schemas/link.py +13 -0
- ccai/restclient/github/public/schemas/linkwithtype.py +14 -0
- ccai/restclient/github/public/schemas/lockedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/manifest.py +15 -0
- ccai/restclient/github/public/schemas/marketplaceaccount.py +18 -0
- ccai/restclient/github/public/schemas/mergegroup.py +17 -0
- ccai/restclient/github/public/schemas/meta.py +67 -0
- ccai/restclient/github/public/schemas/migrations.py +84 -0
- ccai/restclient/github/public/schemas/milestonedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/minimalrepository.py +102 -0
- ccai/restclient/github/public/schemas/movedcolumninprojectissueevent.py +24 -0
- ccai/restclient/github/public/schemas/nullableactionshostedrunnerpoolimage.py +16 -0
- ccai/restclient/github/public/schemas/nullablecodeofconductsimple.py +18 -0
- ccai/restclient/github/public/schemas/nullablecodespacemachine.py +21 -0
- ccai/restclient/github/public/schemas/nullablecollaborator.py +37 -0
- ccai/restclient/github/public/schemas/nullablecommunityhealthfile.py +11 -0
- ccai/restclient/github/public/schemas/nullablegituser.py +15 -0
- ccai/restclient/github/public/schemas/nullableintegration.py +28 -0
- ccai/restclient/github/public/schemas/nullableissue.py +52 -0
- ccai/restclient/github/public/schemas/nullablelicensesimple.py +20 -0
- ccai/restclient/github/public/schemas/nullablemilestone.py +30 -0
- ccai/restclient/github/public/schemas/nullableminimalrepository.py +102 -0
- ccai/restclient/github/public/schemas/nullableorganizationsimple.py +26 -0
- ccai/restclient/github/public/schemas/nullableprojectsv2statusupdate.py +24 -0
- ccai/restclient/github/public/schemas/nullablerepository.py +110 -0
- ccai/restclient/github/public/schemas/nullablerepositorywebhooks.py +115 -0
- ccai/restclient/github/public/schemas/nullablescopedinstallation.py +18 -0
- ccai/restclient/github/public/schemas/nullablesimplecommit.py +20 -0
- ccai/restclient/github/public/schemas/nullablesimplerepository.py +60 -0
- ccai/restclient/github/public/schemas/nullablesimpleuser.py +36 -0
- ccai/restclient/github/public/schemas/nullableteamsimple.py +27 -0
- ccai/restclient/github/public/schemas/oidc.py +15 -0
- ccai/restclient/github/public/schemas/organizationinvitation.py +26 -0
- ccai/restclient/github/public/schemas/organizationsimplewebhooks.py +27 -0
- ccai/restclient/github/public/schemas/orgprivateregistryconfigurationwithselectedrepositories.py +21 -0
- ccai/restclient/github/public/schemas/orgs.py +332 -0
- ccai/restclient/github/public/schemas/packages.py +42 -0
- ccai/restclient/github/public/schemas/pagebuildstatus.py +14 -0
- ccai/restclient/github/public/schemas/pageshttpscertificate.py +15 -0
- ccai/restclient/github/public/schemas/pagessourcehash.py +11 -0
- ccai/restclient/github/public/schemas/personalaccesstokenrequest.py +28 -0
- ccai/restclient/github/public/schemas/privateregistries.py +20 -0
- ccai/restclient/github/public/schemas/projectsclassic.py +70 -0
- ccai/restclient/github/public/schemas/projectsv2.py +31 -0
- ccai/restclient/github/public/schemas/projectsv2item.py +23 -0
- ccai/restclient/github/public/schemas/projectsv2iterationsetting.py +20 -0
- ccai/restclient/github/public/schemas/projectsv2singleselectoption.py +18 -0
- ccai/restclient/github/public/schemas/projectsv2statusupdate.py +24 -0
- ccai/restclient/github/public/schemas/protectedbranchrequiredstatuscheck.py +20 -0
- ccai/restclient/github/public/schemas/publicip.py +15 -0
- ccai/restclient/github/public/schemas/pullrequestminimal.py +16 -0
- ccai/restclient/github/public/schemas/pullrequestsimple.py +50 -0
- ccai/restclient/github/public/schemas/pulls.py +185 -0
- ccai/restclient/github/public/schemas/ratelimit.py +23 -0
- ccai/restclient/github/public/schemas/reactions.py +17 -0
- ccai/restclient/github/public/schemas/referencedworkflow.py +15 -0
- ccai/restclient/github/public/schemas/removedfromprojectissueevent.py +24 -0
- ccai/restclient/github/public/schemas/renamedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/repos.py +952 -0
- ccai/restclient/github/public/schemas/repository.py +110 -0
- ccai/restclient/github/public/schemas/repositoryadvisorycredit.py +15 -0
- ccai/restclient/github/public/schemas/repositoryadvisoryvulnerability.py +18 -0
- ccai/restclient/github/public/schemas/repositoryrulebranchnamepattern.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulecodescanning.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulecommitauthoremailpattern.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulecommitmessagepattern.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulecommitteremailpattern.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulecreation.py +13 -0
- ccai/restclient/github/public/schemas/repositoryruledeletion.py +13 -0
- ccai/restclient/github/public/schemas/repositoryrulefileextensionrestriction.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulefilepathrestriction.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulemaxfilepathlength.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulemaxfilesize.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulemergequeue.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulenonfastforward.py +13 -0
- ccai/restclient/github/public/schemas/repositoryruleparamscodescanningtool.py +15 -0
- ccai/restclient/github/public/schemas/repositoryruleparamsrequiredreviewerconfiguration.py +17 -0
- ccai/restclient/github/public/schemas/repositoryruleparamsrestrictedcommits.py +14 -0
- ccai/restclient/github/public/schemas/repositoryruleparamsreviewer.py +14 -0
- ccai/restclient/github/public/schemas/repositoryruleparamsstatuscheckconfiguration.py +14 -0
- ccai/restclient/github/public/schemas/repositoryruleparamsworkflowfilereference.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulepullrequest.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulerequireddeployments.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulerequiredlinearhistory.py +13 -0
- ccai/restclient/github/public/schemas/repositoryrulerequiredsignatures.py +13 -0
- ccai/restclient/github/public/schemas/repositoryrulerequiredstatuschecks.py +16 -0
- ccai/restclient/github/public/schemas/repositoryrulerulesetinfo.py +15 -0
- ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositoryidtarget.py +15 -0
- ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositorynametarget.py +15 -0
- ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositorypropertyspec.py +17 -0
- ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositorypropertytarget.py +15 -0
- ccai/restclient/github/public/schemas/repositoryruletagnamepattern.py +16 -0
- ccai/restclient/github/public/schemas/repositoryruleupdate.py +16 -0
- ccai/restclient/github/public/schemas/repositoryruleviolationerror.py +18 -0
- ccai/restclient/github/public/schemas/repositoryruleworkflows.py +16 -0
- ccai/restclient/github/public/schemas/repositorywebhooks.py +115 -0
- ccai/restclient/github/public/schemas/reviewdismissedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/reviewrequestedissueevent.py +26 -0
- ccai/restclient/github/public/schemas/reviewrequestremovedissueevent.py +26 -0
- ccai/restclient/github/public/schemas/rulesetversion.py +17 -0
- ccai/restclient/github/public/schemas/runnerlabel.py +15 -0
- ccai/restclient/github/public/schemas/scimerror.py +20 -0
- ccai/restclient/github/public/schemas/search.py +263 -0
- ccai/restclient/github/public/schemas/secretscanning.py +96 -0
- ccai/restclient/github/public/schemas/secretscanningalertwebhook.py +33 -0
- ccai/restclient/github/public/schemas/secretscanninglocationcommit.py +21 -0
- ccai/restclient/github/public/schemas/secretscanninglocationdiscussionbody.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationdiscussioncomment.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationdiscussiontitle.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationissuebody.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationissuecomment.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationissuetitle.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationpullrequestbody.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationpullrequestcomment.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationpullrequestreview.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationpullrequestreviewcomment.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationpullrequesttitle.py +13 -0
- ccai/restclient/github/public/schemas/secretscanninglocationwikicommit.py +21 -0
- ccai/restclient/github/public/schemas/secretscanningpatternoverride.py +23 -0
- ccai/restclient/github/public/schemas/secretscanningscan.py +18 -0
- ccai/restclient/github/public/schemas/securityadvisories.py +106 -0
- ccai/restclient/github/public/schemas/securityadvisoryepss.py +14 -0
- ccai/restclient/github/public/schemas/securityandanalysis.py +18 -0
- ccai/restclient/github/public/schemas/shortblob.py +14 -0
- ccai/restclient/github/public/schemas/simplechecksuite.py +28 -0
- ccai/restclient/github/public/schemas/simpleclassroomorganization.py +20 -0
- ccai/restclient/github/public/schemas/simpleclassroomrepository.py +18 -0
- ccai/restclient/github/public/schemas/simpleclassroomuser.py +16 -0
- ccai/restclient/github/public/schemas/simplecommit.py +20 -0
- ccai/restclient/github/public/schemas/simplecommitstatus.py +22 -0
- ccai/restclient/github/public/schemas/simpleinstallation.py +16 -0
- ccai/restclient/github/public/schemas/simplerepository.py +60 -0
- ccai/restclient/github/public/schemas/statechangeissueevent.py +24 -0
- ccai/restclient/github/public/schemas/subissuessummary.py +12 -0
- ccai/restclient/github/public/schemas/teamorganization.py +63 -0
- ccai/restclient/github/public/schemas/teams.py +202 -0
- ccai/restclient/github/public/schemas/timelineassignedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/timelinecommentevent.py +30 -0
- ccai/restclient/github/public/schemas/timelinecommitcommentedevent.py +18 -0
- ccai/restclient/github/public/schemas/timelinecommittedevent.py +25 -0
- ccai/restclient/github/public/schemas/timelinecrossreferencedevent.py +19 -0
- ccai/restclient/github/public/schemas/timelinelinecommentedevent.py +17 -0
- ccai/restclient/github/public/schemas/timelinereviewedevent.py +29 -0
- ccai/restclient/github/public/schemas/timelineunassignedissueevent.py +24 -0
- ccai/restclient/github/public/schemas/traffic.py +12 -0
- ccai/restclient/github/public/schemas/unassignedissueevent.py +25 -0
- ccai/restclient/github/public/schemas/unlabeledissueevent.py +24 -0
- ccai/restclient/github/public/schemas/users.py +183 -0
- ccai/restclient/github/public/schemas/validationerror.py +17 -0
- ccai/restclient/github/public/schemas/validationerrorsimple.py +17 -0
- ccai/restclient/github/public/schemas/verification.py +16 -0
- ccai/restclient/github/public/schemas/vulnerability.py +18 -0
- ccai/restclient/github/public/schemas/webhookbranchprotectionconfigurationdisabled.py +15 -0
- ccai/restclient/github/public/schemas/webhookbranchprotectionconfigurationenabled.py +15 -0
- ccai/restclient/github/public/schemas/webhookbranchprotectionrulecreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookbranchprotectionruledeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookbranchprotectionruleedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookcheckruncompleted.py +15 -0
- ccai/restclient/github/public/schemas/webhookcheckruncompletedformencoded.py +13 -0
- ccai/restclient/github/public/schemas/webhookcheckruncreated.py +15 -0
- ccai/restclient/github/public/schemas/webhookcheckruncreatedformencoded.py +13 -0
- ccai/restclient/github/public/schemas/webhookcheckrunrequestedaction.py +18 -0
- ccai/restclient/github/public/schemas/webhookcheckrunrequestedactionformencoded.py +13 -0
- ccai/restclient/github/public/schemas/webhookcheckrunrerequested.py +15 -0
- ccai/restclient/github/public/schemas/webhookcheckrunrerequestedformencoded.py +13 -0
- ccai/restclient/github/public/schemas/webhookchecksuitecompleted.py +18 -0
- ccai/restclient/github/public/schemas/webhookchecksuiterequested.py +18 -0
- ccai/restclient/github/public/schemas/webhookchecksuitererequested.py +18 -0
- ccai/restclient/github/public/schemas/webhookcodescanningalertappearedinbranch.py +20 -0
- ccai/restclient/github/public/schemas/webhookcodescanningalertclosedbyuser.py +20 -0
- ccai/restclient/github/public/schemas/webhookcodescanningalertcreated.py +20 -0
- ccai/restclient/github/public/schemas/webhookcodescanningalertfixed.py +20 -0
- ccai/restclient/github/public/schemas/webhookcodescanningalertreopened.py +20 -0
- ccai/restclient/github/public/schemas/webhookcodescanningalertreopenedbyuser.py +20 -0
- ccai/restclient/github/public/schemas/webhookcommitcommentcreated.py +18 -0
- ccai/restclient/github/public/schemas/webhookcreate.py +21 -0
- ccai/restclient/github/public/schemas/webhookcustompropertycreated.py +15 -0
- ccai/restclient/github/public/schemas/webhookcustompropertydeleted.py +17 -0
- ccai/restclient/github/public/schemas/webhookcustompropertypromotedtoenterprise.py +15 -0
- ccai/restclient/github/public/schemas/webhookcustompropertyupdated.py +15 -0
- ccai/restclient/github/public/schemas/webhookcustompropertyvaluesupdated.py +19 -0
- ccai/restclient/github/public/schemas/webhookdelete.py +17 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertautodismissed.py +16 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertautoreopened.py +16 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertdismissed.py +16 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertfixed.py +16 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertreintroduced.py +16 -0
- ccai/restclient/github/public/schemas/webhookdependabotalertreopened.py +16 -0
- ccai/restclient/github/public/schemas/webhookdeploykeycreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookdeploykeydeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookdeploymentcreated.py +20 -0
- ccai/restclient/github/public/schemas/webhookdeploymentprotectionrulerequested.py +21 -0
- ccai/restclient/github/public/schemas/webhookdeploymentreviewapproved.py +24 -0
- ccai/restclient/github/public/schemas/webhookdeploymentreviewrejected.py +24 -0
- ccai/restclient/github/public/schemas/webhookdeploymentreviewrequested.py +23 -0
- ccai/restclient/github/public/schemas/webhookdeploymentstatuscreated.py +22 -0
- ccai/restclient/github/public/schemas/webhookdiscussionanswered.py +17 -0
- ccai/restclient/github/public/schemas/webhookdiscussioncategorychanged.py +19 -0
- ccai/restclient/github/public/schemas/webhookdiscussionclosed.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussioncommentcreated.py +17 -0
- ccai/restclient/github/public/schemas/webhookdiscussioncommentdeleted.py +17 -0
- ccai/restclient/github/public/schemas/webhookdiscussioncommentedited.py +20 -0
- ccai/restclient/github/public/schemas/webhookdiscussioncreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussiondeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussionedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookdiscussionlabeled.py +17 -0
- ccai/restclient/github/public/schemas/webhookdiscussionlocked.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussionpinned.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussionreopened.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussiontransferred.py +19 -0
- ccai/restclient/github/public/schemas/webhookdiscussionunanswered.py +15 -0
- ccai/restclient/github/public/schemas/webhookdiscussionunlabeled.py +17 -0
- ccai/restclient/github/public/schemas/webhookdiscussionunlocked.py +16 -0
- ccai/restclient/github/public/schemas/webhookdiscussionunpinned.py +16 -0
- ccai/restclient/github/public/schemas/webhookfork.py +18 -0
- ccai/restclient/github/public/schemas/webhookgithubappauthorizationrevoked.py +11 -0
- ccai/restclient/github/public/schemas/webhookgollum.py +17 -0
- ccai/restclient/github/public/schemas/webhookinstallationcreated.py +19 -0
- ccai/restclient/github/public/schemas/webhookinstallationdeleted.py +19 -0
- ccai/restclient/github/public/schemas/webhookinstallationnewpermissionsaccepted.py +19 -0
- ccai/restclient/github/public/schemas/webhookinstallationrepositoriesadded.py +21 -0
- ccai/restclient/github/public/schemas/webhookinstallationrepositoriesremoved.py +21 -0
- ccai/restclient/github/public/schemas/webhookinstallationsuspend.py +19 -0
- ccai/restclient/github/public/schemas/webhookinstallationtargetrenamed.py +20 -0
- ccai/restclient/github/public/schemas/webhookinstallationunsuspend.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuecommentcreated.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuecommentdeleted.py +17 -0
- ccai/restclient/github/public/schemas/webhookissuecommentedited.py +18 -0
- ccai/restclient/github/public/schemas/webhookissuedependenciesblockedbyadded.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuedependenciesblockedbyremoved.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuedependenciesblockingadded.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuedependenciesblockingremoved.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuesassigned.py +17 -0
- ccai/restclient/github/public/schemas/webhookissuesclosed.py +16 -0
- ccai/restclient/github/public/schemas/webhookissuesdeleted.py +18 -0
- ccai/restclient/github/public/schemas/webhookissuesdemilestoned.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuesedited.py +20 -0
- ccai/restclient/github/public/schemas/webhookissueslabeled.py +19 -0
- ccai/restclient/github/public/schemas/webhookissueslocked.py +18 -0
- ccai/restclient/github/public/schemas/webhookissuesmilestoned.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuesopened.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuespinned.py +16 -0
- ccai/restclient/github/public/schemas/webhookissuesreopened.py +18 -0
- ccai/restclient/github/public/schemas/webhookissuestransferred.py +19 -0
- ccai/restclient/github/public/schemas/webhookissuestyped.py +17 -0
- ccai/restclient/github/public/schemas/webhookissuesunassigned.py +17 -0
- ccai/restclient/github/public/schemas/webhookissuesunlabeled.py +17 -0
- ccai/restclient/github/public/schemas/webhookissuesunlocked.py +18 -0
- ccai/restclient/github/public/schemas/webhookissuesunpinned.py +16 -0
- ccai/restclient/github/public/schemas/webhookissuesuntyped.py +17 -0
- ccai/restclient/github/public/schemas/webhooklabelcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhooklabeldeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhooklabeledited.py +19 -0
- ccai/restclient/github/public/schemas/webhookmarketplacepurchasecancelled.py +18 -0
- ccai/restclient/github/public/schemas/webhookmarketplacepurchasechanged.py +20 -0
- ccai/restclient/github/public/schemas/webhookmarketplacepurchasependingchange.py +20 -0
- ccai/restclient/github/public/schemas/webhookmarketplacepurchasependingchangecancelled.py +20 -0
- ccai/restclient/github/public/schemas/webhookmarketplacepurchasepurchased.py +18 -0
- ccai/restclient/github/public/schemas/webhookmemberadded.py +19 -0
- ccai/restclient/github/public/schemas/webhookmemberedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookmemberremoved.py +16 -0
- ccai/restclient/github/public/schemas/webhookmembershipadded.py +20 -0
- ccai/restclient/github/public/schemas/webhookmembershipremoved.py +20 -0
- ccai/restclient/github/public/schemas/webhookmergegroupchecksrequested.py +15 -0
- ccai/restclient/github/public/schemas/webhookmergegroupdestroyed.py +16 -0
- ccai/restclient/github/public/schemas/webhookmetadeleted.py +19 -0
- ccai/restclient/github/public/schemas/webhookmilestoneclosed.py +16 -0
- ccai/restclient/github/public/schemas/webhookmilestonecreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookmilestonedeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookmilestoneedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookmilestoneopened.py +16 -0
- ccai/restclient/github/public/schemas/webhookorganizationdeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookorganizationmemberadded.py +16 -0
- ccai/restclient/github/public/schemas/webhookorganizationmemberinvited.py +19 -0
- ccai/restclient/github/public/schemas/webhookorganizationmemberremoved.py +16 -0
- ccai/restclient/github/public/schemas/webhookorganizationrenamed.py +19 -0
- ccai/restclient/github/public/schemas/webhookorgblockblocked.py +16 -0
- ccai/restclient/github/public/schemas/webhookorgblockunblocked.py +16 -0
- ccai/restclient/github/public/schemas/webhookpackagepublished.py +18 -0
- ccai/restclient/github/public/schemas/webhookpackageupdated.py +18 -0
- ccai/restclient/github/public/schemas/webhookpagebuild.py +18 -0
- ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestapproved.py +15 -0
- ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestcancelled.py +15 -0
- ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestcreated.py +15 -0
- ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestdenied.py +15 -0
- ccai/restclient/github/public/schemas/webhookping.py +17 -0
- ccai/restclient/github/public/schemas/webhookpingformencoded.py +13 -0
- ccai/restclient/github/public/schemas/webhookprojectcardconverted.py +19 -0
- ccai/restclient/github/public/schemas/webhookprojectcardcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectcarddeleted.py +18 -0
- ccai/restclient/github/public/schemas/webhookprojectcardedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookprojectcardmoved.py +19 -0
- ccai/restclient/github/public/schemas/webhookprojectclosed.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectcolumncreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectcolumndeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectcolumnedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookprojectcolumnmoved.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectdeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookprojectreopened.py +16 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemarchived.py +15 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemconverted.py +17 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemcreated.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemdeleted.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemedited.py +17 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemreordered.py +17 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2itemrestored.py +15 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2projectclosed.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2projectcreated.py +17 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2projectdeleted.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2projectedited.py +17 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2projectreopened.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2statusupdatecreated.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2statusupdatedeleted.py +14 -0
- ccai/restclient/github/public/schemas/webhookprojectsv2statusupdateedited.py +17 -0
- ccai/restclient/github/public/schemas/webhookpublic.py +14 -0
- ccai/restclient/github/public/schemas/webhookpullrequestassigned.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestautomergedisabled.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestautomergeenabled.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestclosed.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestconvertedtodraft.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestdemilestoned.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestdequeued.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestedited.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestenqueued.py +19 -0
- ccai/restclient/github/public/schemas/webhookpullrequestlabeled.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestlocked.py +19 -0
- ccai/restclient/github/public/schemas/webhookpullrequestmilestoned.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestopened.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreadyforreview.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreopened.py +17 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewcommentcreated.py +19 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewcommentdeleted.py +19 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewcommentedited.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewdismissed.py +19 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewedited.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewsubmitted.py +19 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewthreadresolved.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestreviewthreadunresolved.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestsynchronize.py +21 -0
- ccai/restclient/github/public/schemas/webhookpullrequestunassigned.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestunlabeled.py +20 -0
- ccai/restclient/github/public/schemas/webhookpullrequestunlocked.py +19 -0
- ccai/restclient/github/public/schemas/webhookpush.py +27 -0
- ccai/restclient/github/public/schemas/webhookregistrypackagepublished.py +18 -0
- ccai/restclient/github/public/schemas/webhookregistrypackageupdated.py +18 -0
- ccai/restclient/github/public/schemas/webhookreleasecreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookreleasedeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookreleaseedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookreleaseprereleased.py +18 -0
- ccai/restclient/github/public/schemas/webhookreleasepublished.py +16 -0
- ccai/restclient/github/public/schemas/webhookreleasereleased.py +16 -0
- ccai/restclient/github/public/schemas/webhookreleaseunpublished.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryadvisorypublished.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryadvisoryreported.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryarchived.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositorycreated.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositorydeleted.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositorydispatchsample.py +19 -0
- ccai/restclient/github/public/schemas/webhookrepositoryedited.py +18 -0
- ccai/restclient/github/public/schemas/webhookrepositoryimport.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositoryprivatized.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositorypublicized.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositoryrenamed.py +18 -0
- ccai/restclient/github/public/schemas/webhookrepositoryrulesetcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryrulesetdeleted.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryrulesetedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookrepositorytransferred.py +18 -0
- ccai/restclient/github/public/schemas/webhookrepositoryunarchived.py +15 -0
- ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertcreate.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertdismiss.py +18 -0
- ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertreopen.py +16 -0
- ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertresolve.py +18 -0
- ccai/restclient/github/public/schemas/webhookrubygemsmetadata.py +21 -0
- ccai/restclient/github/public/schemas/webhooksalert.py +31 -0
- ccai/restclient/github/public/schemas/webhooksanswer.py +24 -0
- ccai/restclient/github/public/schemas/webhooksapprover.py +28 -0
- ccai/restclient/github/public/schemas/webhookschanges.py +15 -0
- ccai/restclient/github/public/schemas/webhookschanges8.py +12 -0
- ccai/restclient/github/public/schemas/webhookscomment.py +24 -0
- ccai/restclient/github/public/schemas/webhooksdeploykey.py +24 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertlocationcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertlocationcreatedformencoded.py +10 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertpubliclyleaked.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertreopened.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertresolved.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningalertvalidated.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecretscanningscancompleted.py +24 -0
- ccai/restclient/github/public/schemas/webhooksecurityadvisorypublished.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecurityadvisoryupdated.py +16 -0
- ccai/restclient/github/public/schemas/webhooksecurityadvisorywithdrawn.py +18 -0
- ccai/restclient/github/public/schemas/webhooksecurityandanalysis.py +17 -0
- ccai/restclient/github/public/schemas/webhooksissue.py +48 -0
- ccai/restclient/github/public/schemas/webhooksissue2.py +48 -0
- ccai/restclient/github/public/schemas/webhooksissuecomment.py +26 -0
- ccai/restclient/github/public/schemas/webhookslabel.py +18 -0
- ccai/restclient/github/public/schemas/webhooksmarketplacepurchase.py +18 -0
- ccai/restclient/github/public/schemas/webhooksmembership.py +21 -0
- ccai/restclient/github/public/schemas/webhooksmilestone.py +30 -0
- ccai/restclient/github/public/schemas/webhooksmilestone3.py +30 -0
- ccai/restclient/github/public/schemas/webhooksponsorshipcancelled.py +16 -0
- ccai/restclient/github/public/schemas/webhooksponsorshipcreated.py +16 -0
- ccai/restclient/github/public/schemas/webhooksponsorshipedited.py +19 -0
- ccai/restclient/github/public/schemas/webhooksponsorshippendingcancellation.py +17 -0
- ccai/restclient/github/public/schemas/webhooksponsorshippendingtierchange.py +18 -0
- ccai/restclient/github/public/schemas/webhooksponsorshiptierchanged.py +17 -0
- ccai/restclient/github/public/schemas/webhookspreviousmarketplacepurchase.py +18 -0
- ccai/restclient/github/public/schemas/webhooksproject.py +24 -0
- ccai/restclient/github/public/schemas/webhooksprojectcard.py +24 -0
- ccai/restclient/github/public/schemas/webhooksprojectchanges.py +12 -0
- ccai/restclient/github/public/schemas/webhooksprojectcolumn.py +20 -0
- ccai/restclient/github/public/schemas/webhookspullrequest5.py +59 -0
- ccai/restclient/github/public/schemas/webhooksrelease.py +36 -0
- ccai/restclient/github/public/schemas/webhooksrelease1.py +36 -0
- ccai/restclient/github/public/schemas/webhooksreview.py +26 -0
- ccai/restclient/github/public/schemas/webhooksreviewcomment.py +41 -0
- ccai/restclient/github/public/schemas/webhooksrule.py +42 -0
- ccai/restclient/github/public/schemas/webhookssecurityadvisory.py +27 -0
- ccai/restclient/github/public/schemas/webhookssponsorship.py +18 -0
- ccai/restclient/github/public/schemas/webhookstarcreated.py +18 -0
- ccai/restclient/github/public/schemas/webhookstardeleted.py +18 -0
- ccai/restclient/github/public/schemas/webhookstatus.py +28 -0
- ccai/restclient/github/public/schemas/webhooksteam.py +28 -0
- ccai/restclient/github/public/schemas/webhooksteam1.py +28 -0
- ccai/restclient/github/public/schemas/webhooksubissuesparentissueadded.py +19 -0
- ccai/restclient/github/public/schemas/webhooksubissuesparentissueremoved.py +19 -0
- ccai/restclient/github/public/schemas/webhooksubissuessubissueadded.py +19 -0
- ccai/restclient/github/public/schemas/webhooksubissuessubissueremoved.py +19 -0
- ccai/restclient/github/public/schemas/webhooksuser.py +33 -0
- ccai/restclient/github/public/schemas/webhooksusermannequin.py +33 -0
- ccai/restclient/github/public/schemas/webhooksworkflow.py +19 -0
- ccai/restclient/github/public/schemas/webhooksworkflowjobrun.py +19 -0
- ccai/restclient/github/public/schemas/webhookteamadd.py +15 -0
- ccai/restclient/github/public/schemas/webhookteamaddedtorepository.py +18 -0
- ccai/restclient/github/public/schemas/webhookteamcreated.py +18 -0
- ccai/restclient/github/public/schemas/webhookteamdeleted.py +18 -0
- ccai/restclient/github/public/schemas/webhookteamedited.py +19 -0
- ccai/restclient/github/public/schemas/webhookteamremovedfromrepository.py +18 -0
- ccai/restclient/github/public/schemas/webhookwatchstarted.py +15 -0
- ccai/restclient/github/public/schemas/webhookworkflowdispatch.py +19 -0
- ccai/restclient/github/public/schemas/webhookworkflowjobcompleted.py +17 -0
- ccai/restclient/github/public/schemas/webhookworkflowjobinprogress.py +17 -0
- ccai/restclient/github/public/schemas/webhookworkflowjobqueued.py +19 -0
- ccai/restclient/github/public/schemas/webhookworkflowjobwaiting.py +19 -0
- ccai/restclient/github/public/schemas/webhookworkflowruncompleted.py +19 -0
- ccai/restclient/github/public/schemas/webhookworkflowruninprogress.py +19 -0
- ccai/restclient/github/public/schemas/webhookworkflowrunrequested.py +19 -0
- codecraftai_restclient_github_public-1.2.0.dist-info/METADATA +87 -0
- codecraftai_restclient_github_public-1.2.0.dist-info/RECORD +579 -0
- codecraftai_restclient_github_public-1.2.0.dist-info/WHEEL +4 -0
- codecraftai_restclient_github_public-1.2.0.dist-info/licenses/LICENSE.md +204 -0
|
@@ -0,0 +1,952 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any, Dict, List, Optional, Union
|
|
6
|
+
|
|
7
|
+
from ccai.interfaces.schemafield import Field
|
|
8
|
+
from ccai.interfaces.schemaobject import SchemaObject
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Activity(SchemaObject):
|
|
12
|
+
"""
|
|
13
|
+
Activity
|
|
14
|
+
"""
|
|
15
|
+
id = Field(int, required=True)
|
|
16
|
+
node_id = Field(str, required=True)
|
|
17
|
+
before = Field(str, required=True, description="The SHA of the commit before the activity.")
|
|
18
|
+
after = Field(str, required=True, description="The SHA of the commit after the activity.")
|
|
19
|
+
ref = Field(str, required=True, description="The full Git reference, formatted as `refs/heads/<branch name>`.")
|
|
20
|
+
timestamp = Field(str, required=True, description="The time when the activity occurred.")
|
|
21
|
+
activity_type = Field(str, required=True, description="The type of the activity that was performed.")
|
|
22
|
+
actor = Field("NullableSimpleUser", required=True)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class Autolink(SchemaObject):
|
|
26
|
+
"""
|
|
27
|
+
An autolink reference.
|
|
28
|
+
"""
|
|
29
|
+
id = Field(int, required=True)
|
|
30
|
+
key_prefix = Field(str, required=True, description="The prefix of a key that is linkified.")
|
|
31
|
+
url_template = Field(str, required=True, description="A template for the target URL that is generated if a key was found.")
|
|
32
|
+
is_alphanumeric = Field(bool, required=True, description="Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.")
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class BranchRestrictionPolicy(SchemaObject):
|
|
36
|
+
"""
|
|
37
|
+
Branch Restriction Policy
|
|
38
|
+
"""
|
|
39
|
+
url = Field(str, required=True)
|
|
40
|
+
users_url = Field(str, required=True)
|
|
41
|
+
teams_url = Field(str, required=True)
|
|
42
|
+
apps_url = Field(str, required=True)
|
|
43
|
+
users = Field(List[Dict[str, Any]], required=True)
|
|
44
|
+
teams = Field(List[Dict[str, Any]], required=True)
|
|
45
|
+
apps = Field(List[Dict[str, Any]], required=True)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class BranchShort(SchemaObject):
|
|
49
|
+
"""
|
|
50
|
+
Branch Short
|
|
51
|
+
"""
|
|
52
|
+
name = Field(str, required=True)
|
|
53
|
+
commit = Field(Dict[str, Any], required=True)
|
|
54
|
+
protected = Field(bool, required=True)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class CheckAutomatedSecurityFixes(SchemaObject):
|
|
58
|
+
"""
|
|
59
|
+
Check Dependabot security updates
|
|
60
|
+
"""
|
|
61
|
+
enabled = Field(bool, required=True, description="Whether Dependabot security updates are enabled for the repository.")
|
|
62
|
+
paused = Field(bool, required=True, description="Whether Dependabot security updates are paused for the repository.")
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class CloneTraffic(SchemaObject):
|
|
66
|
+
"""
|
|
67
|
+
Clone Traffic
|
|
68
|
+
"""
|
|
69
|
+
count = Field(int, required=True)
|
|
70
|
+
uniques = Field(int, required=True)
|
|
71
|
+
clones = Field(List["Traffic"], required=True)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class CodeownersErrors(SchemaObject):
|
|
75
|
+
"""
|
|
76
|
+
A list of errors found in a repo's CODEOWNERS file
|
|
77
|
+
"""
|
|
78
|
+
errors = Field(List[Dict[str, Any]], required=True)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class Collaborator(SchemaObject):
|
|
82
|
+
"""
|
|
83
|
+
Collaborator
|
|
84
|
+
"""
|
|
85
|
+
login = Field(str, required=True)
|
|
86
|
+
id = Field(int, required=True)
|
|
87
|
+
email = Field(Optional[str])
|
|
88
|
+
name = Field(Optional[str])
|
|
89
|
+
node_id = Field(str, required=True)
|
|
90
|
+
avatar_url = Field(str, required=True)
|
|
91
|
+
gravatar_id = Field(Optional[str], required=True)
|
|
92
|
+
url = Field(str, required=True)
|
|
93
|
+
html_url = Field(str, required=True)
|
|
94
|
+
followers_url = Field(str, required=True)
|
|
95
|
+
following_url = Field(str, required=True)
|
|
96
|
+
gists_url = Field(str, required=True)
|
|
97
|
+
starred_url = Field(str, required=True)
|
|
98
|
+
subscriptions_url = Field(str, required=True)
|
|
99
|
+
organizations_url = Field(str, required=True)
|
|
100
|
+
repos_url = Field(str, required=True)
|
|
101
|
+
events_url = Field(str, required=True)
|
|
102
|
+
received_events_url = Field(str, required=True)
|
|
103
|
+
type = Field(str, required=True)
|
|
104
|
+
site_admin = Field(bool, required=True)
|
|
105
|
+
permissions = Field(Dict[str, Any])
|
|
106
|
+
role_name = Field(str, required=True)
|
|
107
|
+
user_view_type = Field(str)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class CombinedCommitStatus(SchemaObject):
|
|
111
|
+
"""
|
|
112
|
+
Combined Commit Status
|
|
113
|
+
"""
|
|
114
|
+
state = Field(str, required=True)
|
|
115
|
+
statuses = Field(List["SimpleCommitStatus"], required=True)
|
|
116
|
+
sha = Field(str, required=True)
|
|
117
|
+
total_count = Field(int, required=True)
|
|
118
|
+
repository = Field("MinimalRepository", required=True)
|
|
119
|
+
commit_url = Field(str, required=True)
|
|
120
|
+
url = Field(str, required=True)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class CommitActivity(SchemaObject):
|
|
124
|
+
"""
|
|
125
|
+
Commit Activity
|
|
126
|
+
"""
|
|
127
|
+
days = Field(List[int], required=True)
|
|
128
|
+
total = Field(int, required=True)
|
|
129
|
+
week = Field(int, required=True)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class CommitComment(SchemaObject):
|
|
133
|
+
"""
|
|
134
|
+
Commit Comment
|
|
135
|
+
"""
|
|
136
|
+
html_url = Field(str, required=True)
|
|
137
|
+
url = Field(str, required=True)
|
|
138
|
+
id = Field(int, required=True)
|
|
139
|
+
node_id = Field(str, required=True)
|
|
140
|
+
body = Field(str, required=True)
|
|
141
|
+
path = Field(Optional[str], required=True)
|
|
142
|
+
position = Field(Optional[int], required=True)
|
|
143
|
+
line = Field(Optional[int], required=True)
|
|
144
|
+
commit_id = Field(str, required=True)
|
|
145
|
+
user = Field("NullableSimpleUser", required=True)
|
|
146
|
+
created_at = Field(str, required=True)
|
|
147
|
+
updated_at = Field(str, required=True)
|
|
148
|
+
author_association = Field(str, required=True)
|
|
149
|
+
reactions = Field(Dict[str, Any])
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
class CommitComparison(SchemaObject):
|
|
153
|
+
"""
|
|
154
|
+
Commit Comparison
|
|
155
|
+
"""
|
|
156
|
+
url = Field(str, required=True)
|
|
157
|
+
html_url = Field(str, required=True)
|
|
158
|
+
permalink_url = Field(str, required=True)
|
|
159
|
+
diff_url = Field(str, required=True)
|
|
160
|
+
patch_url = Field(str, required=True)
|
|
161
|
+
base_commit = Field("Commit", required=True)
|
|
162
|
+
merge_base_commit = Field("Commit", required=True)
|
|
163
|
+
status = Field(str, required=True)
|
|
164
|
+
ahead_by = Field(int, required=True)
|
|
165
|
+
behind_by = Field(int, required=True)
|
|
166
|
+
total_commits = Field(int, required=True)
|
|
167
|
+
commits = Field(List["Commit"], required=True)
|
|
168
|
+
files = Field(List["DiffEntry"])
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class CommunityProfile(SchemaObject):
|
|
172
|
+
"""
|
|
173
|
+
Community Profile
|
|
174
|
+
"""
|
|
175
|
+
health_percentage = Field(int, required=True)
|
|
176
|
+
description = Field(Optional[str], required=True)
|
|
177
|
+
documentation = Field(Optional[str], required=True)
|
|
178
|
+
files = Field(Dict[str, Any], required=True)
|
|
179
|
+
updated_at = Field(Optional[str], required=True)
|
|
180
|
+
content_reports_enabled = Field(bool)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class ContentFile(SchemaObject):
|
|
184
|
+
"""
|
|
185
|
+
Content File
|
|
186
|
+
"""
|
|
187
|
+
type = Field(str, required=True)
|
|
188
|
+
encoding = Field(str, required=True)
|
|
189
|
+
size = Field(int, required=True)
|
|
190
|
+
name = Field(str, required=True)
|
|
191
|
+
path = Field(str, required=True)
|
|
192
|
+
content = Field(str, required=True)
|
|
193
|
+
sha = Field(str, required=True)
|
|
194
|
+
url = Field(str, required=True)
|
|
195
|
+
git_url = Field(Optional[str], required=True)
|
|
196
|
+
html_url = Field(Optional[str], required=True)
|
|
197
|
+
download_url = Field(Optional[str], required=True)
|
|
198
|
+
links = Field(Dict[str, Any], required=True)
|
|
199
|
+
target = Field(str)
|
|
200
|
+
submodule_git_url = Field(str)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class ContentSubmodule(SchemaObject):
|
|
204
|
+
"""
|
|
205
|
+
An object describing a submodule
|
|
206
|
+
"""
|
|
207
|
+
type = Field(str, required=True)
|
|
208
|
+
submodule_git_url = Field(str, required=True)
|
|
209
|
+
size = Field(int, required=True)
|
|
210
|
+
name = Field(str, required=True)
|
|
211
|
+
path = Field(str, required=True)
|
|
212
|
+
sha = Field(str, required=True)
|
|
213
|
+
url = Field(str, required=True)
|
|
214
|
+
git_url = Field(Optional[str], required=True)
|
|
215
|
+
html_url = Field(Optional[str], required=True)
|
|
216
|
+
download_url = Field(Optional[str], required=True)
|
|
217
|
+
links = Field(Dict[str, Any], required=True)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
class ContentSymlink(SchemaObject):
|
|
221
|
+
"""
|
|
222
|
+
An object describing a symlink
|
|
223
|
+
"""
|
|
224
|
+
type = Field(str, required=True)
|
|
225
|
+
target = Field(str, required=True)
|
|
226
|
+
size = Field(int, required=True)
|
|
227
|
+
name = Field(str, required=True)
|
|
228
|
+
path = Field(str, required=True)
|
|
229
|
+
sha = Field(str, required=True)
|
|
230
|
+
url = Field(str, required=True)
|
|
231
|
+
git_url = Field(Optional[str], required=True)
|
|
232
|
+
html_url = Field(Optional[str], required=True)
|
|
233
|
+
download_url = Field(Optional[str], required=True)
|
|
234
|
+
links = Field(Dict[str, Any], required=True)
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
class ContentTraffic(SchemaObject):
|
|
238
|
+
"""
|
|
239
|
+
Content Traffic
|
|
240
|
+
"""
|
|
241
|
+
path = Field(str, required=True)
|
|
242
|
+
title = Field(str, required=True)
|
|
243
|
+
count = Field(int, required=True)
|
|
244
|
+
uniques = Field(int, required=True)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
class Contributor(SchemaObject):
|
|
248
|
+
"""
|
|
249
|
+
Contributor
|
|
250
|
+
"""
|
|
251
|
+
login = Field(str)
|
|
252
|
+
id = Field(int)
|
|
253
|
+
node_id = Field(str)
|
|
254
|
+
avatar_url = Field(str)
|
|
255
|
+
gravatar_id = Field(Optional[str])
|
|
256
|
+
url = Field(str)
|
|
257
|
+
html_url = Field(str)
|
|
258
|
+
followers_url = Field(str)
|
|
259
|
+
following_url = Field(str)
|
|
260
|
+
gists_url = Field(str)
|
|
261
|
+
starred_url = Field(str)
|
|
262
|
+
subscriptions_url = Field(str)
|
|
263
|
+
organizations_url = Field(str)
|
|
264
|
+
repos_url = Field(str)
|
|
265
|
+
events_url = Field(str)
|
|
266
|
+
received_events_url = Field(str)
|
|
267
|
+
type = Field(str, required=True)
|
|
268
|
+
site_admin = Field(bool)
|
|
269
|
+
contributions = Field(int, required=True)
|
|
270
|
+
email = Field(str)
|
|
271
|
+
name = Field(str)
|
|
272
|
+
user_view_type = Field(str)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
class ContributorActivity(SchemaObject):
|
|
276
|
+
"""
|
|
277
|
+
Contributor Activity
|
|
278
|
+
"""
|
|
279
|
+
author = Field("NullableSimpleUser", required=True)
|
|
280
|
+
total = Field(int, required=True)
|
|
281
|
+
weeks = Field(List[Dict[str, Any]], required=True)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
class CustomDeploymentRuleApp(SchemaObject):
|
|
285
|
+
"""
|
|
286
|
+
A GitHub App that is providing a custom deployment protection rule.
|
|
287
|
+
"""
|
|
288
|
+
id = Field(int, required=True, description="The unique identifier of the deployment protection rule integration.")
|
|
289
|
+
slug = Field(str, required=True, description="The slugified name of the deployment protection rule integration.")
|
|
290
|
+
integration_url = Field(str, required=True, description="The URL for the endpoint to get details about the app.")
|
|
291
|
+
node_id = Field(str, required=True, description="The node ID for the deployment protection rule integration.")
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
class DeployKey(SchemaObject):
|
|
295
|
+
"""
|
|
296
|
+
An SSH key granting access to a single repository.
|
|
297
|
+
"""
|
|
298
|
+
id = Field(int, required=True)
|
|
299
|
+
key = Field(str, required=True)
|
|
300
|
+
url = Field(str, required=True)
|
|
301
|
+
title = Field(str, required=True)
|
|
302
|
+
verified = Field(bool, required=True)
|
|
303
|
+
created_at = Field(str, required=True)
|
|
304
|
+
read_only = Field(bool, required=True)
|
|
305
|
+
added_by = Field(Optional[str])
|
|
306
|
+
last_used = Field(Optional[str])
|
|
307
|
+
enabled = Field(bool)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class DeploymentBranchPolicy(SchemaObject):
|
|
311
|
+
"""
|
|
312
|
+
Details of a deployment branch or tag policy.
|
|
313
|
+
"""
|
|
314
|
+
id = Field(int, description="The unique identifier of the branch or tag policy.")
|
|
315
|
+
node_id = Field(str)
|
|
316
|
+
name = Field(str, description="The name pattern that branches or tags must match in order to deploy to the environment.")
|
|
317
|
+
type = Field(str, description="Whether this rule targets a branch or tag.")
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class DeploymentBranchPolicyNamePattern(SchemaObject):
|
|
321
|
+
name = Field(str, required=True, description="The name pattern that branches must match in order to deploy to the environment. Wildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`. For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).")
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class DeploymentBranchPolicyNamePatternWithType(SchemaObject):
|
|
325
|
+
name = Field(str, required=True, description="The name pattern that branches or tags must match in order to deploy to the environment. Wildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`. For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).")
|
|
326
|
+
type = Field(str, description="Whether this rule targets a branch or tag")
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
class DeploymentBranchPolicySettings(SchemaObject):
|
|
330
|
+
"""
|
|
331
|
+
The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.
|
|
332
|
+
"""
|
|
333
|
+
protected_branches = Field(bool, required=True, description="Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`.")
|
|
334
|
+
custom_branch_policies = Field(bool, required=True, description="Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`.")
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
class DeploymentStatus(SchemaObject):
|
|
338
|
+
"""
|
|
339
|
+
The status of a deployment.
|
|
340
|
+
"""
|
|
341
|
+
url = Field(str, required=True)
|
|
342
|
+
id = Field(int, required=True)
|
|
343
|
+
node_id = Field(str, required=True)
|
|
344
|
+
state = Field(str, required=True, description="The state of the status.")
|
|
345
|
+
creator = Field("NullableSimpleUser", required=True)
|
|
346
|
+
description = Field(str, required=True, description="A short description of the status.")
|
|
347
|
+
environment = Field(str, description="The environment of the deployment that the status is for.")
|
|
348
|
+
target_url = Field(str, required=True, description="Closing down notice: the URL to associate with this status.")
|
|
349
|
+
created_at = Field(str, required=True)
|
|
350
|
+
updated_at = Field(str, required=True)
|
|
351
|
+
deployment_url = Field(str, required=True)
|
|
352
|
+
repository_url = Field(str, required=True)
|
|
353
|
+
environment_url = Field(str, description="The URL for accessing your environment.")
|
|
354
|
+
log_url = Field(str, description="The URL to associate with this status.")
|
|
355
|
+
performed_via_github_app = Field("NullableIntegration")
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
class FileCommit(SchemaObject):
|
|
359
|
+
"""
|
|
360
|
+
File Commit
|
|
361
|
+
"""
|
|
362
|
+
content = Field(Optional[Dict[str, Any]], required=True)
|
|
363
|
+
commit = Field(Dict[str, Any], required=True)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
class Hook(SchemaObject):
|
|
367
|
+
"""
|
|
368
|
+
Webhooks for repositories.
|
|
369
|
+
"""
|
|
370
|
+
type = Field(str, required=True)
|
|
371
|
+
id = Field(int, required=True, description="Unique identifier of the webhook.")
|
|
372
|
+
name = Field(str, required=True, description="The name of a valid service, use 'web' for a webhook.")
|
|
373
|
+
active = Field(bool, required=True, description="Determines whether the hook is actually triggered on pushes.")
|
|
374
|
+
events = Field(List[str], required=True, description="Determines what events the hook is triggered for. Default: ['push'].")
|
|
375
|
+
config = Field("WebhookConfig", required=True)
|
|
376
|
+
updated_at = Field(str, required=True)
|
|
377
|
+
created_at = Field(str, required=True)
|
|
378
|
+
url = Field(str, required=True)
|
|
379
|
+
test_url = Field(str, required=True)
|
|
380
|
+
ping_url = Field(str, required=True)
|
|
381
|
+
deliveries_url = Field(str)
|
|
382
|
+
last_response = Field("HookResponse", required=True)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class MergedUpstream(SchemaObject):
|
|
386
|
+
"""
|
|
387
|
+
Results of a successful merge upstream request
|
|
388
|
+
"""
|
|
389
|
+
message = Field(str)
|
|
390
|
+
merge_type = Field(str)
|
|
391
|
+
base_branch = Field(str)
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
class Page(SchemaObject):
|
|
395
|
+
"""
|
|
396
|
+
The configuration for GitHub Pages for a repository.
|
|
397
|
+
"""
|
|
398
|
+
url = Field(str, required=True, description="The API address for accessing this Page resource.")
|
|
399
|
+
status = Field(Optional[str], required=True, description="The status of the most recent build of the Page.")
|
|
400
|
+
cname = Field(Optional[str], required=True, description="The Pages site's custom domain")
|
|
401
|
+
protected_domain_state = Field(Optional[str], description="The state if the domain is verified")
|
|
402
|
+
pending_domain_unverified_at = Field(Optional[str], description="The timestamp when a pending domain becomes unverified.")
|
|
403
|
+
custom_404 = Field(bool, required=True, description="Whether the Page has a custom 404 page.")
|
|
404
|
+
html_url = Field(str, description="The web address the Page can be accessed from.")
|
|
405
|
+
build_type = Field(Optional[str], description="The process in which the Page will be built.")
|
|
406
|
+
source = Field("PagesSourceHash")
|
|
407
|
+
public = Field(bool, required=True, description="Whether the GitHub Pages site is publicly visible. If set to `true`, the site is accessible to anyone on the internet. If set to `false`, the site will only be accessible to users who have at least `read` access to the repository that published the site.")
|
|
408
|
+
https_certificate = Field("PagesHttpsCertificate")
|
|
409
|
+
https_enforced = Field(bool, description="Whether https is enabled on the domain")
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
class PageBuild(SchemaObject):
|
|
413
|
+
"""
|
|
414
|
+
Page Build
|
|
415
|
+
"""
|
|
416
|
+
url = Field(str, required=True)
|
|
417
|
+
status = Field(str, required=True)
|
|
418
|
+
error = Field(Dict[str, Any], required=True)
|
|
419
|
+
pusher = Field("NullableSimpleUser", required=True)
|
|
420
|
+
commit = Field(str, required=True)
|
|
421
|
+
duration = Field(int, required=True)
|
|
422
|
+
created_at = Field(str, required=True)
|
|
423
|
+
updated_at = Field(str, required=True)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
class PageDeployment(SchemaObject):
|
|
427
|
+
"""
|
|
428
|
+
The GitHub Pages deployment status.
|
|
429
|
+
"""
|
|
430
|
+
id = Field(Union[int, str], required=True, description="The ID of the GitHub Pages deployment. This is the Git SHA of the deployed commit.")
|
|
431
|
+
status_url = Field(str, required=True, description="The URI to monitor GitHub Pages deployment status.")
|
|
432
|
+
page_url = Field(str, required=True, description="The URI to the deployed GitHub Pages.")
|
|
433
|
+
preview_url = Field(str, description="The URI to the deployed GitHub Pages preview.")
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
class PagesDeploymentStatus(SchemaObject):
|
|
437
|
+
status = Field(str, description="The current status of the deployment.")
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
class PagesHealthCheck(SchemaObject):
|
|
441
|
+
"""
|
|
442
|
+
Pages Health Check Status
|
|
443
|
+
"""
|
|
444
|
+
domain = Field(Dict[str, Any])
|
|
445
|
+
alt_domain = Field(Optional[Dict[str, Any]])
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class ParticipationStats(SchemaObject):
|
|
449
|
+
all = Field(List[int], required=True)
|
|
450
|
+
owner = Field(List[int], required=True)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
class ProtectedBranchAdminEnforced(SchemaObject):
|
|
454
|
+
"""
|
|
455
|
+
Protected Branch Admin Enforced
|
|
456
|
+
"""
|
|
457
|
+
url = Field(str, required=True)
|
|
458
|
+
enabled = Field(bool, required=True)
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
class ProtectedBranchPullRequestReview(SchemaObject):
|
|
462
|
+
"""
|
|
463
|
+
Protected Branch Pull Request Review
|
|
464
|
+
"""
|
|
465
|
+
url = Field(str)
|
|
466
|
+
dismissal_restrictions = Field(Dict[str, Any])
|
|
467
|
+
bypass_pull_request_allowances = Field(Dict[str, Any], description="Allow specific users, teams, or apps to bypass pull request requirements.")
|
|
468
|
+
dismiss_stale_reviews = Field(bool, required=True)
|
|
469
|
+
require_code_owner_reviews = Field(bool, required=True)
|
|
470
|
+
required_approving_review_count = Field(int)
|
|
471
|
+
require_last_push_approval = Field(bool, description="Whether the most recent push must be approved by someone other than the person who pushed it.")
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
class ReferrerTraffic(SchemaObject):
|
|
475
|
+
"""
|
|
476
|
+
Referrer Traffic
|
|
477
|
+
"""
|
|
478
|
+
referrer = Field(str, required=True)
|
|
479
|
+
count = Field(int, required=True)
|
|
480
|
+
uniques = Field(int, required=True)
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
class ReleaseAsset(SchemaObject):
|
|
484
|
+
"""
|
|
485
|
+
Data related to a release.
|
|
486
|
+
"""
|
|
487
|
+
url = Field(str, required=True)
|
|
488
|
+
browser_download_url = Field(str, required=True)
|
|
489
|
+
id = Field(int, required=True)
|
|
490
|
+
node_id = Field(str, required=True)
|
|
491
|
+
name = Field(str, required=True, description="The file name of the asset.")
|
|
492
|
+
label = Field(Optional[str], required=True)
|
|
493
|
+
state = Field(str, required=True, description="State of the release asset.")
|
|
494
|
+
content_type = Field(str, required=True)
|
|
495
|
+
size = Field(int, required=True)
|
|
496
|
+
digest = Field(Optional[str], required=True)
|
|
497
|
+
download_count = Field(int, required=True)
|
|
498
|
+
created_at = Field(str, required=True)
|
|
499
|
+
updated_at = Field(str, required=True)
|
|
500
|
+
uploader = Field("NullableSimpleUser", required=True)
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
class ReleaseNotesContent(SchemaObject):
|
|
504
|
+
"""
|
|
505
|
+
Generated name and body describing a release
|
|
506
|
+
"""
|
|
507
|
+
name = Field(str, required=True, description="The generated name of the release")
|
|
508
|
+
body = Field(str, required=True, description="The generated body describing the contents of the release supporting markdown formatting")
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
class RepositoryCollaboratorPermission(SchemaObject):
|
|
512
|
+
"""
|
|
513
|
+
Repository Collaborator Permission
|
|
514
|
+
"""
|
|
515
|
+
permission = Field(str, required=True)
|
|
516
|
+
role_name = Field(str, required=True)
|
|
517
|
+
user = Field("NullableCollaborator", required=True)
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
class RepositoryInvitation(SchemaObject):
|
|
521
|
+
"""
|
|
522
|
+
Repository invitations let you manage who you collaborate with.
|
|
523
|
+
"""
|
|
524
|
+
id = Field(int, required=True, description="Unique identifier of the repository invitation.")
|
|
525
|
+
repository = Field("MinimalRepository", required=True)
|
|
526
|
+
invitee = Field("NullableSimpleUser", required=True)
|
|
527
|
+
inviter = Field("NullableSimpleUser", required=True)
|
|
528
|
+
permissions = Field(str, required=True, description="The permission associated with the invitation.")
|
|
529
|
+
created_at = Field(str, required=True)
|
|
530
|
+
expired = Field(bool, description="Whether or not the invitation has expired")
|
|
531
|
+
url = Field(str, required=True, description="URL for the repository invitation")
|
|
532
|
+
html_url = Field(str, required=True)
|
|
533
|
+
node_id = Field(str, required=True)
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
class RepositoryRulesetBypassActor(SchemaObject):
|
|
537
|
+
"""
|
|
538
|
+
An actor that can bypass rules in a ruleset
|
|
539
|
+
"""
|
|
540
|
+
actor_id = Field(Optional[int], description="The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.")
|
|
541
|
+
actor_type = Field(str, required=True, description="The type of actor that can bypass a ruleset.")
|
|
542
|
+
bypass_mode = Field(str, description="When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.")
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
class RepositoryRulesetConditions(SchemaObject):
|
|
546
|
+
"""
|
|
547
|
+
Parameters for a repository ruleset ref name condition
|
|
548
|
+
"""
|
|
549
|
+
ref_name = Field(Dict[str, Any])
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
class RuleSuite(SchemaObject):
|
|
553
|
+
"""
|
|
554
|
+
Response
|
|
555
|
+
"""
|
|
556
|
+
id = Field(int, description="The unique identifier of the rule insight.")
|
|
557
|
+
actor_id = Field(Optional[int], description="The number that identifies the user.")
|
|
558
|
+
actor_name = Field(Optional[str], description="The handle for the GitHub user account.")
|
|
559
|
+
before_sha = Field(str, description="The first commit sha before the push evaluation.")
|
|
560
|
+
after_sha = Field(str, description="The last commit sha in the push evaluation.")
|
|
561
|
+
ref = Field(str, description="The ref name that the evaluation ran on.")
|
|
562
|
+
repository_id = Field(int, description="The ID of the repository associated with the rule evaluation.")
|
|
563
|
+
repository_name = Field(str, description="The name of the repository without the `.git` extension.")
|
|
564
|
+
pushed_at = Field(str)
|
|
565
|
+
result = Field(str, description="The result of the rule evaluations for rules with the `active` enforcement status.")
|
|
566
|
+
evaluation_result = Field(Optional[str], description="The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.")
|
|
567
|
+
rule_evaluations = Field(List[Dict[str, Any]], description="Details on the evaluated rules.")
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
class SimpleUser(SchemaObject):
|
|
571
|
+
"""
|
|
572
|
+
A GitHub user.
|
|
573
|
+
"""
|
|
574
|
+
name = Field(Optional[str])
|
|
575
|
+
email = Field(Optional[str])
|
|
576
|
+
login = Field(str, required=True)
|
|
577
|
+
id = Field(int, required=True)
|
|
578
|
+
node_id = Field(str, required=True)
|
|
579
|
+
avatar_url = Field(str, required=True)
|
|
580
|
+
gravatar_id = Field(Optional[str], required=True)
|
|
581
|
+
url = Field(str, required=True)
|
|
582
|
+
html_url = Field(str, required=True)
|
|
583
|
+
followers_url = Field(str, required=True)
|
|
584
|
+
following_url = Field(str, required=True)
|
|
585
|
+
gists_url = Field(str, required=True)
|
|
586
|
+
starred_url = Field(str, required=True)
|
|
587
|
+
subscriptions_url = Field(str, required=True)
|
|
588
|
+
organizations_url = Field(str, required=True)
|
|
589
|
+
repos_url = Field(str, required=True)
|
|
590
|
+
events_url = Field(str, required=True)
|
|
591
|
+
received_events_url = Field(str, required=True)
|
|
592
|
+
type = Field(str, required=True)
|
|
593
|
+
site_admin = Field(bool, required=True)
|
|
594
|
+
starred_at = Field(str)
|
|
595
|
+
user_view_type = Field(str)
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class Status(SchemaObject):
|
|
599
|
+
"""
|
|
600
|
+
The status of a commit.
|
|
601
|
+
"""
|
|
602
|
+
url = Field(str, required=True)
|
|
603
|
+
avatar_url = Field(Optional[str], required=True)
|
|
604
|
+
id = Field(int, required=True)
|
|
605
|
+
node_id = Field(str, required=True)
|
|
606
|
+
state = Field(str, required=True)
|
|
607
|
+
description = Field(Optional[str], required=True)
|
|
608
|
+
target_url = Field(Optional[str], required=True)
|
|
609
|
+
context = Field(str, required=True)
|
|
610
|
+
created_at = Field(str, required=True)
|
|
611
|
+
updated_at = Field(str, required=True)
|
|
612
|
+
creator = Field("NullableSimpleUser", required=True)
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
class StatusCheckPolicy(SchemaObject):
|
|
616
|
+
"""
|
|
617
|
+
Status Check Policy
|
|
618
|
+
"""
|
|
619
|
+
url = Field(str, required=True)
|
|
620
|
+
strict = Field(bool, required=True)
|
|
621
|
+
contexts = Field(List[str], required=True)
|
|
622
|
+
checks = Field(List[Dict[str, Any]], required=True)
|
|
623
|
+
contexts_url = Field(str, required=True)
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class Tag(SchemaObject):
|
|
627
|
+
"""
|
|
628
|
+
Tag
|
|
629
|
+
"""
|
|
630
|
+
name = Field(str, required=True)
|
|
631
|
+
commit = Field(Dict[str, Any], required=True)
|
|
632
|
+
zipball_url = Field(str, required=True)
|
|
633
|
+
tarball_url = Field(str, required=True)
|
|
634
|
+
node_id = Field(str, required=True)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class TagProtection(SchemaObject):
|
|
638
|
+
"""
|
|
639
|
+
Tag protection
|
|
640
|
+
"""
|
|
641
|
+
id = Field(int)
|
|
642
|
+
created_at = Field(str)
|
|
643
|
+
updated_at = Field(str)
|
|
644
|
+
enabled = Field(bool)
|
|
645
|
+
pattern = Field(str, required=True)
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
class Team(SchemaObject):
|
|
649
|
+
"""
|
|
650
|
+
Groups of organization members that gives permissions on specified repositories.
|
|
651
|
+
"""
|
|
652
|
+
id = Field(int, required=True)
|
|
653
|
+
node_id = Field(str, required=True)
|
|
654
|
+
name = Field(str, required=True)
|
|
655
|
+
slug = Field(str, required=True)
|
|
656
|
+
description = Field(Optional[str], required=True)
|
|
657
|
+
privacy = Field(str)
|
|
658
|
+
notification_setting = Field(str)
|
|
659
|
+
permission = Field(str, required=True)
|
|
660
|
+
permissions = Field(Dict[str, Any])
|
|
661
|
+
url = Field(str, required=True)
|
|
662
|
+
html_url = Field(str, required=True)
|
|
663
|
+
members_url = Field(str, required=True)
|
|
664
|
+
repositories_url = Field(str, required=True)
|
|
665
|
+
parent = Field("NullableTeamSimple", required=True)
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
class Topic(SchemaObject):
|
|
669
|
+
"""
|
|
670
|
+
A topic aggregates entities that are related to a subject.
|
|
671
|
+
"""
|
|
672
|
+
names = Field(List[str], required=True)
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
class ViewTraffic(SchemaObject):
|
|
676
|
+
"""
|
|
677
|
+
View Traffic
|
|
678
|
+
"""
|
|
679
|
+
count = Field(int, required=True)
|
|
680
|
+
uniques = Field(int, required=True)
|
|
681
|
+
views = Field(List["Traffic"], required=True)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class BranchProtection(SchemaObject):
|
|
685
|
+
"""
|
|
686
|
+
Branch Protection
|
|
687
|
+
"""
|
|
688
|
+
url = Field(str)
|
|
689
|
+
enabled = Field(bool)
|
|
690
|
+
required_status_checks = Field("ProtectedBranchRequiredStatusCheck")
|
|
691
|
+
enforce_admins = Field("ProtectedBranchAdminEnforced")
|
|
692
|
+
required_pull_request_reviews = Field("ProtectedBranchPullRequestReview")
|
|
693
|
+
restrictions = Field("BranchRestrictionPolicy")
|
|
694
|
+
required_linear_history = Field(Dict[str, Any])
|
|
695
|
+
allow_force_pushes = Field(Dict[str, Any])
|
|
696
|
+
allow_deletions = Field(Dict[str, Any])
|
|
697
|
+
block_creations = Field(Dict[str, Any])
|
|
698
|
+
required_conversation_resolution = Field(Dict[str, Any])
|
|
699
|
+
name = Field(str)
|
|
700
|
+
protection_url = Field(str)
|
|
701
|
+
required_signatures = Field(Dict[str, Any])
|
|
702
|
+
lock_branch = Field(Dict[str, Any], description="Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.")
|
|
703
|
+
allow_fork_syncing = Field(Dict[str, Any], description="Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.")
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
class DeploymentProtectionRule(SchemaObject):
|
|
707
|
+
"""
|
|
708
|
+
Deployment protection rule
|
|
709
|
+
"""
|
|
710
|
+
id = Field(int, required=True, description="The unique identifier for the deployment protection rule.")
|
|
711
|
+
node_id = Field(str, required=True, description="The node ID for the deployment protection rule.")
|
|
712
|
+
enabled = Field(bool, required=True, description="Whether the deployment protection rule is enabled for the environment.")
|
|
713
|
+
app = Field("CustomDeploymentRuleApp", required=True)
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
class Environment(SchemaObject):
|
|
717
|
+
"""
|
|
718
|
+
Details of a deployment environment
|
|
719
|
+
"""
|
|
720
|
+
id = Field(int, required=True, description="The id of the environment.")
|
|
721
|
+
node_id = Field(str, required=True)
|
|
722
|
+
name = Field(str, required=True, description="The name of the environment.")
|
|
723
|
+
url = Field(str, required=True)
|
|
724
|
+
html_url = Field(str, required=True)
|
|
725
|
+
created_at = Field(str, required=True, description="The time that the environment was created, in ISO 8601 format.")
|
|
726
|
+
updated_at = Field(str, required=True, description="The time that the environment was last updated, in ISO 8601 format.")
|
|
727
|
+
protection_rules = Field(List[Union[Dict[str, Any], Dict[str, Any], Dict[str, Any]]], description="Built-in deployment protection rules for the environment.")
|
|
728
|
+
deployment_branch_policy = Field("DeploymentBranchPolicySettings")
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
class FullRepository(SchemaObject):
|
|
732
|
+
"""
|
|
733
|
+
Full Repository
|
|
734
|
+
"""
|
|
735
|
+
id = Field(int, required=True)
|
|
736
|
+
node_id = Field(str, required=True)
|
|
737
|
+
name = Field(str, required=True)
|
|
738
|
+
full_name = Field(str, required=True)
|
|
739
|
+
owner = Field("SimpleUser", required=True)
|
|
740
|
+
private = Field(bool, required=True)
|
|
741
|
+
html_url = Field(str, required=True)
|
|
742
|
+
description = Field(Optional[str], required=True)
|
|
743
|
+
fork = Field(bool, required=True)
|
|
744
|
+
url = Field(str, required=True)
|
|
745
|
+
archive_url = Field(str, required=True)
|
|
746
|
+
assignees_url = Field(str, required=True)
|
|
747
|
+
blobs_url = Field(str, required=True)
|
|
748
|
+
branches_url = Field(str, required=True)
|
|
749
|
+
collaborators_url = Field(str, required=True)
|
|
750
|
+
comments_url = Field(str, required=True)
|
|
751
|
+
commits_url = Field(str, required=True)
|
|
752
|
+
compare_url = Field(str, required=True)
|
|
753
|
+
contents_url = Field(str, required=True)
|
|
754
|
+
contributors_url = Field(str, required=True)
|
|
755
|
+
deployments_url = Field(str, required=True)
|
|
756
|
+
downloads_url = Field(str, required=True)
|
|
757
|
+
events_url = Field(str, required=True)
|
|
758
|
+
forks_url = Field(str, required=True)
|
|
759
|
+
git_commits_url = Field(str, required=True)
|
|
760
|
+
git_refs_url = Field(str, required=True)
|
|
761
|
+
git_tags_url = Field(str, required=True)
|
|
762
|
+
git_url = Field(str, required=True)
|
|
763
|
+
issue_comment_url = Field(str, required=True)
|
|
764
|
+
issue_events_url = Field(str, required=True)
|
|
765
|
+
issues_url = Field(str, required=True)
|
|
766
|
+
keys_url = Field(str, required=True)
|
|
767
|
+
labels_url = Field(str, required=True)
|
|
768
|
+
languages_url = Field(str, required=True)
|
|
769
|
+
merges_url = Field(str, required=True)
|
|
770
|
+
milestones_url = Field(str, required=True)
|
|
771
|
+
notifications_url = Field(str, required=True)
|
|
772
|
+
pulls_url = Field(str, required=True)
|
|
773
|
+
releases_url = Field(str, required=True)
|
|
774
|
+
ssh_url = Field(str, required=True)
|
|
775
|
+
stargazers_url = Field(str, required=True)
|
|
776
|
+
statuses_url = Field(str, required=True)
|
|
777
|
+
subscribers_url = Field(str, required=True)
|
|
778
|
+
subscription_url = Field(str, required=True)
|
|
779
|
+
tags_url = Field(str, required=True)
|
|
780
|
+
teams_url = Field(str, required=True)
|
|
781
|
+
trees_url = Field(str, required=True)
|
|
782
|
+
clone_url = Field(str, required=True)
|
|
783
|
+
mirror_url = Field(Optional[str], required=True)
|
|
784
|
+
hooks_url = Field(str, required=True)
|
|
785
|
+
svn_url = Field(str, required=True)
|
|
786
|
+
homepage = Field(Optional[str], required=True)
|
|
787
|
+
language = Field(Optional[str], required=True)
|
|
788
|
+
forks_count = Field(int, required=True)
|
|
789
|
+
stargazers_count = Field(int, required=True)
|
|
790
|
+
watchers_count = Field(int, required=True)
|
|
791
|
+
size = Field(int, required=True, description="The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.")
|
|
792
|
+
default_branch = Field(str, required=True)
|
|
793
|
+
open_issues_count = Field(int, required=True)
|
|
794
|
+
is_template = Field(bool)
|
|
795
|
+
topics = Field(List[str])
|
|
796
|
+
has_issues = Field(bool, required=True)
|
|
797
|
+
has_projects = Field(bool, required=True)
|
|
798
|
+
has_wiki = Field(bool, required=True)
|
|
799
|
+
has_pages = Field(bool, required=True)
|
|
800
|
+
has_downloads = Field(bool)
|
|
801
|
+
has_discussions = Field(bool, required=True)
|
|
802
|
+
archived = Field(bool, required=True)
|
|
803
|
+
disabled = Field(bool, required=True, description="Returns whether or not this repository disabled.")
|
|
804
|
+
visibility = Field(str, description="The repository visibility: public, private, or internal.")
|
|
805
|
+
pushed_at = Field(str, required=True)
|
|
806
|
+
created_at = Field(str, required=True)
|
|
807
|
+
updated_at = Field(str, required=True)
|
|
808
|
+
permissions = Field(Dict[str, Any])
|
|
809
|
+
allow_rebase_merge = Field(bool)
|
|
810
|
+
template_repository = Field("NullableRepository")
|
|
811
|
+
temp_clone_token = Field(Optional[str])
|
|
812
|
+
allow_squash_merge = Field(bool)
|
|
813
|
+
allow_auto_merge = Field(bool)
|
|
814
|
+
delete_branch_on_merge = Field(bool)
|
|
815
|
+
allow_merge_commit = Field(bool)
|
|
816
|
+
allow_update_branch = Field(bool)
|
|
817
|
+
use_squash_pr_title_as_default = Field(bool)
|
|
818
|
+
squash_merge_commit_title = Field(str, description="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).")
|
|
819
|
+
squash_merge_commit_message = Field(str, description="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.")
|
|
820
|
+
merge_commit_title = Field(str, description="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).")
|
|
821
|
+
merge_commit_message = Field(str, description="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.")
|
|
822
|
+
allow_forking = Field(bool)
|
|
823
|
+
web_commit_signoff_required = Field(bool)
|
|
824
|
+
subscribers_count = Field(int, required=True)
|
|
825
|
+
network_count = Field(int, required=True)
|
|
826
|
+
license = Field("NullableLicenseSimple", required=True)
|
|
827
|
+
organization = Field("NullableSimpleUser")
|
|
828
|
+
parent = Field("Repository")
|
|
829
|
+
source = Field("Repository")
|
|
830
|
+
forks = Field(int, required=True)
|
|
831
|
+
master_branch = Field(str)
|
|
832
|
+
open_issues = Field(int, required=True)
|
|
833
|
+
watchers = Field(int, required=True)
|
|
834
|
+
anonymous_access_enabled = Field(bool, description="Whether anonymous git access is allowed.")
|
|
835
|
+
code_of_conduct = Field("CodeOfConductSimple")
|
|
836
|
+
security_and_analysis = Field("SecurityAndAnalysis")
|
|
837
|
+
custom_properties = Field(Dict[str, Any], description="The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.")
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
class Integration(SchemaObject):
|
|
841
|
+
"""
|
|
842
|
+
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
|
|
843
|
+
"""
|
|
844
|
+
id = Field(int, required=True, description="Unique identifier of the GitHub app")
|
|
845
|
+
slug = Field(str, description="The slug name of the GitHub app")
|
|
846
|
+
node_id = Field(str, required=True)
|
|
847
|
+
client_id = Field(str)
|
|
848
|
+
owner = Field(Union["SimpleUser", "Enterprise"], required=True)
|
|
849
|
+
name = Field(str, required=True, description="The name of the GitHub app")
|
|
850
|
+
description = Field(Optional[str], required=True)
|
|
851
|
+
external_url = Field(str, required=True)
|
|
852
|
+
html_url = Field(str, required=True)
|
|
853
|
+
created_at = Field(str, required=True)
|
|
854
|
+
updated_at = Field(str, required=True)
|
|
855
|
+
permissions = Field(Dict[str, Any], required=True, description="The set of permissions for the GitHub app")
|
|
856
|
+
events = Field(List[str], required=True, description="The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.")
|
|
857
|
+
installations_count = Field(int, description="The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.")
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
class ProtectedBranch(SchemaObject):
|
|
861
|
+
"""
|
|
862
|
+
Branch protections protect branches
|
|
863
|
+
"""
|
|
864
|
+
url = Field(str, required=True)
|
|
865
|
+
required_status_checks = Field("StatusCheckPolicy")
|
|
866
|
+
required_pull_request_reviews = Field(Dict[str, Any])
|
|
867
|
+
required_signatures = Field(Dict[str, Any])
|
|
868
|
+
enforce_admins = Field(Dict[str, Any])
|
|
869
|
+
required_linear_history = Field(Dict[str, Any])
|
|
870
|
+
allow_force_pushes = Field(Dict[str, Any])
|
|
871
|
+
allow_deletions = Field(Dict[str, Any])
|
|
872
|
+
restrictions = Field("BranchRestrictionPolicy")
|
|
873
|
+
required_conversation_resolution = Field(Dict[str, Any])
|
|
874
|
+
block_creations = Field(Dict[str, Any])
|
|
875
|
+
lock_branch = Field(Dict[str, Any], description="Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.")
|
|
876
|
+
allow_fork_syncing = Field(Dict[str, Any], description="Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.")
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
class Release(SchemaObject):
|
|
880
|
+
"""
|
|
881
|
+
A release.
|
|
882
|
+
"""
|
|
883
|
+
url = Field(str, required=True)
|
|
884
|
+
html_url = Field(str, required=True)
|
|
885
|
+
assets_url = Field(str, required=True)
|
|
886
|
+
upload_url = Field(str, required=True)
|
|
887
|
+
tarball_url = Field(Optional[str], required=True)
|
|
888
|
+
zipball_url = Field(Optional[str], required=True)
|
|
889
|
+
id = Field(int, required=True)
|
|
890
|
+
node_id = Field(str, required=True)
|
|
891
|
+
tag_name = Field(str, required=True, description="The name of the tag.")
|
|
892
|
+
target_commitish = Field(str, required=True, description="Specifies the commitish value that determines where the Git tag is created from.")
|
|
893
|
+
name = Field(Optional[str], required=True)
|
|
894
|
+
body = Field(Optional[str])
|
|
895
|
+
draft = Field(bool, required=True, description="true to create a draft (unpublished) release, false to create a published one.")
|
|
896
|
+
prerelease = Field(bool, required=True, description="Whether to identify the release as a prerelease or a full release.")
|
|
897
|
+
immutable = Field(bool, description="Whether or not the release is immutable.")
|
|
898
|
+
created_at = Field(str, required=True)
|
|
899
|
+
published_at = Field(Optional[str], required=True)
|
|
900
|
+
updated_at = Field(Optional[str])
|
|
901
|
+
author = Field("SimpleUser", required=True)
|
|
902
|
+
assets = Field(List["ReleaseAsset"], required=True)
|
|
903
|
+
body_html = Field(str)
|
|
904
|
+
body_text = Field(str)
|
|
905
|
+
mentions_count = Field(int)
|
|
906
|
+
discussion_url = Field(str, description="The URL of the release discussion.")
|
|
907
|
+
reactions = Field(Dict[str, Any])
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class RepositoryRuleset(SchemaObject):
|
|
911
|
+
"""
|
|
912
|
+
A set of rules to apply when specified conditions are met.
|
|
913
|
+
"""
|
|
914
|
+
id = Field(int, required=True, description="The ID of the ruleset")
|
|
915
|
+
name = Field(str, required=True, description="The name of the ruleset")
|
|
916
|
+
target = Field(str, description="The target of the ruleset")
|
|
917
|
+
source_type = Field(str, description="The type of the source of the ruleset")
|
|
918
|
+
source = Field(str, required=True, description="The name of the source")
|
|
919
|
+
enforcement = Field(str, required=True)
|
|
920
|
+
bypass_actors = Field(List["RepositoryRulesetBypassActor"], description="The actors that can bypass the rules in this ruleset")
|
|
921
|
+
current_user_can_bypass = Field(str, description="The bypass type of the user making the API request for this ruleset. This field is only returned when querying the repository-level endpoint.")
|
|
922
|
+
node_id = Field(str)
|
|
923
|
+
links = Field(Dict[str, Any])
|
|
924
|
+
conditions = Field(Optional[Union["RepositoryRulesetConditions", Union[Dict[str, Any], Dict[str, Any], Dict[str, Any]]]])
|
|
925
|
+
rules = Field(List[Union["RepositoryRuleCreation", "RepositoryRuleUpdate", "RepositoryRuleDeletion", "RepositoryRuleRequiredLinearHistory", "RepositoryRuleMergeQueue", "RepositoryRuleRequiredDeployments", "RepositoryRuleRequiredSignatures", "RepositoryRulePullRequest", "RepositoryRuleRequiredStatusChecks", "RepositoryRuleNonFastForward", "RepositoryRuleCommitMessagePattern", "RepositoryRuleCommitAuthorEmailPattern", "RepositoryRuleCommitterEmailPattern", "RepositoryRuleBranchNamePattern", "RepositoryRuleTagNamePattern", "RepositoryRuleFilePathRestriction", "RepositoryRuleMaxFilePathLength", "RepositoryRuleFileExtensionRestriction", "RepositoryRuleMaxFileSize", "RepositoryRuleWorkflows", "RepositoryRuleCodeScanning"]])
|
|
926
|
+
created_at = Field(str)
|
|
927
|
+
updated_at = Field(str)
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
class BranchWithProtection(SchemaObject):
|
|
931
|
+
"""
|
|
932
|
+
Branch With Protection
|
|
933
|
+
"""
|
|
934
|
+
name = Field(str, required=True)
|
|
935
|
+
commit = Field("Commit", required=True)
|
|
936
|
+
links = Field(Dict[str, Any], required=True)
|
|
937
|
+
protected = Field(bool, required=True)
|
|
938
|
+
protection = Field("BranchProtection", required=True)
|
|
939
|
+
protection_url = Field(str, required=True)
|
|
940
|
+
pattern = Field(str)
|
|
941
|
+
required_approving_review_count = Field(int)
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
class ShortBranch(SchemaObject):
|
|
945
|
+
"""
|
|
946
|
+
Short Branch
|
|
947
|
+
"""
|
|
948
|
+
name = Field(str, required=True)
|
|
949
|
+
commit = Field(Dict[str, Any], required=True)
|
|
950
|
+
protected = Field(bool, required=True)
|
|
951
|
+
protection = Field("BranchProtection")
|
|
952
|
+
protection_url = Field(str)
|