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 Jul 26, 2024
1 parent 7c2812a commit a9ee6f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 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": "7ECFD65586B744E83319DF0E73957BCA36AE996677673FEE71A46310209AB2B7209EAEADEB1B275AABF9911452C9E8AEC15A1119DF8C6FDCDED17C52F7FD9785",
"descriptionHash": "A9B113041EADA2541D3B59E31CF23870FA0A7627482597017CC50A2D390ACC44D4912594E27929B8F5F5412430B8482043A0FB536C5B2DD2CCEA0E941FCAC416",
"descriptionLocation": "../../../../../schemas/api.github.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.14.0",
Expand Down
18 changes: 9 additions & 9 deletions pkg/github/models/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ type Label struct {
additionalData map[string]any
// 6-character hex code, without the leading #, identifying the color
color *string
// The default property
// Whether this label comes by default in a new repository.
defaultEscaped *bool
// The description property
// Optional description of the label, such as its purpose.
description *string
// The id property
// Unique identifier for the label.
id *int64
// The name of the label.
name *string
Expand Down Expand Up @@ -45,12 +45,12 @@ func (m *Label) GetAdditionalData()(map[string]any) {
func (m *Label) GetColor()(*string) {
return m.color
}
// GetDefaultEscaped gets the default property value. The default property
// GetDefaultEscaped gets the default property value. Whether this label comes by default in a new repository.
// returns a *bool when successful
func (m *Label) GetDefaultEscaped()(*bool) {
return m.defaultEscaped
}
// GetDescription gets the description property value. The description property
// GetDescription gets the description property value. Optional description of the label, such as its purpose.
// returns a *string when successful
func (m *Label) GetDescription()(*string) {
return m.description
Expand Down Expand Up @@ -131,7 +131,7 @@ func (m *Label) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388
}
return res
}
// GetId gets the id property value. The id property
// GetId gets the id property value. Unique identifier for the label.
// returns a *int64 when successful
func (m *Label) GetId()(*int64) {
return m.id
Expand Down Expand Up @@ -211,15 +211,15 @@ func (m *Label) SetAdditionalData(value map[string]any)() {
func (m *Label) SetColor(value *string)() {
m.color = value
}
// SetDefaultEscaped sets the default property value. The default property
// SetDefaultEscaped sets the default property value. Whether this label comes by default in a new repository.
func (m *Label) SetDefaultEscaped(value *bool)() {
m.defaultEscaped = value
}
// SetDescription sets the description property value. The description property
// SetDescription sets the description property value. Optional description of the label, such as its purpose.
func (m *Label) SetDescription(value *string)() {
m.description = value
}
// SetId sets the id property value. The id property
// SetId sets the id property value. Unique identifier for the label.
func (m *Label) SetId(value *int64)() {
m.id = value
}
Expand Down

0 comments on commit a9ee6f0

Please sign in to comment.