Skip to content

Commit

Permalink
feat: Changes in generated code
Browse files Browse the repository at this point in the history
Co-authored-by: Octokit Bot <octokitbot@martynus.net>
  • Loading branch information
octokitbot and Octokit Bot authored Jul 19, 2024
1 parent 5846183 commit 0d689b7
Show file tree
Hide file tree
Showing 193 changed files with 46 additions and 17,115 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](Docs/CODE_OF_CONDUCT.md)
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ body:
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](Docs/CODE_OF_CONDUCT.md)
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ body:
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](Docs/CODE_OF_CONDUCT.md)
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ body:
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](Docs/CODE_OF_CONDUCT.md)
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Kiota
.kiota.log

# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,go,linux,macos
Expand Down
66 changes: 0 additions & 66 deletions pkg/github/advisories/get_ecosystem_query_parameter_type.go

This file was deleted.

28 changes: 0 additions & 28 deletions pkg/github/app/hook_deliveries_item_attempts_response.go

This file was deleted.

28 changes: 0 additions & 28 deletions pkg/github/appmanifests/item_conversions_response.go

This file was deleted.

28 changes: 0 additions & 28 deletions pkg/github/emojis/emojis_response.go

This file was deleted.

28 changes: 0 additions & 28 deletions pkg/github/installation/repositories_response.go

This file was deleted.

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": "25CBDDF87B5D7FAED3AFBA18614FCE9BC696E3AA892C3A9253E5E733130804713C08A3F3D7360A24961AF443C24518812E497A7D6C8EE8FFAC1A003073730BEE",
"descriptionHash": "F5FD3919C2BFEEFEB09A475F6133B5A3FC7E77B0AE71458C1E4B9C4F45F18EEE4C3E8C870EBDB75A7F0502BD652478E4ADF7A2F76462CE8689C57E711A9FF402",
"descriptionLocation": "../../../../../schemas/api.github.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.14.0",
Expand Down
40 changes: 0 additions & 40 deletions pkg/github/models/copilot_organization_details_copilot_chat.go

This file was deleted.

50 changes: 0 additions & 50 deletions pkg/github/models/deployment_payload_member1.go

This file was deleted.

16 changes: 8 additions & 8 deletions pkg/github/models/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Environment struct {
// The html_url property
html_url *string
// The id of the environment.
id *int32
id *int64
// The name of the environment.
name *string
// The node_id property
Expand Down Expand Up @@ -201,7 +201,7 @@ func (m *Environment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26
return nil
}
res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetInt32Value()
val, err := n.GetInt64Value()
if err != nil {
return err
}
Expand Down Expand Up @@ -274,8 +274,8 @@ func (m *Environment) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id of the environment.
// returns a *int32 when successful
func (m *Environment) GetId()(*int32) {
// returns a *int64 when successful
func (m *Environment) GetId()(*int64) {
return m.id
}
// GetName gets the name property value. The name of the environment.
Expand Down Expand Up @@ -324,7 +324,7 @@ func (m *Environment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -390,7 +390,7 @@ func (m *Environment) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id of the environment.
func (m *Environment) SetId(value *int32)() {
func (m *Environment) SetId(value *int64)() {
m.id = value
}
// SetName sets the name property value. The name of the environment.
Expand Down Expand Up @@ -419,7 +419,7 @@ type Environmentable interface {
GetCreatedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
GetDeploymentBranchPolicy()(DeploymentBranchPolicySettingsable)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetName()(*string)
GetNodeId()(*string)
GetProtectionRules()([]Environment_Environment_protection_rulesable)
Expand All @@ -428,7 +428,7 @@ type Environmentable interface {
SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)()
SetDeploymentBranchPolicy(value DeploymentBranchPolicySettingsable)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetName(value *string)()
SetNodeId(value *string)()
SetProtectionRules(value []Environment_Environment_protection_rulesable)()
Expand Down
Loading

0 comments on commit 0d689b7

Please sign in to comment.