Skip to content

Commit

Permalink
New updates to generated code (#82)
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 committed Jul 1, 2024
1 parent f32922b commit 73a28a0
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 57 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": "E4E2AABED4BD59401902818C72E41CA2F0687B3623E90C31913C14D9C4EF622958C3E7803B45FFDD22856FE8BE14B2FB3FB3AAF72B4F479A9809E2EEF45DD55C",
"descriptionHash": "8691117B208EB973D20A4D4F03E923AB15347D853FB1C5FC0FD54353368623BB92E4CC56257CF8925086502E16C6A6D839EE9233C387A0C6952A47C16F6AFCB7",
"descriptionLocation": "../../../../../schemas/api.github.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.14.0",
Expand Down
16 changes: 8 additions & 8 deletions pkg/github/models/branch_restriction_policy_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type BranchRestrictionPolicy_users struct {
// The html_url property
html_url *string
// The id property
id *int32
id *int64
// The login property
login *string
// The node_id property
Expand Down Expand Up @@ -146,7 +146,7 @@ func (m *BranchRestrictionPolicy_users) GetFieldDeserializers()(map[string]func(
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 @@ -283,8 +283,8 @@ func (m *BranchRestrictionPolicy_users) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id property
// returns a *int32 when successful
func (m *BranchRestrictionPolicy_users) GetId()(*int32) {
// returns a *int64 when successful
func (m *BranchRestrictionPolicy_users) GetId()(*int64) {
return m.id
}
// GetLogin gets the login property value. The login property
Expand Down Expand Up @@ -382,7 +382,7 @@ func (m *BranchRestrictionPolicy_users) Serialize(writer i878a80d2330e89d2689638
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -488,7 +488,7 @@ func (m *BranchRestrictionPolicy_users) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id property
func (m *BranchRestrictionPolicy_users) SetId(value *int32)() {
func (m *BranchRestrictionPolicy_users) SetId(value *int64)() {
m.id = value
}
// SetLogin sets the login property value. The login property
Expand Down Expand Up @@ -541,7 +541,7 @@ type BranchRestrictionPolicy_usersable interface {
GetGistsUrl()(*string)
GetGravatarId()(*string)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetLogin()(*string)
GetNodeId()(*string)
GetOrganizationsUrl()(*string)
Expand All @@ -559,7 +559,7 @@ type BranchRestrictionPolicy_usersable interface {
SetGistsUrl(value *string)()
SetGravatarId(value *string)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetLogin(value *string)()
SetNodeId(value *string)()
SetOrganizationsUrl(value *string)()
Expand Down
16 changes: 8 additions & 8 deletions pkg/github/models/collaborator.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type Collaborator struct {
// The html_url property
html_url *string
// The id property
id *int32
id *int64
// The login property
login *string
// The name property
Expand Down Expand Up @@ -170,7 +170,7 @@ func (m *Collaborator) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2
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 @@ -337,8 +337,8 @@ func (m *Collaborator) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id property
// returns a *int32 when successful
func (m *Collaborator) GetId()(*int32) {
// returns a *int64 when successful
func (m *Collaborator) GetId()(*int64) {
return m.id
}
// GetLogin gets the login property value. The login property
Expand Down Expand Up @@ -457,7 +457,7 @@ func (m *Collaborator) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -585,7 +585,7 @@ func (m *Collaborator) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id property
func (m *Collaborator) SetId(value *int32)() {
func (m *Collaborator) SetId(value *int64)() {
m.id = value
}
// SetLogin sets the login property value. The login property
Expand Down Expand Up @@ -651,7 +651,7 @@ type Collaboratorable interface {
GetGistsUrl()(*string)
GetGravatarId()(*string)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetLogin()(*string)
GetName()(*string)
GetNodeId()(*string)
Expand All @@ -673,7 +673,7 @@ type Collaboratorable interface {
SetGistsUrl(value *string)()
SetGravatarId(value *string)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetLogin(value *string)()
SetName(value *string)()
SetNodeId(value *string)()
Expand Down
16 changes: 8 additions & 8 deletions pkg/github/models/nullable_collaborator.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type NullableCollaborator struct {
// The html_url property
html_url *string
// The id property
id *int32
id *int64
// The login property
login *string
// The name property
Expand Down Expand Up @@ -170,7 +170,7 @@ func (m *NullableCollaborator) GetFieldDeserializers()(map[string]func(i878a80d2
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 @@ -337,8 +337,8 @@ func (m *NullableCollaborator) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id property
// returns a *int32 when successful
func (m *NullableCollaborator) GetId()(*int32) {
// returns a *int64 when successful
func (m *NullableCollaborator) GetId()(*int64) {
return m.id
}
// GetLogin gets the login property value. The login property
Expand Down Expand Up @@ -457,7 +457,7 @@ func (m *NullableCollaborator) Serialize(writer i878a80d2330e89d26896388a3f487ee
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -585,7 +585,7 @@ func (m *NullableCollaborator) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id property
func (m *NullableCollaborator) SetId(value *int32)() {
func (m *NullableCollaborator) SetId(value *int64)() {
m.id = value
}
// SetLogin sets the login property value. The login property
Expand Down Expand Up @@ -651,7 +651,7 @@ type NullableCollaboratorable interface {
GetGistsUrl()(*string)
GetGravatarId()(*string)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetLogin()(*string)
GetName()(*string)
GetNodeId()(*string)
Expand All @@ -673,7 +673,7 @@ type NullableCollaboratorable interface {
SetGistsUrl(value *string)()
SetGravatarId(value *string)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetLogin(value *string)()
SetName(value *string)()
SetNodeId(value *string)()
Expand Down
16 changes: 8 additions & 8 deletions pkg/github/models/nullable_simple_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type NullableSimpleUser struct {
// The html_url property
html_url *string
// The id property
id *int32
id *int64
// The login property
login *string
// The name property
Expand Down Expand Up @@ -168,7 +168,7 @@ func (m *NullableSimpleUser) GetFieldDeserializers()(map[string]func(i878a80d233
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 @@ -325,8 +325,8 @@ func (m *NullableSimpleUser) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id property
// returns a *int32 when successful
func (m *NullableSimpleUser) GetId()(*int32) {
// returns a *int64 when successful
func (m *NullableSimpleUser) GetId()(*int64) {
return m.id
}
// GetLogin gets the login property value. The login property
Expand Down Expand Up @@ -440,7 +440,7 @@ func (m *NullableSimpleUser) Serialize(writer i878a80d2330e89d26896388a3f487eef2
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -562,7 +562,7 @@ func (m *NullableSimpleUser) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id property
func (m *NullableSimpleUser) SetId(value *int32)() {
func (m *NullableSimpleUser) SetId(value *int64)() {
m.id = value
}
// SetLogin sets the login property value. The login property
Expand Down Expand Up @@ -624,7 +624,7 @@ type NullableSimpleUserable interface {
GetGistsUrl()(*string)
GetGravatarId()(*string)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetLogin()(*string)
GetName()(*string)
GetNodeId()(*string)
Expand All @@ -645,7 +645,7 @@ type NullableSimpleUserable interface {
SetGistsUrl(value *string)()
SetGravatarId(value *string)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetLogin(value *string)()
SetName(value *string)()
SetNodeId(value *string)()
Expand Down
16 changes: 8 additions & 8 deletions pkg/github/models/pull_request_base_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type PullRequest_base_user struct {
// The html_url property
html_url *string
// The id property
id *int32
id *int64
// The login property
login *string
// The node_id property
Expand Down Expand Up @@ -146,7 +146,7 @@ func (m *PullRequest_base_user) GetFieldDeserializers()(map[string]func(i878a80d
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 @@ -283,8 +283,8 @@ func (m *PullRequest_base_user) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id property
// returns a *int32 when successful
func (m *PullRequest_base_user) GetId()(*int32) {
// returns a *int64 when successful
func (m *PullRequest_base_user) GetId()(*int64) {
return m.id
}
// GetLogin gets the login property value. The login property
Expand Down Expand Up @@ -382,7 +382,7 @@ func (m *PullRequest_base_user) Serialize(writer i878a80d2330e89d26896388a3f487e
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -488,7 +488,7 @@ func (m *PullRequest_base_user) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id property
func (m *PullRequest_base_user) SetId(value *int32)() {
func (m *PullRequest_base_user) SetId(value *int64)() {
m.id = value
}
// SetLogin sets the login property value. The login property
Expand Down Expand Up @@ -541,7 +541,7 @@ type PullRequest_base_userable interface {
GetGistsUrl()(*string)
GetGravatarId()(*string)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetLogin()(*string)
GetNodeId()(*string)
GetOrganizationsUrl()(*string)
Expand All @@ -559,7 +559,7 @@ type PullRequest_base_userable interface {
SetGistsUrl(value *string)()
SetGravatarId(value *string)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetLogin(value *string)()
SetNodeId(value *string)()
SetOrganizationsUrl(value *string)()
Expand Down
16 changes: 8 additions & 8 deletions pkg/github/models/pull_request_head_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type PullRequest_head_user struct {
// The html_url property
html_url *string
// The id property
id *int32
id *int64
// The login property
login *string
// The node_id property
Expand Down Expand Up @@ -146,7 +146,7 @@ func (m *PullRequest_head_user) GetFieldDeserializers()(map[string]func(i878a80d
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 @@ -283,8 +283,8 @@ func (m *PullRequest_head_user) GetHtmlUrl()(*string) {
return m.html_url
}
// GetId gets the id property value. The id property
// returns a *int32 when successful
func (m *PullRequest_head_user) GetId()(*int32) {
// returns a *int64 when successful
func (m *PullRequest_head_user) GetId()(*int64) {
return m.id
}
// GetLogin gets the login property value. The login property
Expand Down Expand Up @@ -382,7 +382,7 @@ func (m *PullRequest_head_user) Serialize(writer i878a80d2330e89d26896388a3f487e
}
}
{
err := writer.WriteInt32Value("id", m.GetId())
err := writer.WriteInt64Value("id", m.GetId())
if err != nil {
return err
}
Expand Down Expand Up @@ -488,7 +488,7 @@ func (m *PullRequest_head_user) SetHtmlUrl(value *string)() {
m.html_url = value
}
// SetId sets the id property value. The id property
func (m *PullRequest_head_user) SetId(value *int32)() {
func (m *PullRequest_head_user) SetId(value *int64)() {
m.id = value
}
// SetLogin sets the login property value. The login property
Expand Down Expand Up @@ -541,7 +541,7 @@ type PullRequest_head_userable interface {
GetGistsUrl()(*string)
GetGravatarId()(*string)
GetHtmlUrl()(*string)
GetId()(*int32)
GetId()(*int64)
GetLogin()(*string)
GetNodeId()(*string)
GetOrganizationsUrl()(*string)
Expand All @@ -559,7 +559,7 @@ type PullRequest_head_userable interface {
SetGistsUrl(value *string)()
SetGravatarId(value *string)()
SetHtmlUrl(value *string)()
SetId(value *int32)()
SetId(value *int64)()
SetLogin(value *string)()
SetNodeId(value *string)()
SetOrganizationsUrl(value *string)()
Expand Down
Loading

0 comments on commit 73a28a0

Please sign in to comment.