Skip to content

Commit

Permalink
New updates to generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Aug 13, 2024
1 parent 598f3b3 commit 7349b14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/github/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "F7F8248C45DF0A091DD3753E2D37F67A791440C92D2259591AFC4F36EB455930AEE0C5C47F96144EF275A8478E90C821EEAC411467FD25867A4AC2E992A0DD64",
"descriptionHash": "42630C0DDFA67D3B09011BD79A8AF6A0ADF8ADDCACE743727781B6FA96E24C606120BF6FF5B99C436A8D4CBC381990F1A61E28302AB71CE24E79650C976C013F",
"descriptionLocation": "../../../../../schemas/api.github.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.14.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
}
Expand Down

0 comments on commit 7349b14

Please sign in to comment.