From 7349b14ddd972a3d095c892d28838d126fbf6be9 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Tue, 13 Aug 2024 00:08:39 +0000 Subject: [PATCH] New updates to generated code --- pkg/github/kiota-lock.json | 2 +- .../models/repository_ruleset_bypass_actor_actor_type.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/github/kiota-lock.json b/pkg/github/kiota-lock.json index a53e9073..2454be91 100644 --- a/pkg/github/kiota-lock.json +++ b/pkg/github/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "F7F8248C45DF0A091DD3753E2D37F67A791440C92D2259591AFC4F36EB455930AEE0C5C47F96144EF275A8478E90C821EEAC411467FD25867A4AC2E992A0DD64", + "descriptionHash": "42630C0DDFA67D3B09011BD79A8AF6A0ADF8ADDCACE743727781B6FA96E24C606120BF6FF5B99C436A8D4CBC381990F1A61E28302AB71CE24E79650C976C013F", "descriptionLocation": "../../../../../schemas/api.github.com.json", "lockFileVersion": "1.0.0", "kiotaVersion": "1.14.0", diff --git a/pkg/github/models/repository_ruleset_bypass_actor_actor_type.go b/pkg/github/models/repository_ruleset_bypass_actor_actor_type.go index e6b3f602..42742b1b 100644 --- a/pkg/github/models/repository_ruleset_bypass_actor_actor_type.go +++ b/pkg/github/models/repository_ruleset_bypass_actor_actor_type.go @@ -11,10 +11,11 @@ const ( REPOSITORYROLE_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE TEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE DEPLOYKEY_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + ENTERPRISETEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE ) func (i RepositoryRulesetBypassActor_actor_type) String() string { - return []string{"Integration", "OrganizationAdmin", "RepositoryRole", "Team", "DeployKey"}[i] + return []string{"Integration", "OrganizationAdmin", "RepositoryRole", "Team", "DeployKey", "EnterpriseTeam"}[i] } func ParseRepositoryRulesetBypassActor_actor_type(v string) (any, error) { result := INTEGRATION_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE @@ -29,6 +30,8 @@ func ParseRepositoryRulesetBypassActor_actor_type(v string) (any, error) { result = TEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE case "DeployKey": result = DEPLOYKEY_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + case "EnterpriseTeam": + result = ENTERPRISETEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE default: return 0, errors.New("Unknown RepositoryRulesetBypassActor_actor_type value: " + v) }