diff --git a/pkg/github/kiota-lock.json b/pkg/github/kiota-lock.json index f7cef75f..184569c3 100644 --- a/pkg/github/kiota-lock.json +++ b/pkg/github/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8AA39F9EFC8AECDF973BAADED3494F2713E7379294934AED89D982E37426A4BDBC1269212AFE549DFF33B374670AA02E680173443807BD8126022F444762FEB8", + "descriptionHash": "BCBB3EBFF291241E01FAD8E0C6FB250C6A33437D878C8B72E69A75E886CAD1B05A1633435433950DF918B0E06B173044E905A79A8137E2086C4A88A34F8865BA", "descriptionLocation": "../../../source-generator/schemas/downloaded.json", "lockFileVersion": "1.0.0", "kiotaVersion": "1.13.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 700463ea..98d2a911 100644 --- a/pkg/github/models/repository_ruleset_bypass_actor_actor_type.go +++ b/pkg/github/models/repository_ruleset_bypass_actor_actor_type.go @@ -6,26 +6,26 @@ import ( type RepositoryRulesetBypassActor_actor_type int const ( - REPOSITORYROLE_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE RepositoryRulesetBypassActor_actor_type = iota - TEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE - INTEGRATION_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + INTEGRATION_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE RepositoryRulesetBypassActor_actor_type = iota ORGANIZATIONADMIN_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + REPOSITORYROLE_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + TEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE ) func (i RepositoryRulesetBypassActor_actor_type) String() string { - return []string{"RepositoryRole", "Team", "Integration", "OrganizationAdmin"}[i] + return []string{"Integration", "OrganizationAdmin", "RepositoryRole", "Team"}[i] } func ParseRepositoryRulesetBypassActor_actor_type(v string) (any, error) { - result := REPOSITORYROLE_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + result := INTEGRATION_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE switch v { - case "RepositoryRole": - result = REPOSITORYROLE_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE - case "Team": - result = TEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE case "Integration": result = INTEGRATION_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE case "OrganizationAdmin": result = ORGANIZATIONADMIN_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + case "RepositoryRole": + result = REPOSITORYROLE_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE + case "Team": + result = TEAM_REPOSITORYRULESETBYPASSACTOR_ACTOR_TYPE default: return 0, errors.New("Unknown RepositoryRulesetBypassActor_actor_type value: " + v) }