From ac172ee9fd9f567b399adfd5ae5171b4311dc1e9 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Wed, 3 Jul 2024 12:06:44 -0500 Subject: [PATCH] New updates to generated code (#83) Co-authored-by: Octokit Bot --- pkg/github/kiota-lock.json | 2 +- pkg/github/models/codespace.go | 16 ++++++++-------- .../models/codespace_with_full_repository.go | 16 ++++++++-------- pkg/github/models/enterprise_team.go | 16 ++++++++-------- pkg/github/models/full_repository.go | 16 ++++++++-------- pkg/github/models/gpg_key.go | 16 ++++++++-------- pkg/github/models/gpg_key_subkeys.go | 16 ++++++++-------- pkg/github/models/key.go | 16 ++++++++-------- pkg/github/models/migration.go | 16 ++++++++-------- pkg/github/models/minimal_repository.go | 16 ++++++++-------- pkg/github/models/nullable_minimal_repository.go | 16 ++++++++-------- pkg/github/models/nullable_repository.go | 16 ++++++++-------- pkg/github/models/organization_invitation.go | 16 ++++++++-------- pkg/github/models/private_user.go | 16 ++++++++-------- pkg/github/models/project_card.go | 16 ++++++++-------- pkg/github/models/public_user.go | 16 ++++++++-------- pkg/github/models/repository.go | 16 ++++++++-------- pkg/github/models/repository_invitation.go | 16 ++++++++-------- pkg/github/models/simple_repository.go | 16 ++++++++-------- pkg/github/models/user_search_result_item.go | 16 ++++++++-------- ...repos_item_item_with_repo_put_request_body.go | 2 -- 21 files changed, 153 insertions(+), 155 deletions(-) diff --git a/pkg/github/kiota-lock.json b/pkg/github/kiota-lock.json index 5da22799..98b37607 100644 --- a/pkg/github/kiota-lock.json +++ b/pkg/github/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8691117B208EB973D20A4D4F03E923AB15347D853FB1C5FC0FD54353368623BB92E4CC56257CF8925086502E16C6A6D839EE9233C387A0C6952A47C16F6AFCB7", + "descriptionHash": "AD108B150ECABF1201FE2A2C1C00E8353E15706330F0E30E1074B0B468533787C150464CDBC404C86BA0014CEB95E514322658FADE429D0910375BD6CE4BD409", "descriptionLocation": "../../../../../schemas/api.github.com.json", "lockFileVersion": "1.0.0", "kiotaVersion": "1.14.0", diff --git a/pkg/github/models/codespace.go b/pkg/github/models/codespace.go index 38f41a83..b2b28266 100644 --- a/pkg/github/models/codespace.go +++ b/pkg/github/models/codespace.go @@ -22,7 +22,7 @@ type Codespace struct { // Details about the codespace's git repository. git_status Codespace_git_statusable // The id property - id *int32 + id *int64 // The number of minutes of inactivity after which this codespace will be automatically stopped. idle_timeout_minutes *int32 // Text to show user when codespace idle timeout minutes has been overriden by an organization policy @@ -181,7 +181,7 @@ func (m *Codespace) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -454,8 +454,8 @@ func (m *Codespace) GetGitStatus()(Codespace_git_statusable) { return m.git_status } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *Codespace) GetId()(*int32) { +// returns a *int64 when successful +func (m *Codespace) GetId()(*int64) { return m.id } // GetIdleTimeoutMinutes gets the idle_timeout_minutes property value. The number of minutes of inactivity after which this codespace will be automatically stopped. @@ -622,7 +622,7 @@ func (m *Codespace) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -816,7 +816,7 @@ func (m *Codespace) SetGitStatus(value Codespace_git_statusable)() { m.git_status = value } // SetId sets the id property value. The id property -func (m *Codespace) SetId(value *int32)() { +func (m *Codespace) SetId(value *int64)() { m.id = value } // SetIdleTimeoutMinutes sets the idle_timeout_minutes property value. The number of minutes of inactivity after which this codespace will be automatically stopped. @@ -928,7 +928,7 @@ type Codespaceable interface { GetDisplayName()(*string) GetEnvironmentId()(*string) GetGitStatus()(Codespace_git_statusable) - GetId()(*int32) + GetId()(*int64) GetIdleTimeoutMinutes()(*int32) GetIdleTimeoutNotice()(*string) GetLastKnownStopNotice()(*string) @@ -960,7 +960,7 @@ type Codespaceable interface { SetDisplayName(value *string)() SetEnvironmentId(value *string)() SetGitStatus(value Codespace_git_statusable)() - SetId(value *int32)() + SetId(value *int64)() SetIdleTimeoutMinutes(value *int32)() SetIdleTimeoutNotice(value *string)() SetLastKnownStopNotice(value *string)() diff --git a/pkg/github/models/codespace_with_full_repository.go b/pkg/github/models/codespace_with_full_repository.go index 7597f280..8bcc876b 100644 --- a/pkg/github/models/codespace_with_full_repository.go +++ b/pkg/github/models/codespace_with_full_repository.go @@ -22,7 +22,7 @@ type CodespaceWithFullRepository struct { // Details about the codespace's git repository. git_status CodespaceWithFullRepository_git_statusable // The id property - id *int32 + id *int64 // The number of minutes of inactivity after which this codespace will be automatically stopped. idle_timeout_minutes *int32 // Text to show user when codespace idle timeout minutes has been overriden by an organization policy @@ -179,7 +179,7 @@ func (m *CodespaceWithFullRepository) GetFieldDeserializers()(map[string]func(i8 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -442,8 +442,8 @@ func (m *CodespaceWithFullRepository) GetGitStatus()(CodespaceWithFullRepository return m.git_status } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *CodespaceWithFullRepository) GetId()(*int32) { +// returns a *int64 when successful +func (m *CodespaceWithFullRepository) GetId()(*int64) { return m.id } // GetIdleTimeoutMinutes gets the idle_timeout_minutes property value. The number of minutes of inactivity after which this codespace will be automatically stopped. @@ -605,7 +605,7 @@ func (m *CodespaceWithFullRepository) Serialize(writer i878a80d2330e89d26896388a } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -793,7 +793,7 @@ func (m *CodespaceWithFullRepository) SetGitStatus(value CodespaceWithFullReposi m.git_status = value } // SetId sets the id property value. The id property -func (m *CodespaceWithFullRepository) SetId(value *int32)() { +func (m *CodespaceWithFullRepository) SetId(value *int64)() { m.id = value } // SetIdleTimeoutMinutes sets the idle_timeout_minutes property value. The number of minutes of inactivity after which this codespace will be automatically stopped. @@ -901,7 +901,7 @@ type CodespaceWithFullRepositoryable interface { GetDisplayName()(*string) GetEnvironmentId()(*string) GetGitStatus()(CodespaceWithFullRepository_git_statusable) - GetId()(*int32) + GetId()(*int64) GetIdleTimeoutMinutes()(*int32) GetIdleTimeoutNotice()(*string) GetLastUsedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) @@ -932,7 +932,7 @@ type CodespaceWithFullRepositoryable interface { SetDisplayName(value *string)() SetEnvironmentId(value *string)() SetGitStatus(value CodespaceWithFullRepository_git_statusable)() - SetId(value *int32)() + SetId(value *int64)() SetIdleTimeoutMinutes(value *int32)() SetIdleTimeoutNotice(value *string)() SetLastUsedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() diff --git a/pkg/github/models/enterprise_team.go b/pkg/github/models/enterprise_team.go index a05107ff..18aa97bb 100644 --- a/pkg/github/models/enterprise_team.go +++ b/pkg/github/models/enterprise_team.go @@ -16,7 +16,7 @@ type EnterpriseTeam struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The members_url property members_url *string // The name property @@ -87,7 +87,7 @@ func (m *EnterpriseTeam) GetFieldDeserializers()(map[string]func(i878a80d2330e89 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -169,8 +169,8 @@ func (m *EnterpriseTeam) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *EnterpriseTeam) GetId()(*int32) { +// returns a *int64 when successful +func (m *EnterpriseTeam) GetId()(*int64) { return m.id } // GetMembersUrl gets the members_url property value. The members_url property @@ -224,7 +224,7 @@ func (m *EnterpriseTeam) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -290,7 +290,7 @@ func (m *EnterpriseTeam) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *EnterpriseTeam) SetId(value *int32)() { +func (m *EnterpriseTeam) SetId(value *int64)() { m.id = value } // SetMembersUrl sets the members_url property value. The members_url property @@ -323,7 +323,7 @@ type EnterpriseTeamable interface { GetCreatedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetGroupId()(*int32) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetMembersUrl()(*string) GetName()(*string) GetSlug()(*string) @@ -333,7 +333,7 @@ type EnterpriseTeamable interface { SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetGroupId(value *int32)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetMembersUrl(value *string)() SetName(value *string)() SetSlug(value *string)() diff --git a/pkg/github/models/full_repository.go b/pkg/github/models/full_repository.go index 0a464fee..7744cef3 100644 --- a/pkg/github/models/full_repository.go +++ b/pkg/github/models/full_repository.go @@ -104,7 +104,7 @@ type FullRepository struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The is_template property is_template *bool // The issue_comment_url property @@ -853,7 +853,7 @@ func (m *FullRepository) GetFieldDeserializers()(map[string]func(i878a80d2330e89 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -1511,8 +1511,8 @@ func (m *FullRepository) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *FullRepository) GetId()(*int32) { +// returns a *int64 when successful +func (m *FullRepository) GetId()(*int64) { return m.id } // GetIssueCommentUrl gets the issue_comment_url property value. The issue_comment_url property @@ -2075,7 +2075,7 @@ func (m *FullRepository) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -2615,7 +2615,7 @@ func (m *FullRepository) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *FullRepository) SetId(value *int32)() { +func (m *FullRepository) SetId(value *int64)() { m.id = value } // SetIssueCommentUrl sets the issue_comment_url property value. The issue_comment_url property @@ -2888,7 +2888,7 @@ type FullRepositoryable interface { GetHomepage()(*string) GetHooksUrl()(*string) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetIssueCommentUrl()(*string) GetIssueEventsUrl()(*string) GetIssuesUrl()(*string) @@ -2991,7 +2991,7 @@ type FullRepositoryable interface { SetHomepage(value *string)() SetHooksUrl(value *string)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetIssueCommentUrl(value *string)() SetIssueEventsUrl(value *string)() SetIssuesUrl(value *string)() diff --git a/pkg/github/models/gpg_key.go b/pkg/github/models/gpg_key.go index 314d454e..6e3e5e3b 100644 --- a/pkg/github/models/gpg_key.go +++ b/pkg/github/models/gpg_key.go @@ -24,7 +24,7 @@ type GpgKey struct { // The expires_at property expires_at *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time // The id property - id *int32 + id *int64 // The key_id property key_id *string // The name property @@ -173,7 +173,7 @@ func (m *GpgKey) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -261,8 +261,8 @@ func (m *GpgKey) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 return res } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *GpgKey) GetId()(*int32) { +// returns a *int64 when successful +func (m *GpgKey) GetId()(*int64) { return m.id } // GetKeyId gets the key_id property value. The key_id property @@ -351,7 +351,7 @@ func (m *GpgKey) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -445,7 +445,7 @@ func (m *GpgKey) SetExpiresAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16 m.expires_at = value } // SetId sets the id property value. The id property -func (m *GpgKey) SetId(value *int32)() { +func (m *GpgKey) SetId(value *int64)() { m.id = value } // SetKeyId sets the key_id property value. The key_id property @@ -486,7 +486,7 @@ type GpgKeyable interface { GetCreatedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetEmails()([]GpgKey_emailsable) GetExpiresAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetId()(*int32) + GetId()(*int64) GetKeyId()(*string) GetName()(*string) GetPrimaryKeyId()(*int32) @@ -501,7 +501,7 @@ type GpgKeyable interface { SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetEmails(value []GpgKey_emailsable)() SetExpiresAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetId(value *int32)() + SetId(value *int64)() SetKeyId(value *string)() SetName(value *string)() SetPrimaryKeyId(value *int32)() diff --git a/pkg/github/models/gpg_key_subkeys.go b/pkg/github/models/gpg_key_subkeys.go index a00d1781..5eb328b0 100644 --- a/pkg/github/models/gpg_key_subkeys.go +++ b/pkg/github/models/gpg_key_subkeys.go @@ -22,7 +22,7 @@ type GpgKey_subkeys struct { // The expires_at property expires_at *string // The id property - id *int32 + id *int64 // The key_id property key_id *string // The primary_key_id property @@ -169,7 +169,7 @@ func (m *GpgKey_subkeys) GetFieldDeserializers()(map[string]func(i878a80d2330e89 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -241,8 +241,8 @@ func (m *GpgKey_subkeys) GetFieldDeserializers()(map[string]func(i878a80d2330e89 return res } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *GpgKey_subkeys) GetId()(*int32) { +// returns a *int64 when successful +func (m *GpgKey_subkeys) GetId()(*int64) { return m.id } // GetKeyId gets the key_id property value. The key_id property @@ -326,7 +326,7 @@ func (m *GpgKey_subkeys) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -408,7 +408,7 @@ func (m *GpgKey_subkeys) SetExpiresAt(value *string)() { m.expires_at = value } // SetId sets the id property value. The id property -func (m *GpgKey_subkeys) SetId(value *int32)() { +func (m *GpgKey_subkeys) SetId(value *int64)() { m.id = value } // SetKeyId sets the key_id property value. The key_id property @@ -445,7 +445,7 @@ type GpgKey_subkeysable interface { GetCreatedAt()(*string) GetEmails()([]GpgKey_subkeys_emailsable) GetExpiresAt()(*string) - GetId()(*int32) + GetId()(*int64) GetKeyId()(*string) GetPrimaryKeyId()(*int32) GetPublicKey()(*string) @@ -459,7 +459,7 @@ type GpgKey_subkeysable interface { SetCreatedAt(value *string)() SetEmails(value []GpgKey_subkeys_emailsable)() SetExpiresAt(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetKeyId(value *string)() SetPrimaryKeyId(value *int32)() SetPublicKey(value *string)() diff --git a/pkg/github/models/key.go b/pkg/github/models/key.go index 41848222..0ab58bcc 100644 --- a/pkg/github/models/key.go +++ b/pkg/github/models/key.go @@ -12,7 +12,7 @@ type Key struct { // The created_at property created_at *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time // The id property - id *int32 + id *int64 // The key property key *string // The read_only property @@ -61,7 +61,7 @@ func (m *Key) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -123,8 +123,8 @@ func (m *Key) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3 return res } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *Key) GetId()(*int32) { +// returns a *int64 when successful +func (m *Key) GetId()(*int64) { return m.id } // GetKey gets the key property value. The key property @@ -161,7 +161,7 @@ func (m *Key) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -213,7 +213,7 @@ func (m *Key) SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391 m.created_at = value } // SetId sets the id property value. The id property -func (m *Key) SetId(value *int32)() { +func (m *Key) SetId(value *int64)() { m.id = value } // SetKey sets the key property value. The key property @@ -240,14 +240,14 @@ type Keyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCreatedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetId()(*int32) + GetId()(*int64) GetKey()(*string) GetReadOnly()(*bool) GetTitle()(*string) GetUrl()(*string) GetVerified()(*bool) SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetId(value *int32)() + SetId(value *int64)() SetKey(value *string)() SetReadOnly(value *bool)() SetTitle(value *string)() diff --git a/pkg/github/models/migration.go b/pkg/github/models/migration.go index 24f46763..247d723d 100644 --- a/pkg/github/models/migration.go +++ b/pkg/github/models/migration.go @@ -28,7 +28,7 @@ type Migration struct { // The guid property guid *string // The id property - id *int32 + id *int64 // The lock_repositories property lock_repositories *bool // The node_id property @@ -204,7 +204,7 @@ func (m *Migration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -307,8 +307,8 @@ func (m *Migration) GetGuid()(*string) { return m.guid } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *Migration) GetId()(*int32) { +// returns a *int64 when successful +func (m *Migration) GetId()(*int64) { return m.id } // GetLockRepositories gets the lock_repositories property value. The lock_repositories property @@ -408,7 +408,7 @@ func (m *Migration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -516,7 +516,7 @@ func (m *Migration) SetGuid(value *string)() { m.guid = value } // SetId sets the id property value. The id property -func (m *Migration) SetId(value *int32)() { +func (m *Migration) SetId(value *int64)() { m.id = value } // SetLockRepositories sets the lock_repositories property value. The lock_repositories property @@ -563,7 +563,7 @@ type Migrationable interface { GetExcludeOwnerProjects()(*bool) GetExcludeReleases()(*bool) GetGuid()(*string) - GetId()(*int32) + GetId()(*int64) GetLockRepositories()(*bool) GetNodeId()(*string) GetOrgMetadataOnly()(*bool) @@ -581,7 +581,7 @@ type Migrationable interface { SetExcludeOwnerProjects(value *bool)() SetExcludeReleases(value *bool)() SetGuid(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetLockRepositories(value *bool)() SetNodeId(value *string)() SetOrgMetadataOnly(value *bool)() diff --git a/pkg/github/models/minimal_repository.go b/pkg/github/models/minimal_repository.go index 136c2dfc..39576166 100644 --- a/pkg/github/models/minimal_repository.go +++ b/pkg/github/models/minimal_repository.go @@ -90,7 +90,7 @@ type MinimalRepository struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The is_template property is_template *bool // The issue_comment_url property @@ -716,7 +716,7 @@ func (m *MinimalRepository) GetFieldDeserializers()(map[string]func(i878a80d2330 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -1284,8 +1284,8 @@ func (m *MinimalRepository) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *MinimalRepository) GetId()(*int32) { +// returns a *int64 when successful +func (m *MinimalRepository) GetId()(*int64) { return m.id } // GetIssueCommentUrl gets the issue_comment_url property value. The issue_comment_url property @@ -1761,7 +1761,7 @@ func (m *MinimalRepository) Serialize(writer i878a80d2330e89d26896388a3f487eef27 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -2215,7 +2215,7 @@ func (m *MinimalRepository) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *MinimalRepository) SetId(value *int32)() { +func (m *MinimalRepository) SetId(value *int64)() { m.id = value } // SetIssueCommentUrl sets the issue_comment_url property value. The issue_comment_url property @@ -2445,7 +2445,7 @@ type MinimalRepositoryable interface { GetHomepage()(*string) GetHooksUrl()(*string) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetIssueCommentUrl()(*string) GetIssueEventsUrl()(*string) GetIssuesUrl()(*string) @@ -2532,7 +2532,7 @@ type MinimalRepositoryable interface { SetHomepage(value *string)() SetHooksUrl(value *string)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetIssueCommentUrl(value *string)() SetIssueEventsUrl(value *string)() SetIssuesUrl(value *string)() diff --git a/pkg/github/models/nullable_minimal_repository.go b/pkg/github/models/nullable_minimal_repository.go index 10957b7c..56399ad4 100644 --- a/pkg/github/models/nullable_minimal_repository.go +++ b/pkg/github/models/nullable_minimal_repository.go @@ -90,7 +90,7 @@ type NullableMinimalRepository struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The is_template property is_template *bool // The issue_comment_url property @@ -716,7 +716,7 @@ func (m *NullableMinimalRepository) GetFieldDeserializers()(map[string]func(i878 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -1284,8 +1284,8 @@ func (m *NullableMinimalRepository) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *NullableMinimalRepository) GetId()(*int32) { +// returns a *int64 when successful +func (m *NullableMinimalRepository) GetId()(*int64) { return m.id } // GetIssueCommentUrl gets the issue_comment_url property value. The issue_comment_url property @@ -1761,7 +1761,7 @@ func (m *NullableMinimalRepository) Serialize(writer i878a80d2330e89d26896388a3f } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -2215,7 +2215,7 @@ func (m *NullableMinimalRepository) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *NullableMinimalRepository) SetId(value *int32)() { +func (m *NullableMinimalRepository) SetId(value *int64)() { m.id = value } // SetIssueCommentUrl sets the issue_comment_url property value. The issue_comment_url property @@ -2445,7 +2445,7 @@ type NullableMinimalRepositoryable interface { GetHomepage()(*string) GetHooksUrl()(*string) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetIssueCommentUrl()(*string) GetIssueEventsUrl()(*string) GetIssuesUrl()(*string) @@ -2532,7 +2532,7 @@ type NullableMinimalRepositoryable interface { SetHomepage(value *string)() SetHooksUrl(value *string)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetIssueCommentUrl(value *string)() SetIssueEventsUrl(value *string)() SetIssuesUrl(value *string)() diff --git a/pkg/github/models/nullable_repository.go b/pkg/github/models/nullable_repository.go index 41578f6a..c3080c62 100644 --- a/pkg/github/models/nullable_repository.go +++ b/pkg/github/models/nullable_repository.go @@ -101,7 +101,7 @@ type NullableRepository struct { // The html_url property html_url *string // Unique identifier of the repository - id *int32 + id *int64 // Whether this repository acts as a template that can be used to generate new repositories. is_template *bool // The issue_comment_url property @@ -811,7 +811,7 @@ func (m *NullableRepository) 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 } @@ -1410,8 +1410,8 @@ func (m *NullableRepository) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. Unique identifier of the repository -// returns a *int32 when successful -func (m *NullableRepository) GetId()(*int32) { +// returns a *int64 when successful +func (m *NullableRepository) GetId()(*int64) { return m.id } // GetIssueCommentUrl gets the issue_comment_url property value. The issue_comment_url property @@ -1933,7 +1933,7 @@ func (m *NullableRepository) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -2430,7 +2430,7 @@ func (m *NullableRepository) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. Unique identifier of the repository -func (m *NullableRepository) SetId(value *int32)() { +func (m *NullableRepository) SetId(value *int64)() { m.id = value } // SetIssueCommentUrl sets the issue_comment_url property value. The issue_comment_url property @@ -2678,7 +2678,7 @@ type NullableRepositoryable interface { GetHomepage()(*string) GetHooksUrl()(*string) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetIssueCommentUrl()(*string) GetIssueEventsUrl()(*string) GetIssuesUrl()(*string) @@ -2773,7 +2773,7 @@ type NullableRepositoryable interface { SetHomepage(value *string)() SetHooksUrl(value *string)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetIssueCommentUrl(value *string)() SetIssueEventsUrl(value *string)() SetIssuesUrl(value *string)() diff --git a/pkg/github/models/organization_invitation.go b/pkg/github/models/organization_invitation.go index 903442fa..ba262165 100644 --- a/pkg/github/models/organization_invitation.go +++ b/pkg/github/models/organization_invitation.go @@ -17,7 +17,7 @@ type OrganizationInvitation struct { // The failed_reason property failed_reason *string // The id property - id *int32 + id *int64 // The invitation_source property invitation_source *string // The invitation_teams_url property @@ -115,7 +115,7 @@ func (m *OrganizationInvitation) GetFieldDeserializers()(map[string]func(i878a80 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -197,8 +197,8 @@ func (m *OrganizationInvitation) GetFieldDeserializers()(map[string]func(i878a80 return res } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *OrganizationInvitation) GetId()(*int32) { +// returns a *int64 when successful +func (m *OrganizationInvitation) GetId()(*int64) { return m.id } // GetInvitationSource gets the invitation_source property value. The invitation_source property @@ -263,7 +263,7 @@ func (m *OrganizationInvitation) Serialize(writer i878a80d2330e89d26896388a3f487 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -339,7 +339,7 @@ func (m *OrganizationInvitation) SetFailedReason(value *string)() { m.failed_reason = value } // SetId sets the id property value. The id property -func (m *OrganizationInvitation) SetId(value *int32)() { +func (m *OrganizationInvitation) SetId(value *int64)() { m.id = value } // SetInvitationSource sets the invitation_source property value. The invitation_source property @@ -377,7 +377,7 @@ type OrganizationInvitationable interface { GetEmail()(*string) GetFailedAt()(*string) GetFailedReason()(*string) - GetId()(*int32) + GetId()(*int64) GetInvitationSource()(*string) GetInvitationTeamsUrl()(*string) GetInviter()(SimpleUserable) @@ -389,7 +389,7 @@ type OrganizationInvitationable interface { SetEmail(value *string)() SetFailedAt(value *string)() SetFailedReason(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetInvitationSource(value *string)() SetInvitationTeamsUrl(value *string)() SetInviter(value SimpleUserable)() diff --git a/pkg/github/models/private_user.go b/pkg/github/models/private_user.go index e126a0d6..80946649 100644 --- a/pkg/github/models/private_user.go +++ b/pkg/github/models/private_user.go @@ -46,7 +46,7 @@ type PrivateUser struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The ldap_dn property ldap_dn *string // The location property @@ -348,7 +348,7 @@ func (m *PrivateUser) 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 } @@ -640,8 +640,8 @@ func (m *PrivateUser) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *PrivateUser) GetId()(*int32) { +// returns a *int64 when successful +func (m *PrivateUser) GetId()(*int64) { return m.id } // GetLdapDn gets the ldap_dn property value. The ldap_dn property @@ -875,7 +875,7 @@ func (m *PrivateUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -1109,7 +1109,7 @@ func (m *PrivateUser) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *PrivateUser) SetId(value *int32)() { +func (m *PrivateUser) SetId(value *int64)() { m.id = value } // SetLdapDn sets the ldap_dn property value. The ldap_dn property @@ -1229,7 +1229,7 @@ type PrivateUserable interface { GetGravatarId()(*string) GetHireable()(*bool) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetLdapDn()(*string) GetLocation()(*string) GetLogin()(*string) @@ -1272,7 +1272,7 @@ type PrivateUserable interface { SetGravatarId(value *string)() SetHireable(value *bool)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetLdapDn(value *string)() SetLocation(value *string)() SetLogin(value *string)() diff --git a/pkg/github/models/project_card.go b/pkg/github/models/project_card.go index 718495dd..16288b5c 100644 --- a/pkg/github/models/project_card.go +++ b/pkg/github/models/project_card.go @@ -22,7 +22,7 @@ type ProjectCard struct { // A GitHub user. creator NullableSimpleUserable // The project card's ID - id *int32 + id *int64 // The node_id property node_id *string // The note property @@ -148,7 +148,7 @@ func (m *ProjectCard) 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 } @@ -220,8 +220,8 @@ func (m *ProjectCard) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 return res } // GetId gets the id property value. The project card's ID -// returns a *int32 when successful -func (m *ProjectCard) GetId()(*int32) { +// returns a *int64 when successful +func (m *ProjectCard) GetId()(*int64) { return m.id } // GetNodeId gets the node_id property value. The node_id property @@ -293,7 +293,7 @@ func (m *ProjectCard) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -371,7 +371,7 @@ func (m *ProjectCard) SetCreator(value NullableSimpleUserable)() { m.creator = value } // SetId sets the id property value. The project card's ID -func (m *ProjectCard) SetId(value *int32)() { +func (m *ProjectCard) SetId(value *int64)() { m.id = value } // SetNodeId sets the node_id property value. The node_id property @@ -407,7 +407,7 @@ type ProjectCardable interface { GetContentUrl()(*string) GetCreatedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetCreator()(NullableSimpleUserable) - GetId()(*int32) + GetId()(*int64) GetNodeId()(*string) GetNote()(*string) GetProjectId()(*string) @@ -420,7 +420,7 @@ type ProjectCardable interface { SetContentUrl(value *string)() SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetCreator(value NullableSimpleUserable)() - SetId(value *int32)() + SetId(value *int64)() SetNodeId(value *string)() SetNote(value *string)() SetProjectId(value *string)() diff --git a/pkg/github/models/public_user.go b/pkg/github/models/public_user.go index 08517e8d..34064bf7 100644 --- a/pkg/github/models/public_user.go +++ b/pkg/github/models/public_user.go @@ -42,7 +42,7 @@ type PublicUser struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The location property location *string // The login property @@ -319,7 +319,7 @@ func (m *PublicUser) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -591,8 +591,8 @@ func (m *PublicUser) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *PublicUser) GetId()(*int32) { +// returns a *int64 when successful +func (m *PublicUser) GetId()(*int64) { return m.id } // GetLocation gets the location property value. The location property @@ -810,7 +810,7 @@ func (m *PublicUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -1018,7 +1018,7 @@ func (m *PublicUser) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *PublicUser) SetId(value *int32)() { +func (m *PublicUser) SetId(value *int64)() { m.id = value } // SetLocation sets the location property value. The location property @@ -1128,7 +1128,7 @@ type PublicUserable interface { GetGravatarId()(*string) GetHireable()(*bool) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetLocation()(*string) GetLogin()(*string) GetName()(*string) @@ -1168,7 +1168,7 @@ type PublicUserable interface { SetGravatarId(value *string)() SetHireable(value *bool)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetLocation(value *string)() SetLogin(value *string)() SetName(value *string)() diff --git a/pkg/github/models/repository.go b/pkg/github/models/repository.go index 0a64bb32..2f854ab7 100644 --- a/pkg/github/models/repository.go +++ b/pkg/github/models/repository.go @@ -101,7 +101,7 @@ type Repository struct { // The html_url property html_url *string // Unique identifier of the repository - id *int32 + id *int64 // Whether this repository acts as a template that can be used to generate new repositories. is_template *bool // The issue_comment_url property @@ -811,7 +811,7 @@ func (m *Repository) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -1410,8 +1410,8 @@ func (m *Repository) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. Unique identifier of the repository -// returns a *int32 when successful -func (m *Repository) GetId()(*int32) { +// returns a *int64 when successful +func (m *Repository) GetId()(*int64) { return m.id } // GetIssueCommentUrl gets the issue_comment_url property value. The issue_comment_url property @@ -1933,7 +1933,7 @@ func (m *Repository) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -2430,7 +2430,7 @@ func (m *Repository) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. Unique identifier of the repository -func (m *Repository) SetId(value *int32)() { +func (m *Repository) SetId(value *int64)() { m.id = value } // SetIssueCommentUrl sets the issue_comment_url property value. The issue_comment_url property @@ -2678,7 +2678,7 @@ type Repositoryable interface { GetHomepage()(*string) GetHooksUrl()(*string) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetIssueCommentUrl()(*string) GetIssueEventsUrl()(*string) GetIssuesUrl()(*string) @@ -2773,7 +2773,7 @@ type Repositoryable interface { SetHomepage(value *string)() SetHooksUrl(value *string)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetIssueCommentUrl(value *string)() SetIssueEventsUrl(value *string)() SetIssuesUrl(value *string)() diff --git a/pkg/github/models/repository_invitation.go b/pkg/github/models/repository_invitation.go index d145367e..e286ea8c 100644 --- a/pkg/github/models/repository_invitation.go +++ b/pkg/github/models/repository_invitation.go @@ -16,7 +16,7 @@ type RepositoryInvitation struct { // The html_url property html_url *string // Unique identifier of the repository invitation. - id *int32 + id *int64 // A GitHub user. invitee NullableSimpleUserable // A GitHub user. @@ -92,7 +92,7 @@ func (m *RepositoryInvitation) 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 } @@ -169,8 +169,8 @@ func (m *RepositoryInvitation) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. Unique identifier of the repository invitation. -// returns a *int32 when successful -func (m *RepositoryInvitation) GetId()(*int32) { +// returns a *int64 when successful +func (m *RepositoryInvitation) GetId()(*int64) { return m.id } // GetInvitee gets the invitee property value. A GitHub user. @@ -224,7 +224,7 @@ func (m *RepositoryInvitation) Serialize(writer i878a80d2330e89d26896388a3f487ee } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -291,7 +291,7 @@ func (m *RepositoryInvitation) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. Unique identifier of the repository invitation. -func (m *RepositoryInvitation) SetId(value *int32)() { +func (m *RepositoryInvitation) SetId(value *int64)() { m.id = value } // SetInvitee sets the invitee property value. A GitHub user. @@ -324,7 +324,7 @@ type RepositoryInvitationable interface { GetCreatedAt()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetExpired()(*bool) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetInvitee()(NullableSimpleUserable) GetInviter()(NullableSimpleUserable) GetNodeId()(*string) @@ -334,7 +334,7 @@ type RepositoryInvitationable interface { SetCreatedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetExpired(value *bool)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetInvitee(value NullableSimpleUserable)() SetInviter(value NullableSimpleUserable)() SetNodeId(value *string)() diff --git a/pkg/github/models/simple_repository.go b/pkg/github/models/simple_repository.go index a743896f..dae4b6d3 100644 --- a/pkg/github/models/simple_repository.go +++ b/pkg/github/models/simple_repository.go @@ -53,7 +53,7 @@ type SimpleRepository struct { // The URL to view the repository on GitHub.com. html_url *string // A unique identifier of the repository. - id *int32 + id *int64 // A template for the API URL to get information about issue comments on the repository. issue_comment_url *string // A template for the API URL to get information about issue events on the repository. @@ -413,7 +413,7 @@ func (m *SimpleRepository) GetFieldDeserializers()(map[string]func(i878a80d2330e return nil } res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() + val, err := n.GetInt64Value() if err != nil { return err } @@ -695,8 +695,8 @@ func (m *SimpleRepository) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. A unique identifier of the repository. -// returns a *int32 when successful -func (m *SimpleRepository) GetId()(*int32) { +// returns a *int64 when successful +func (m *SimpleRepository) GetId()(*int64) { return m.id } // GetIssueCommentUrl gets the issue_comment_url property value. A template for the API URL to get information about issue comments on the repository. @@ -949,7 +949,7 @@ func (m *SimpleRepository) Serialize(writer i878a80d2330e89d26896388a3f487eef27b } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -1193,7 +1193,7 @@ func (m *SimpleRepository) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. A unique identifier of the repository. -func (m *SimpleRepository) SetId(value *int32)() { +func (m *SimpleRepository) SetId(value *int64)() { m.id = value } // SetIssueCommentUrl sets the issue_comment_url property value. A template for the API URL to get information about issue comments on the repository. @@ -1313,7 +1313,7 @@ type SimpleRepositoryable interface { GetGitTagsUrl()(*string) GetHooksUrl()(*string) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetIssueCommentUrl()(*string) GetIssueEventsUrl()(*string) GetIssuesUrl()(*string) @@ -1359,7 +1359,7 @@ type SimpleRepositoryable interface { SetGitTagsUrl(value *string)() SetHooksUrl(value *string)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetIssueCommentUrl(value *string)() SetIssueEventsUrl(value *string)() SetIssuesUrl(value *string)() diff --git a/pkg/github/models/user_search_result_item.go b/pkg/github/models/user_search_result_item.go index 6d727a63..3e393cb7 100644 --- a/pkg/github/models/user_search_result_item.go +++ b/pkg/github/models/user_search_result_item.go @@ -40,7 +40,7 @@ type UserSearchResultItem struct { // The html_url property html_url *string // The id property - id *int32 + id *int64 // The location property location *string // The login property @@ -285,7 +285,7 @@ func (m *UserSearchResultItem) 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 } @@ -523,8 +523,8 @@ func (m *UserSearchResultItem) GetHtmlUrl()(*string) { return m.html_url } // GetId gets the id property value. The id property -// returns a *int32 when successful -func (m *UserSearchResultItem) GetId()(*int32) { +// returns a *int64 when successful +func (m *UserSearchResultItem) GetId()(*int64) { return m.id } // GetLocation gets the location property value. The location property @@ -710,7 +710,7 @@ func (m *UserSearchResultItem) Serialize(writer i878a80d2330e89d26896388a3f487ee } } { - err := writer.WriteInt32Value("id", m.GetId()) + err := writer.WriteInt64Value("id", m.GetId()) if err != nil { return err } @@ -902,7 +902,7 @@ func (m *UserSearchResultItem) SetHtmlUrl(value *string)() { m.html_url = value } // SetId sets the id property value. The id property -func (m *UserSearchResultItem) SetId(value *int32)() { +func (m *UserSearchResultItem) SetId(value *int64)() { m.id = value } // SetLocation sets the location property value. The location property @@ -995,7 +995,7 @@ type UserSearchResultItemable interface { GetGravatarId()(*string) GetHireable()(*bool) GetHtmlUrl()(*string) - GetId()(*int32) + GetId()(*int64) GetLocation()(*string) GetLogin()(*string) GetName()(*string) @@ -1029,7 +1029,7 @@ type UserSearchResultItemable interface { SetGravatarId(value *string)() SetHireable(value *bool)() SetHtmlUrl(value *string)() - SetId(value *int32)() + SetId(value *int64)() SetLocation(value *string)() SetLogin(value *string)() SetName(value *string)() diff --git a/pkg/github/orgs/item_teams_item_repos_item_item_with_repo_put_request_body.go b/pkg/github/orgs/item_teams_item_repos_item_item_with_repo_put_request_body.go index 8afa627d..fe822716 100644 --- a/pkg/github/orgs/item_teams_item_repos_item_item_with_repo_put_request_body.go +++ b/pkg/github/orgs/item_teams_item_repos_item_item_with_repo_put_request_body.go @@ -15,8 +15,6 @@ func NewItemTeamsItemReposItemItemWithRepoPutRequestBody()(*ItemTeamsItemReposIt m := &ItemTeamsItemReposItemItemWithRepoPutRequestBody{ } m.SetAdditionalData(make(map[string]any)) - permissionValue := "push" - m.SetPermission(&permissionValue) return m } // CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value