-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New updates to generated code * New updates to generated code * New updates to generated code
- Loading branch information
1 parent
fb7cb7c
commit 617486c
Showing
8 changed files
with
2,646 additions
and
2,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
pkg/github/models/copilot_organization_details_escaped_plan_escaped_type.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package models | ||
// The Copilot plan of the organization, or the parent enterprise, when applicable. | ||
type CopilotOrganizationDetails_plan_type int | ||
|
||
const ( | ||
BUSINESS_COPILOTORGANIZATIONDETAILS_PLAN_TYPE CopilotOrganizationDetails_plan_type = iota | ||
ENTERPRISE_COPILOTORGANIZATIONDETAILS_PLAN_TYPE | ||
UNKNOWN_COPILOTORGANIZATIONDETAILS_PLAN_TYPE | ||
) | ||
|
||
func (i CopilotOrganizationDetails_plan_type) String() string { | ||
return []string{"business", "enterprise", "unknown"}[i] | ||
} | ||
func ParseCopilotOrganizationDetails_plan_type(v string) (any, error) { | ||
result := BUSINESS_COPILOTORGANIZATIONDETAILS_PLAN_TYPE | ||
switch v { | ||
case "business": | ||
result = BUSINESS_COPILOTORGANIZATIONDETAILS_PLAN_TYPE | ||
case "enterprise": | ||
result = ENTERPRISE_COPILOTORGANIZATIONDETAILS_PLAN_TYPE | ||
case "unknown": | ||
result = UNKNOWN_COPILOTORGANIZATIONDETAILS_PLAN_TYPE | ||
default: | ||
return nil, nil | ||
} | ||
return &result, nil | ||
} | ||
func SerializeCopilotOrganizationDetails_plan_type(values []CopilotOrganizationDetails_plan_type) []string { | ||
result := make([]string, len(values)) | ||
for i, v := range values { | ||
result[i] = v.String() | ||
} | ||
return result | ||
} | ||
func (i CopilotOrganizationDetails_plan_type) isMultiValue() bool { | ||
return false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
pkg/github/models/copilot_seat_details_escaped_plan_escaped_type.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package models | ||
// The Copilot plan of the organization, or the parent enterprise, when applicable. | ||
type CopilotSeatDetails_plan_type int | ||
|
||
const ( | ||
BUSINESS_COPILOTSEATDETAILS_PLAN_TYPE CopilotSeatDetails_plan_type = iota | ||
ENTERPRISE_COPILOTSEATDETAILS_PLAN_TYPE | ||
UNKNOWN_COPILOTSEATDETAILS_PLAN_TYPE | ||
) | ||
|
||
func (i CopilotSeatDetails_plan_type) String() string { | ||
return []string{"business", "enterprise", "unknown"}[i] | ||
} | ||
func ParseCopilotSeatDetails_plan_type(v string) (any, error) { | ||
result := BUSINESS_COPILOTSEATDETAILS_PLAN_TYPE | ||
switch v { | ||
case "business": | ||
result = BUSINESS_COPILOTSEATDETAILS_PLAN_TYPE | ||
case "enterprise": | ||
result = ENTERPRISE_COPILOTSEATDETAILS_PLAN_TYPE | ||
case "unknown": | ||
result = UNKNOWN_COPILOTSEATDETAILS_PLAN_TYPE | ||
default: | ||
return nil, nil | ||
} | ||
return &result, nil | ||
} | ||
func SerializeCopilotSeatDetails_plan_type(values []CopilotSeatDetails_plan_type) []string { | ||
result := make([]string, len(values)) | ||
for i, v := range values { | ||
result[i] = v.String() | ||
} | ||
return result | ||
} | ||
func (i CopilotSeatDetails_plan_type) isMultiValue() bool { | ||
return false | ||
} |