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 Jan 9, 2025
1 parent 9f7f62f commit b9b9843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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": "705949811BB4B993F4A28B37CE636880EEABA82A783F3A28CF02C8EF28DB5895E321CD56B9B96BBA684428448266920C0BAF93FF9CD5A23D495C8261ED93DEF1",
"descriptionHash": "F1CDCE830F194C13607774118F34FFBF58DE56BC116936D7DE02C36131A1AC2B46B78BADE2DCB5193A3B2CA55EDCB69BAF7CAC8B9F6ACA8C3CCD2E2B049D1F7B",
"descriptionLocation": "../../../../../schemas/api.github.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.19.0",
Expand Down
6 changes: 3 additions & 3 deletions pkg/github/repos/item_item_topics_put_request_body.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
type ItemItemTopicsPutRequestBody struct {
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
additionalData map[string]any
// An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.
// An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` will be saved as lowercase.
names []string
}
// NewItemItemTopicsPutRequestBody instantiates a new ItemItemTopicsPutRequestBody and sets the default values.
Expand Down Expand Up @@ -49,7 +49,7 @@ func (m *ItemItemTopicsPutRequestBody) GetFieldDeserializers()(map[string]func(i
}
return res
}
// GetNames gets the names property value. An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.
// GetNames gets the names property value. An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` will be saved as lowercase.
// returns a []string when successful
func (m *ItemItemTopicsPutRequestBody) GetNames()([]string) {
return m.names
Expand All @@ -74,7 +74,7 @@ func (m *ItemItemTopicsPutRequestBody) Serialize(writer i878a80d2330e89d26896388
func (m *ItemItemTopicsPutRequestBody) SetAdditionalData(value map[string]any)() {
m.additionalData = value
}
// SetNames sets the names property value. An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.
// SetNames sets the names property value. An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` will be saved as lowercase.
func (m *ItemItemTopicsPutRequestBody) SetNames(value []string)() {
m.names = value
}
Expand Down

0 comments on commit b9b9843

Please sign in to comment.