Documentation
¶
Overview ¶
Package githubapi wraps GitHub REST and GraphQL access, the rate tracker, and the MOCKED_TOKEN safety guard.
Index ¶
- Constants
- Variables
- func IsRealGitHubHost(host string) bool
- func ValidateToken(raw string) error
- type GraphQL
- func (g *GraphQL) BaseURL() string
- func (g *GraphQL) Client() graphql.Client
- func (g *GraphQL) Organization(ctx context.Context, login string) (*OrganizationResponse, error)
- func (g *GraphQL) OrganizationMembers(ctx context.Context, login string, first int, after *string) (*OrganizationMembersResponse, error)
- func (g *GraphQL) OrganizationRepositories(ctx context.Context, login string, first int, after *string) (*OrganizationRepositoriesResponse, error)
- func (g *GraphQL) Repository(ctx context.Context, login, repo string) (*RepositoryResponse, error)
- func (g *GraphQL) TokenKind() TokenKind
- func (g *GraphQL) User(ctx context.Context, login string) (*UserResponse, error)
- func (g *GraphQL) UserCommitContributions(ctx context.Context, login string, from, to time.Time) (*UserCommitContributionsResponse, error)
- func (g *GraphQL) UserFollowers(ctx context.Context, login string, first, size int) (*UserFollowersResponse, error)
- func (g *GraphQL) UserIndepth(ctx context.Context, login string, from, to *time.Time, reposFirst int, ...) (*UserIndepthResponse, error)
- func (g *GraphQL) UserIsocalendar(ctx context.Context, login string, from, to time.Time) (*UserIsocalendarResponse, error)
- func (g *GraphQL) UserLists(ctx context.Context, login string, listsFirst, itemsFirst int) (*UserListsResponse, error)
- func (g *GraphQL) UserNotable(ctx context.Context, login string, first int, after *string, ...) (*UserNotableResponse, error)
- func (g *GraphQL) UserReactions(ctx context.Context, login string, issuesFirst, commentsFirst int) (*UserReactionsResponse, error)
- func (g *GraphQL) UserRepositories(ctx context.Context, login string, first int, after *string) (*UserRepositoriesResponse, error)
- func (g *GraphQL) UserStarredRepositories(ctx context.Context, login string, first int) (*UserStarredRepositoriesResponse, error)
- func (g *GraphQL) ViewerPinnedItems(ctx context.Context, first int) (*ViewerPinnedItemsResponse, error)
- func (g *GraphQL) ViewerProjects(ctx context.Context, first int) (*ViewerProjectsResponse, error)
- func (g *GraphQL) ViewerSponsors(ctx context.Context, activeFirst, pastFirst int) (*ViewerSponsorsResponse, error)
- func (g *GraphQL) ViewerSponsorships(ctx context.Context, first int) (*ViewerSponsorshipsResponse, error)
- func (g *GraphQL) ViewerStargazersRepos(ctx context.Context, repoFirst, starFirst int) (*ViewerStargazersReposResponse, error)
- type MockCall
- type MockResponse
- type MockTransport
- type OrganizationMembersOrganization
- type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection
- func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetNodes() ...
- func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetPageInfo() ...
- func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetTotalCount() int
- type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser
- func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetAvatarUrl() string
- func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetLogin() string
- func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetName() *string
- type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo
- type OrganizationMembersResponse
- type OrganizationOrganization
- func (v *OrganizationOrganization) GetAvatarUrl() string
- func (v *OrganizationOrganization) GetCreatedAt() time.Time
- func (v *OrganizationOrganization) GetDatabaseId() *int
- func (v *OrganizationOrganization) GetDescription() *string
- func (v *OrganizationOrganization) GetEmail() *string
- func (v *OrganizationOrganization) GetId() string
- func (v *OrganizationOrganization) GetLocation() *string
- func (v *OrganizationOrganization) GetLogin() string
- func (v *OrganizationOrganization) GetName() *string
- func (v *OrganizationOrganization) GetWebsiteUrl() *string
- type OrganizationRepositoriesOrganization
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetNodes() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetPageInfo() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetTotalCount() int
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt() time.Time
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId() *int
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDeployments() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDescription() *string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage() *int
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetForkCount() int
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetId() string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsFork() bool
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate() bool
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIssues() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLanguages() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetName() string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPackages() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPullRequests() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPushedAt() *time.Time
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetReleases() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount() int
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt() *time.Time
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUrl() string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetWatchers() ...
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount() int
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize() int
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode() ...
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize() int
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor() *string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName() string
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey() *string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName() string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname() *string
- func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId() *string
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection
- type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo
- type OrganizationRepositoriesResponse
- type OrganizationResponse
- type Quota
- type REST
- func (r *REST) BaseURL() string
- func (r *REST) Delete(ctx context.Context, path string, extra http.Header) ([]byte, *http.Response, error)
- func (r *REST) Get(ctx context.Context, path string, extra http.Header) ([]byte, *http.Response, error)
- func (r *REST) HTTPClient() *http.Client
- func (r *REST) HeadRoot(ctx context.Context) (*http.Response, error)
- func (r *REST) Post(ctx context.Context, path string, body []byte, extra http.Header) ([]byte, *http.Response, error)
- func (r *REST) Put(ctx context.Context, path string, body []byte, extra http.Header) ([]byte, *http.Response, error)
- func (r *REST) RateLimit(ctx context.Context) (*RateLimitResponse, error)
- func (r *REST) Scopes(ctx context.Context) ([]string, error)
- func (r *REST) TokenKind() TokenKind
- type RateLimitResponse
- type ReactionContent
- type RepositoryContributionType
- type RepositoryRepository
- func (v *RepositoryRepository) GetCreatedAt() time.Time
- func (v *RepositoryRepository) GetDatabaseId() *int
- func (v *RepositoryRepository) GetDefaultBranchRef() *RepositoryRepositoryDefaultBranchRef
- func (v *RepositoryRepository) GetDeployments() *RepositoryRepositoryDeploymentsDeploymentConnection
- func (v *RepositoryRepository) GetDescription() *string
- func (v *RepositoryRepository) GetDiskUsage() *int
- func (v *RepositoryRepository) GetEnvironments() *RepositoryRepositoryEnvironmentsEnvironmentConnection
- func (v *RepositoryRepository) GetForkCount() int
- func (v *RepositoryRepository) GetIsArchived() bool
- func (v *RepositoryRepository) GetIssues() *RepositoryRepositoryIssuesIssueConnection
- func (v *RepositoryRepository) GetLanguages() *RepositoryRepositoryLanguagesLanguageConnection
- func (v *RepositoryRepository) GetLicenseInfo() *RepositoryRepositoryLicenseInfoLicense
- func (v *RepositoryRepository) GetName() string
- func (v *RepositoryRepository) GetNameWithOwner() string
- func (v *RepositoryRepository) GetOwner() RepositoryRepositoryOwner
- func (v *RepositoryRepository) GetPrimaryLanguage() *RepositoryRepositoryPrimaryLanguage
- func (v *RepositoryRepository) GetPullRequests() *RepositoryRepositoryPullRequestsPullRequestConnection
- func (v *RepositoryRepository) GetStargazerCount() int
- func (v *RepositoryRepository) GetWatchers() *RepositoryRepositoryWatchersWatcherConnection
- func (v *RepositoryRepository) MarshalJSON() ([]byte, error)
- func (v *RepositoryRepository) UnmarshalJSON(b []byte) error
- type RepositoryRepositoryDefaultBranchRef
- type RepositoryRepositoryDeploymentsDeploymentConnection
- type RepositoryRepositoryEnvironmentsEnvironmentConnection
- type RepositoryRepositoryIssuesIssueConnection
- type RepositoryRepositoryLanguagesLanguageConnection
- type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge
- type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage
- type RepositoryRepositoryLicenseInfoLicense
- type RepositoryRepositoryOwner
- type RepositoryRepositoryOwnerOrganization
- type RepositoryRepositoryOwnerUser
- type RepositoryRepositoryPrimaryLanguage
- type RepositoryRepositoryPullRequestsPullRequestConnection
- type RepositoryRepositoryWatchersWatcherConnection
- type RepositoryResponse
- type Resources
- type ResourcesSnapshot
- type SponsorsGoalKind
- type TokenKind
- type UserCommitContributionsResponse
- type UserCommitContributionsUser
- type UserCommitContributionsUserContributionsCollection
- type UserFollowersResponse
- type UserFollowersUser
- type UserFollowersUserFollowersUserConnection
- type UserFollowersUserFollowersUserConnectionNodesUser
- type UserFollowersUserFollowingUserConnection
- type UserFollowersUserFollowingUserConnectionNodesUser
- type UserIndepthResponse
- type UserIndepthUser
- type UserIndepthUserContributionsCollection
- type UserIndepthUserContributionsCollectionContributionCalendar
- type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek
- type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay
- func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor() string
- func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount() int
- func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate() string
- func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday() int
- type UserIndepthUserRepositoriesRepositoryConnection
- func (v *UserIndepthUserRepositoriesRepositoryConnection) GetNodes() []*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository
- func (v *UserIndepthUserRepositoriesRepositoryConnection) GetPageInfo() *UserIndepthUserRepositoriesRepositoryConnectionPageInfo
- func (v *UserIndepthUserRepositoriesRepositoryConnection) GetTotalCount() int
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepository
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetDefaultBranchRef() ...
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetIssues() ...
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests() ...
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget() ...
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON() ([]byte, error)
- func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON(b []byte) error
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection
- type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
- type UserIndepthUserRepositoriesRepositoryConnectionPageInfo
- type UserIsocalendarResponse
- type UserIsocalendarUser
- type UserIsocalendarUserContributionsCollection
- type UserIsocalendarUserContributionsCollectionContributionCalendar
- type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek
- type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay
- func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor() string
- func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount() int
- func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate() string
- func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday() int
- type UserListsResponse
- type UserListsUser
- type UserListsUserListsUserListConnection
- type UserListsUserListsUserListConnectionNodesUserList
- func (v *UserListsUserListsUserListConnectionNodesUserList) GetDescription() *string
- func (v *UserListsUserListsUserListConnectionNodesUserList) GetIsPrivate() bool
- func (v *UserListsUserListsUserListConnectionNodesUserList) GetItems() *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection
- func (v *UserListsUserListsUserListConnectionNodesUserList) GetName() string
- type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetNodes() ...
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetTotalCount() int
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) MarshalJSON() ([]byte, error)
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) UnmarshalJSON(b []byte) error
- type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetNameWithOwner() string
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetStargazerCount() int
- func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetTypename() *string
- type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems
- type UserNotableResponse
- type UserNotableUser
- type UserNotableUserRepositoriesContributedToRepositoryConnection
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnection) GetNodes() []*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnection) GetPageInfo() *UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnection) GetTotalCount() int
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDefaultBranchRef() ...
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDescription() *string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetForkCount() int
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsFork() bool
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsInOrganization() bool
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsPrivate() bool
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIssues() ...
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetNameWithOwner() string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetOwner() ...
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetPullRequests() ...
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetStargazerCount() int
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetUrl() string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) MarshalJSON() ([]byte, error)
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) UnmarshalJSON(b []byte) error
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget() ...
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON() ([]byte, error)
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON(b []byte) error
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetAvatarUrl() string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetLogin() string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetTypename() *string
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetAvatarUrl() string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetLogin() string
- func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetTypename() *string
- type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
- type UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo
- type UserReactionsResponse
- type UserReactionsUser
- type UserReactionsUserIssueCommentsIssueCommentConnection
- type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions
- type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection
- type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction
- type UserReactionsUserIssuesIssueConnectionWithReactions
- type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions
- type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection
- type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction
- type UserRepositoriesResponse
- type UserRepositoriesUser
- type UserRepositoriesUserRepositoriesRepositoryConnection
- func (v *UserRepositoriesUserRepositoriesRepositoryConnection) GetNodes() []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository
- func (v *UserRepositoriesUserRepositoriesRepositoryConnection) GetPageInfo() *UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo
- func (v *UserRepositoriesUserRepositoriesRepositoryConnection) GetTotalCount() int
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt() time.Time
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId() *int
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDeployments() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDescription() *string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage() *int
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetForkCount() int
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetId() string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsFork() bool
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate() bool
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIssues() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLanguages() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetName() string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPackages() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPushedAt() *time.Time
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetReleases() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount() int
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt() *time.Time
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUrl() string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetWatchers() ...
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges() ...
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount() int
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize() int
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor() *string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName() string
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey() *string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName() string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname() *string
- func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId() *string
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection
- type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection
- type UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo
- type UserResponse
- type UserStarredRepositoriesResponse
- type UserStarredRepositoriesUser
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetDescription() *string
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetForkCount() int
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIsFork() bool
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIssues() ...
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetLicenseInfo() ...
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetNameWithOwner() string
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPrimaryLanguage() ...
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPullRequests() ...
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetStargazerCount() int
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetUrl() string
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetName() string
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetSpdxId() *string
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetColor() *string
- func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetName() string
- type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection
- type UserUser
- func (v *UserUser) GetAvatarUrl() string
- func (v *UserUser) GetBio() *string
- func (v *UserUser) GetCompany() *string
- func (v *UserUser) GetContributionsCollection() *UserUserContributionsCollection
- func (v *UserUser) GetCreatedAt() time.Time
- func (v *UserUser) GetDatabaseId() *int
- func (v *UserUser) GetDiscussionAnswers() *UserUserDiscussionAnswersRepositoryDiscussionCommentConnection
- func (v *UserUser) GetDiscussionsComments() *UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection
- func (v *UserUser) GetDiscussionsStarted() *UserUserDiscussionsStartedRepositoryDiscussionConnection
- func (v *UserUser) GetEmail() *string
- func (v *UserUser) GetFollowers() *UserUserFollowersUserConnection
- func (v *UserUser) GetFollowing() *UserUserFollowingUserConnection
- func (v *UserUser) GetGists() *UserUserGistsGistConnection
- func (v *UserUser) GetId() string
- func (v *UserUser) GetIssueComments() *UserUserIssueCommentsIssueCommentConnection
- func (v *UserUser) GetLocation() *string
- func (v *UserUser) GetLogin() string
- func (v *UserUser) GetName() *string
- func (v *UserUser) GetOrganizations() *UserUserOrganizationsOrganizationConnection
- func (v *UserUser) GetRepositoriesContributedTo() *UserUserRepositoriesContributedToRepositoryConnection
- func (v *UserUser) GetSponsorshipsAsMaintainer() *UserUserSponsorshipsAsMaintainerSponsorshipConnection
- func (v *UserUser) GetSponsorshipsAsSponsor() *UserUserSponsorshipsAsSponsorSponsorshipConnection
- func (v *UserUser) GetStarredRepositories() *UserUserStarredRepositoriesStarredRepositoryConnection
- func (v *UserUser) GetTwitterUsername() *string
- func (v *UserUser) GetWatching() *UserUserWatchingRepositoryConnection
- func (v *UserUser) GetWebsiteUrl() *string
- type UserUserContributionsCollection
- func (v *UserUserContributionsCollection) GetContributionCalendar() *UserUserContributionsCollectionContributionCalendar
- func (v *UserUserContributionsCollection) GetTotalCommitContributions() int
- func (v *UserUserContributionsCollection) GetTotalIssueContributions() int
- func (v *UserUserContributionsCollection) GetTotalPullRequestContributions() int
- func (v *UserUserContributionsCollection) GetTotalPullRequestReviewContributions() int
- type UserUserContributionsCollectionContributionCalendar
- type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek
- type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay
- func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor() string
- func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount() int
- func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate() string
- func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday() int
- type UserUserDiscussionAnswersRepositoryDiscussionCommentConnection
- type UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection
- type UserUserDiscussionsStartedRepositoryDiscussionConnection
- type UserUserFollowersUserConnection
- type UserUserFollowingUserConnection
- type UserUserGistsGistConnection
- type UserUserIssueCommentsIssueCommentConnection
- type UserUserOrganizationsOrganizationConnection
- type UserUserRepositoriesContributedToRepositoryConnection
- type UserUserSponsorshipsAsMaintainerSponsorshipConnection
- type UserUserSponsorshipsAsSponsorSponsorshipConnection
- type UserUserStarredRepositoriesStarredRepositoryConnection
- type UserUserWatchingRepositoryConnection
- type ViewerPinnedItemsResponse
- type ViewerPinnedItemsViewerUser
- type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetNodes() ...
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetTotalCount() int
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) MarshalJSON() ([]byte, error)
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) UnmarshalJSON(b []byte) error
- type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist
- type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem
- type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetDescription() *string
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetForkCount() int
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsFork() bool
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsPrivate() bool
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetNameWithOwner() string
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetPrimaryLanguage() ...
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetStargazerCount() int
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetTypename() *string
- func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetUrl() string
- type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage
- type ViewerProjectsResponse
- type ViewerProjectsViewerUser
- type ViewerProjectsViewerUserProjectsV2ProjectV2Connection
- type ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2
- func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetClosed() bool
- func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetNumber() int
- func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetShortDescription() *string
- func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetTitle() string
- func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUpdatedAt() time.Time
- func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUrl() string
- type ViewerSponsorsResponse
- type ViewerSponsorsViewerUser
- type ViewerSponsorsViewerUserActiveSponsorshipConnection
- type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetCreatedAt() time.Time
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetIsActive() bool
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetSponsorEntity() ...
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) MarshalJSON() ([]byte, error)
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) UnmarshalJSON(b []byte) error
- type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl() string
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin() string
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename() *string
- type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor
- type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl() string
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin() string
- func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename() *string
- type ViewerSponsorsViewerUserPastSponsorshipConnection
- type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetCreatedAt() time.Time
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetIsActive() bool
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetSponsorEntity() ...
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) MarshalJSON() ([]byte, error)
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) UnmarshalJSON(b []byte) error
- type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl() string
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin() string
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename() *string
- type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor
- type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl() string
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin() string
- func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename() *string
- type ViewerSponsorsViewerUserSponsorsListing
- type ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal
- func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetDescription() *string
- func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetKind() SponsorsGoalKind
- func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetPercentComplete() int
- func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetTitle() *string
- type ViewerSponsorshipsResponse
- type ViewerSponsorshipsViewerUser
- type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection
- type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetCreatedAt() time.Time
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetIsActive() bool
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetSponsorable() ...
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) MarshalJSON() ([]byte, error)
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) UnmarshalJSON(b []byte) error
- type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable
- type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetAvatarUrl() string
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetLogin() string
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetTypename() *string
- type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetAvatarUrl() string
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetLogin() string
- func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetTypename() *string
- type ViewerStargazersReposResponse
- type ViewerStargazersReposViewerUser
- type ViewerStargazersReposViewerUserRepositoriesRepositoryConnection
- type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository
- func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
- func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount() int
- func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazers() ...
- type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection
- type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge
Constants ¶
const DefaultGraphQLURL = "https://api.github.com/graphql"
DefaultGraphQLURL is the production GraphQL endpoint.
const DefaultRESTBaseURL = "https://api.github.com"
DefaultRESTBaseURL is the production endpoint for the REST API. The constructor accepts overrides so tests can point the client at an httptest server.
const OrganizationMembers_Operation = `` /* 279-byte string literal not displayed */
The query executed by OrganizationMembers.
const OrganizationRepositories_Operation = `` /* 973-byte string literal not displayed */
The query executed by OrganizationRepositories.
const Organization_Operation = `` /* 179-byte string literal not displayed */
The query executed by Organization.
const Repository_Operation = `` /* 666-byte string literal not displayed */
The query executed by Repository.
const UserCommitContributions_Operation = `` /* 195-byte string literal not displayed */
The query executed by UserCommitContributions.
const UserFollowers_Operation = `` /* 314-byte string literal not displayed */
The query executed by UserFollowers.
const UserIndepth_Operation = `` /* 829-byte string literal not displayed */
The query executed by UserIndepth.
const UserIsocalendar_Operation = `` /* 314-byte string literal not displayed */
The query executed by UserIsocalendar.
const UserLists_Operation = `` /* 374-byte string literal not displayed */
The query executed by UserLists.
const UserNotable_Operation = `` /* 817-byte string literal not displayed */
The query executed by UserNotable.
const UserReactions_Operation = `` /* 418-byte string literal not displayed */
The query executed by UserReactions.
const UserRepositories_Operation = `` /* 985-byte string literal not displayed */
The query executed by UserRepositories.
const UserStarredRepositories_Operation = `` /* 518-byte string literal not displayed */
The query executed by UserStarredRepositories.
const User_Operation = `` /* 1346-byte string literal not displayed */
The query executed by User.
const ViewerPinnedItems_Operation = `` /* 348-byte string literal not displayed */
The query executed by ViewerPinnedItems.
const ViewerProjects_Operation = `` /* 237-byte string literal not displayed */
The query executed by ViewerProjects.
const ViewerSponsors_Operation = `` /* 892-byte string literal not displayed */
The query executed by ViewerSponsors.
const ViewerSponsorships_Operation = `` /* 420-byte string literal not displayed */
The query executed by ViewerSponsorships.
const ViewerStargazersRepos_Operation = `` /* 400-byte string literal not displayed */
The query executed by ViewerStargazersRepos.
Variables ¶
var AllReactionContent = []ReactionContent{ ReactionContentThumbsUp, ReactionContentThumbsDown, ReactionContentLaugh, ReactionContentHooray, ReactionContentConfused, ReactionContentHeart, ReactionContentRocket, ReactionContentEyes, }
var AllRepositoryContributionType = []RepositoryContributionType{ RepositoryContributionTypeCommit, RepositoryContributionTypeIssue, RepositoryContributionTypePullRequest, RepositoryContributionTypePullRequestReview, RepositoryContributionTypeRepository, }
var AllSponsorsGoalKind = []SponsorsGoalKind{ SponsorsGoalKindTotalSponsorsCount, SponsorsGoalKindMonthlySponsorshipAmount, }
Functions ¶
func IsRealGitHubHost ¶
IsRealGitHubHost reports whether host names a production GitHub endpoint. Exported so callers (including this package's tests) can run the same predicate without re-implementing it.
The match is case-insensitive and considers:
- api.github.com
- github.com
- *.githubusercontent.com (raw, avatars, codeload, ...)
func ValidateToken ¶
ValidateToken returns nil when raw is acceptable for outbound calls, or a typed *InputError describing why it cannot be used. Centralized here so REST and GraphQL constructors share one decision.
Types ¶
type GraphQL ¶
type GraphQL struct {
// contains filtered or unexported fields
}
GraphQL wraps the genqlient client with the project's standard transport (retryable HTTP + MOCKED_TOKEN panic guard) and exposes the typed query methods that plugins consume.
func NewGraphQL ¶
NewGraphQL constructs the GraphQL client. The token is validated and classified up front; for TokenMocked the transport is wrapped in [newMockedGuard] so any request that escapes to a real GitHub host fails loudly (FR-017).
func (*GraphQL) Organization ¶
Organization fetches the typed OrganizationOrganization payload by login.
func (*GraphQL) OrganizationMembers ¶
func (g *GraphQL) OrganizationMembers(ctx context.Context, login string, first int, after *string) (*OrganizationMembersResponse, error)
OrganizationMembers fetches a page of an organization's members. The `after` cursor enables paging.
func (*GraphQL) OrganizationRepositories ¶
func (g *GraphQL) OrganizationRepositories(ctx context.Context, login string, first int, after *string) (*OrganizationRepositoriesResponse, error)
OrganizationRepositories is the organization-side equivalent of UserRepositories. The `after` cursor is threaded for paging the same way.
func (*GraphQL) Repository ¶
Repository fetches the typed RepositoryRepository payload for a single owner/name pair. Used by the M7 base plugin's repository fetch path.
func (*GraphQL) UserCommitContributions ¶ added in v1.2.0
func (g *GraphQL) UserCommitContributions(ctx context.Context, login string, from, to time.Time) (*UserCommitContributionsResponse, error)
UserCommitContributions fetches the commit-contribution total for an explicit from/to window. The base plugin calls it once per account year to reproduce upstream's lifetime Activity commit total.
func (*GraphQL) UserFollowers ¶
func (g *GraphQL) UserFollowers(ctx context.Context, login string, first, size int) (*UserFollowersResponse, error)
UserFollowers fetches the user's followers + following pages. Consumed by the "people" plugin. size bounds the fetched avatar resolution via avatarUrl(size:) so embedded base64 stays small.
func (*GraphQL) UserIndepth ¶
func (g *GraphQL) UserIndepth(ctx context.Context, login string, from, to *time.Time, reposFirst int, reposAfter *string) (*UserIndepthResponse, error)
UserIndepth issues the "indepth" GraphQL query that augments the base payload with per-repository commit/issue/PR totals and the user's contribution calendar. Triggered only when at least one indepth- dependent plugin is enabled.
func (*GraphQL) UserIsocalendar ¶ added in v1.2.0
func (g *GraphQL) UserIsocalendar(ctx context.Context, login string, from, to time.Time) (*UserIsocalendarResponse, error)
UserIsocalendar fetches the contribution calendar for an explicit from/to window. The isocalendar plugin issues it in 4-week chunks (mirroring upstream) so GitHub normalizes each chunk's heatmap colors against the chunk-local maximum instead of the whole-year maximum (see #467).
func (*GraphQL) UserLists ¶ added in v1.1.0
func (g *GraphQL) UserLists(ctx context.Context, login string, listsFirst, itemsFirst int) (*UserListsResponse, error)
UserLists fetches the user's starlists (user.lists) and their items in a single round-trip. Consumed by the "starlists" plugin (spec 014).
func (*GraphQL) UserNotable ¶ added in v1.1.0
func (g *GraphQL) UserNotable(ctx context.Context, login string, first int, after *string, types []RepositoryContributionType, self *bool) (*UserNotableResponse, error)
UserNotable fetches the repositories a user contributed to on other users'/organizations' accounts, ordered by stargazers, for the "notable" plugin (issue #447). `types` selects the contribution kinds (commit / pull_request / issue) and `self` (upstream plugin_notable_self, default no) controls whether the user's own repositories are included.
func (*GraphQL) UserReactions ¶
func (g *GraphQL) UserReactions(ctx context.Context, login string, issuesFirst, commentsFirst int) (*UserReactionsResponse, error)
UserReactions fetches the per-emoji reaction content (and totalCount) across the user's issues and issue comments. Consumed by the "reactions" plugin. The reactions connection is paginated with last: 100 because GitHub rejects a bare nodes selection on a connection without a first/last argument (see #472).
func (*GraphQL) UserRepositories ¶
func (g *GraphQL) UserRepositories(ctx context.Context, login string, first int, after *string) (*UserRepositoriesResponse, error)
UserRepositories returns up to `first` owner-affiliated repositories for the given login, starting after the `after` cursor (or from the beginning when after is nil). Callers thread the `pageInfo.endCursor` from one response into the next to walk the entire connection; the base plugin's repositories.go does so with a batch-halving retry strategy that mirrors upstream.
func (*GraphQL) UserStarredRepositories ¶
func (g *GraphQL) UserStarredRepositories(ctx context.Context, login string, first int) (*UserStarredRepositoriesResponse, error)
UserStarredRepositories fetches the user's most-recently starred repositories (most-recent first). Consumed by the "stars" plugin.
func (*GraphQL) ViewerPinnedItems ¶ added in v1.1.0
func (g *GraphQL) ViewerPinnedItems(ctx context.Context, first int) (*ViewerPinnedItemsResponse, error)
ViewerPinnedItems fetches the viewer's pinned repositories for the "repositories" plugin's Pinned slot (spec 013).
func (*GraphQL) ViewerProjects ¶ added in v1.1.0
ViewerProjects fetches viewer.projectsV2 (open + closed) for the "projects" plugin (spec 013).
func (*GraphQL) ViewerSponsors ¶ added in v1.1.0
func (g *GraphQL) ViewerSponsors(ctx context.Context, activeFirst, pastFirst int) (*ViewerSponsorsResponse, error)
ViewerSponsors fetches sponsorshipsAsMaintainer (active + past) and sponsorsListing.activeGoal. Consumed by the "sponsors" plugin (spec 013).
func (*GraphQL) ViewerSponsorships ¶ added in v1.1.0
func (g *GraphQL) ViewerSponsorships(ctx context.Context, first int) (*ViewerSponsorshipsResponse, error)
ViewerSponsorships fetches sponsorshipsAsSponsor (the maintainers the viewer is currently sponsoring). Consumed by the "sponsorships" plugin (spec 013).
func (*GraphQL) ViewerStargazersRepos ¶ added in v1.1.0
func (g *GraphQL) ViewerStargazersRepos(ctx context.Context, repoFirst, starFirst int) (*ViewerStargazersReposResponse, error)
ViewerStargazersRepos fetches the viewer's top repos and their stargazers (latest N) for the "stargazers" plugin (spec 013).
type MockCall ¶
MockCall records a single observed request so tests can assert interaction history after the fact.
type MockResponse ¶
MockResponse is the canned reply for a single route entry. Either Status or Body may be zero — defaults are 200 and `{}` respectively.
type MockTransport ¶
type MockTransport struct {
// contains filtered or unexported fields
}
MockTransport is the M1 minimal http.RoundTripper used by REST tests (and US5 integration tests) to feed canned responses to the github API client without hitting the network. It is intentionally tiny; the full mock infrastructure that supports recorded fixtures lands with T-118 in M9.
MockTransport routes by exact "<METHOD> <PATH>" key, falling back to "<METHOD> <PATH-prefix>*" wildcards. Unknown routes return HTTP 404 with a diagnostic body so failing tests see what was missed.
func NewMockTransport ¶
func NewMockTransport() *MockTransport
NewMockTransport returns an empty MockTransport.
func (*MockTransport) Calls ¶
func (m *MockTransport) Calls() []MockCall
Calls returns a snapshot of all observed requests.
func (*MockTransport) Set ¶
func (m *MockTransport) Set(method, path string, resp MockResponse)
Set registers a response for the given method+path tuple. Path may end with "*" to match any suffix (greedy, longest-prefix wins).
func (*MockTransport) SetJSON ¶
func (m *MockTransport) SetJSON(method, path, body string)
SetJSON is a convenience for the common "200 OK + JSON body" route.
type OrganizationMembersOrganization ¶
type OrganizationMembersOrganization struct {
MembersWithRole *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection `json:"membersWithRole"`
}
OrganizationMembersOrganization includes the requested fields of the GraphQL type Organization.
func (*OrganizationMembersOrganization) GetMembersWithRole ¶
func (v *OrganizationMembersOrganization) GetMembersWithRole() *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection
GetMembersWithRole returns OrganizationMembersOrganization.MembersWithRole, and is useful for accessing the field via an interface.
type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection ¶
type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection struct {
TotalCount int `json:"totalCount"`
PageInfo *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo `json:"pageInfo"`
Nodes []*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser `json:"nodes"`
}
OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection includes the requested fields of the GraphQL type OrganizationMemberConnection.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetNodes ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetNodes() []*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser
GetNodes returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection.Nodes, and is useful for accessing the field via an interface.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetPageInfo ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetPageInfo() *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo
GetPageInfo returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection.PageInfo, and is useful for accessing the field via an interface.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetTotalCount ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetTotalCount() int
GetTotalCount returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser ¶
type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser struct {
Login string `json:"login"`
Name *string `json:"name"`
AvatarUrl string `json:"avatarUrl"`
}
OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser includes the requested fields of the GraphQL type User.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetAvatarUrl ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetAvatarUrl() string
GetAvatarUrl returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetLogin ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetLogin() string
GetLogin returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser.Login, and is useful for accessing the field via an interface.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetName ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetName() *string
GetName returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser.Name, and is useful for accessing the field via an interface.
type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo ¶
type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo struct {
HasNextPage bool `json:"hasNextPage"`
EndCursor *string `json:"endCursor"`
}
OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo) GetEndCursor ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo) GetHasNextPage ¶
func (v *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
type OrganizationMembersResponse ¶
type OrganizationMembersResponse struct {
Organization *OrganizationMembersOrganization `json:"organization"`
}
OrganizationMembersResponse is returned by OrganizationMembers on success.
func OrganizationMembers ¶
func (*OrganizationMembersResponse) GetOrganization ¶
func (v *OrganizationMembersResponse) GetOrganization() *OrganizationMembersOrganization
GetOrganization returns OrganizationMembersResponse.Organization, and is useful for accessing the field via an interface.
type OrganizationOrganization ¶
type OrganizationOrganization struct {
DatabaseId *int `json:"databaseId"`
Id string `json:"id"`
Login string `json:"login"`
Name *string `json:"name"`
Location *string `json:"location"`
CreatedAt time.Time `json:"createdAt"`
AvatarUrl string `json:"avatarUrl"`
WebsiteUrl *string `json:"websiteUrl"`
Email *string `json:"email"`
Description *string `json:"description"`
}
OrganizationOrganization includes the requested fields of the GraphQL type Organization.
func (*OrganizationOrganization) GetAvatarUrl ¶
func (v *OrganizationOrganization) GetAvatarUrl() string
GetAvatarUrl returns OrganizationOrganization.AvatarUrl, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetCreatedAt ¶
func (v *OrganizationOrganization) GetCreatedAt() time.Time
GetCreatedAt returns OrganizationOrganization.CreatedAt, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetDatabaseId ¶
func (v *OrganizationOrganization) GetDatabaseId() *int
GetDatabaseId returns OrganizationOrganization.DatabaseId, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetDescription ¶
func (v *OrganizationOrganization) GetDescription() *string
GetDescription returns OrganizationOrganization.Description, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetEmail ¶
func (v *OrganizationOrganization) GetEmail() *string
GetEmail returns OrganizationOrganization.Email, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetId ¶
func (v *OrganizationOrganization) GetId() string
GetId returns OrganizationOrganization.Id, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetLocation ¶
func (v *OrganizationOrganization) GetLocation() *string
GetLocation returns OrganizationOrganization.Location, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetLogin ¶
func (v *OrganizationOrganization) GetLogin() string
GetLogin returns OrganizationOrganization.Login, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetName ¶
func (v *OrganizationOrganization) GetName() *string
GetName returns OrganizationOrganization.Name, and is useful for accessing the field via an interface.
func (*OrganizationOrganization) GetWebsiteUrl ¶
func (v *OrganizationOrganization) GetWebsiteUrl() *string
GetWebsiteUrl returns OrganizationOrganization.WebsiteUrl, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganization ¶
type OrganizationRepositoriesOrganization struct {
Repositories *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection `json:"repositories"`
}
OrganizationRepositoriesOrganization includes the requested fields of the GraphQL type Organization.
func (*OrganizationRepositoriesOrganization) GetRepositories ¶
func (v *OrganizationRepositoriesOrganization) GetRepositories() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection
GetRepositories returns OrganizationRepositoriesOrganization.Repositories, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection struct {
TotalCount int `json:"totalCount"`
PageInfo *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo `json:"pageInfo"`
Nodes []*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetNodes ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetNodes() []*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository
GetNodes returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetPageInfo ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetPageInfo() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo
GetPageInfo returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetTotalCount ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository struct {
DatabaseId *int `json:"databaseId"`
Id string `json:"id"`
Name string `json:"name"`
NameWithOwner string `json:"nameWithOwner"`
Description *string `json:"description"`
Url string `json:"url"`
IsPrivate bool `json:"isPrivate"`
IsFork bool `json:"isFork"`
CreatedAt time.Time `json:"createdAt"`
PushedAt *time.Time `json:"pushedAt"`
UpdatedAt *time.Time `json:"updatedAt"`
StargazerCount int `json:"stargazerCount"`
ForkCount int `json:"forkCount"`
Issues *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection `json:"issues"`
PullRequests *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
Watchers *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection `json:"watchers"`
PrimaryLanguage *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage `json:"primaryLanguage"`
Languages *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection `json:"languages"`
DiskUsage *int `json:"diskUsage"`
Releases *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection `json:"releases"`
Packages *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection `json:"packages"`
Deployments *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection `json:"deployments"`
LicenseInfo *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense `json:"licenseInfo"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt() time.Time
GetCreatedAt returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.CreatedAt, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId() *int
GetDatabaseId returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.DatabaseId, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDeployments ¶ added in v1.2.7
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDeployments() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection
GetDeployments returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Deployments, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDescription ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDescription() *string
GetDescription returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Description, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage() *int
GetDiskUsage returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.DiskUsage, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetForkCount ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetForkCount() int
GetForkCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetId ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetId() string
GetId returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Id, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsFork ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsFork() bool
GetIsFork returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate() bool
GetIsPrivate returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIssues ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIssues() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection
GetIssues returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLanguages ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLanguages() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection
GetLanguages returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Languages, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense
GetLicenseInfo returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.LicenseInfo, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetName ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetName() string
GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Name, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPackages ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPackages() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection
GetPackages returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Packages, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage
GetPrimaryLanguage returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.PrimaryLanguage, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPullRequests ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPullRequests() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
GetPullRequests returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPushedAt ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPushedAt() *time.Time
GetPushedAt returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.PushedAt, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetReleases ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetReleases() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection
GetReleases returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Releases, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount() int
GetStargazerCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt() *time.Time
GetUpdatedAt returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.UpdatedAt, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUrl ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUrl() string
GetUrl returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Url, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetWatchers ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetWatchers() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection
GetWatchers returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Watchers, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection ¶ added in v1.2.7
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection struct {
TotalCount int `json:"totalCount"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection) GetTotalCount ¶ added in v1.2.7
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection ¶ added in v1.1.0
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
TotalCount int `json:"totalCount"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection struct {
TotalCount int `json:"totalCount"`
TotalSize int `json:"totalSize"`
Edges []*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge `json:"edges"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection includes the requested fields of the GraphQL type LanguageConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges() []*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge
GetEdges returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.Edges, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalCount, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize() int
GetTotalSize returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalSize, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge struct {
Size int `json:"size"`
Node *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage `json:"node"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge includes the requested fields of the GraphQL type LanguageEdge.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode() *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage
GetNode returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Node, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize() int
GetSize returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Size, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage includes the requested fields of the GraphQL type Language.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor() *string
GetColor returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Color, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName() string
GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Name, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense ¶ added in v1.1.0
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense struct {
Name string `json:"name"`
Key *string `json:"key"`
Nickname *string `json:"nickname"`
SpdxId *string `json:"spdxId"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey() *string
GetKey returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Key, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName() string
GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname() *string
GetNickname returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Nickname, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId() *string
GetSpdxId returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection ¶ added in v1.1.0
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection struct {
TotalCount int `json:"totalCount"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection includes the requested fields of the GraphQL type PackageConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection) GetTotalCount ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetColor ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetColor() *string
GetColor returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetName ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetName() string
GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection ¶ added in v1.1.0
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
TotalCount int `json:"totalCount"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection ¶ added in v1.1.0
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection struct {
TotalCount int `json:"totalCount"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection includes the requested fields of the GraphQL type ReleaseConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection) GetTotalCount ¶ added in v1.1.0
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection struct {
TotalCount int `json:"totalCount"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection includes the requested fields of the GraphQL type WatcherConnection.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection) GetTotalCount ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection) GetTotalCount() int
GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection.TotalCount, and is useful for accessing the field via an interface.
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo ¶
type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo struct {
HasNextPage bool `json:"hasNextPage"`
EndCursor *string `json:"endCursor"`
}
OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo) GetEndCursor ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo) GetHasNextPage ¶
func (v *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
type OrganizationRepositoriesResponse ¶
type OrganizationRepositoriesResponse struct {
Organization *OrganizationRepositoriesOrganization `json:"organization"`
}
OrganizationRepositoriesResponse is returned by OrganizationRepositories on success.
func (*OrganizationRepositoriesResponse) GetOrganization ¶
func (v *OrganizationRepositoriesResponse) GetOrganization() *OrganizationRepositoriesOrganization
GetOrganization returns OrganizationRepositoriesResponse.Organization, and is useful for accessing the field via an interface.
type OrganizationResponse ¶
type OrganizationResponse struct {
Organization *OrganizationOrganization `json:"organization"`
}
OrganizationResponse is returned by Organization on success.
func Organization ¶
func (*OrganizationResponse) GetOrganization ¶
func (v *OrganizationResponse) GetOrganization() *OrganizationOrganization
GetOrganization returns OrganizationResponse.Organization, and is useful for accessing the field via an interface.
type Quota ¶
type Quota struct {
Limit int `json:"limit"`
Used int `json:"used"`
Remaining int `json:"remaining"`
Reset time.Time `json:"reset"`
}
Quota is the per-bucket rate counter; the JSON tags mirror upstream.
func (*Quota) UnmarshalJSON ¶
UnmarshalJSON accepts the integer epoch seconds that GitHub returns for "reset" and folds it into time.Time.
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST wraps the httpx.Client with GitHub REST helpers. It is safe for concurrent use; the underlying transport stays alive for the life of the process.
func NewREST ¶
NewREST constructs a REST client. The token kind is classified up-front so callers can branch on it; an empty / fine-grained / junk token returns the typed *InputError defined by ValidateToken.
When TokenKind == TokenMocked the transport is wrapped by [newMockedGuard] so requests to real GitHub hosts panic loudly (FR-017).
func (*REST) Delete ¶
func (r *REST) Delete(ctx context.Context, path string, extra http.Header) ([]byte, *http.Response, error)
Delete issues an authenticated DELETE. No body. Used by the M6 committer for `DELETE /git/refs/heads/<branch>` (PR head branch cleanup, Phase 4).
func (*REST) Get ¶
func (r *REST) Get(ctx context.Context, path string, extra http.Header) ([]byte, *http.Response, error)
Get issues an authenticated GET to path (which MUST start with "/") and returns the raw body + response. The default GitHub Accept / Authorization headers attached at construction time are sent on every request; callers can layer additional headers via the second argument.
Used by plugins that need an arbitrary REST endpoint that hasn't earned a dedicated typed helper yet (activity events, habits commit diffs, traffic counters, ...). On non-2xx status the response is still returned alongside the body so callers can inspect status code + headers; a transport-level error returns (nil, nil, err).
func (*REST) HTTPClient ¶
HTTPClient exposes the underlying retry-enabled http.Client.
func (*REST) HeadRoot ¶
HeadRoot inspects the root endpoint primarily to read X-OAuth-Scopes during token validation (T-108 in M6).
func (*REST) Post ¶
func (r *REST) Post(ctx context.Context, path string, body []byte, extra http.Header) ([]byte, *http.Response, error)
Post issues an authenticated POST with the given JSON body. Used by the M6 committer for `POST /repos/.../pulls` (PR creation, Phase 4).
func (*REST) Put ¶
func (r *REST) Put(ctx context.Context, path string, body []byte, extra http.Header) ([]byte, *http.Response, error)
Put issues an authenticated PUT with the given JSON body. Mirrors Get's response surface (body + http.Response + transport error). Used by the M6 committer for `PUT /repos/.../contents/<filename>` (content commits) and `PUT /git/refs` (branch creation).
func (*REST) RateLimit ¶
func (r *REST) RateLimit(ctx context.Context) (*RateLimitResponse, error)
RateLimit queries /rate_limit and returns the decoded payload.
func (*REST) Scopes ¶
Scopes returns the OAuth scopes granted to the configured token, as reported by the GitHub API's X-OAuth-Scopes response header on a `GET /` request.
The first call issues the HTTP probe and caches the result; subsequent calls return the cached slice without re-hitting the network. An empty slice (with nil error) means the token has no scopes — either the response carried no X-OAuth-Scopes header, or the request itself was unauthenticated (HTTP 401, which GitHub returns for a missing or rejected token). Plugins that gate behavior on a particular scope (projects, sponsors, traffic) can therefore call this helper without worrying about request amplification — they Skip on the empty slice regardless of whether the token was missing or merely under-scoped.
On HTTP-level failure (transport error, 5xx, or any other non-{2xx, 401} status), the error is surfaced verbatim and nothing is cached so callers can retry on the next request.
type RateLimitResponse ¶
type RateLimitResponse struct {
Resources struct {
Core Quota `json:"core"`
GraphQL Quota `json:"graphql"`
Search Quota `json:"search"`
} `json:"resources"`
Rate Quota `json:"rate"`
}
RateLimitResponse mirrors the upstream /rate_limit payload (only the fields the project consumes).
type ReactionContent ¶ added in v1.1.0
type ReactionContent string
const ( ReactionContentThumbsUp ReactionContent = "THUMBS_UP" ReactionContentThumbsDown ReactionContent = "THUMBS_DOWN" ReactionContentLaugh ReactionContent = "LAUGH" ReactionContentHooray ReactionContent = "HOORAY" ReactionContentConfused ReactionContent = "CONFUSED" ReactionContentHeart ReactionContent = "HEART" ReactionContentRocket ReactionContent = "ROCKET" ReactionContentEyes ReactionContent = "EYES" )
type RepositoryContributionType ¶ added in v1.1.0
type RepositoryContributionType string
const ( RepositoryContributionTypeCommit RepositoryContributionType = "COMMIT" RepositoryContributionTypeIssue RepositoryContributionType = "ISSUE" RepositoryContributionTypePullRequest RepositoryContributionType = "PULL_REQUEST" RepositoryContributionTypePullRequestReview RepositoryContributionType = "PULL_REQUEST_REVIEW" RepositoryContributionTypeRepository RepositoryContributionType = "REPOSITORY" )
type RepositoryRepository ¶
type RepositoryRepository struct {
DatabaseId *int `json:"databaseId"`
Name string `json:"name"`
NameWithOwner string `json:"nameWithOwner"`
Description *string `json:"description"`
CreatedAt time.Time `json:"createdAt"`
DiskUsage *int `json:"diskUsage"`
StargazerCount int `json:"stargazerCount"`
ForkCount int `json:"forkCount"`
IsArchived bool `json:"isArchived"`
Watchers *RepositoryRepositoryWatchersWatcherConnection `json:"watchers"`
Languages *RepositoryRepositoryLanguagesLanguageConnection `json:"languages"`
Deployments *RepositoryRepositoryDeploymentsDeploymentConnection `json:"deployments"`
Environments *RepositoryRepositoryEnvironmentsEnvironmentConnection `json:"environments"`
PrimaryLanguage *RepositoryRepositoryPrimaryLanguage `json:"primaryLanguage"`
LicenseInfo *RepositoryRepositoryLicenseInfoLicense `json:"licenseInfo"`
DefaultBranchRef *RepositoryRepositoryDefaultBranchRef `json:"defaultBranchRef"`
Owner RepositoryRepositoryOwner `json:"-"`
Issues *RepositoryRepositoryIssuesIssueConnection `json:"issues"`
PullRequests *RepositoryRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}
RepositoryRepository includes the requested fields of the GraphQL type Repository.
func (*RepositoryRepository) GetCreatedAt ¶ added in v1.1.0
func (v *RepositoryRepository) GetCreatedAt() time.Time
GetCreatedAt returns RepositoryRepository.CreatedAt, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetDatabaseId ¶
func (v *RepositoryRepository) GetDatabaseId() *int
GetDatabaseId returns RepositoryRepository.DatabaseId, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetDefaultBranchRef ¶
func (v *RepositoryRepository) GetDefaultBranchRef() *RepositoryRepositoryDefaultBranchRef
GetDefaultBranchRef returns RepositoryRepository.DefaultBranchRef, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetDeployments ¶ added in v1.1.0
func (v *RepositoryRepository) GetDeployments() *RepositoryRepositoryDeploymentsDeploymentConnection
GetDeployments returns RepositoryRepository.Deployments, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetDescription ¶
func (v *RepositoryRepository) GetDescription() *string
GetDescription returns RepositoryRepository.Description, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetDiskUsage ¶ added in v1.1.0
func (v *RepositoryRepository) GetDiskUsage() *int
GetDiskUsage returns RepositoryRepository.DiskUsage, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetEnvironments ¶ added in v1.1.0
func (v *RepositoryRepository) GetEnvironments() *RepositoryRepositoryEnvironmentsEnvironmentConnection
GetEnvironments returns RepositoryRepository.Environments, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetForkCount ¶
func (v *RepositoryRepository) GetForkCount() int
GetForkCount returns RepositoryRepository.ForkCount, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetIsArchived ¶
func (v *RepositoryRepository) GetIsArchived() bool
GetIsArchived returns RepositoryRepository.IsArchived, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetIssues ¶
func (v *RepositoryRepository) GetIssues() *RepositoryRepositoryIssuesIssueConnection
GetIssues returns RepositoryRepository.Issues, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetLanguages ¶ added in v1.2.0
func (v *RepositoryRepository) GetLanguages() *RepositoryRepositoryLanguagesLanguageConnection
GetLanguages returns RepositoryRepository.Languages, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetLicenseInfo ¶
func (v *RepositoryRepository) GetLicenseInfo() *RepositoryRepositoryLicenseInfoLicense
GetLicenseInfo returns RepositoryRepository.LicenseInfo, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetName ¶
func (v *RepositoryRepository) GetName() string
GetName returns RepositoryRepository.Name, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetNameWithOwner ¶
func (v *RepositoryRepository) GetNameWithOwner() string
GetNameWithOwner returns RepositoryRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetOwner ¶
func (v *RepositoryRepository) GetOwner() RepositoryRepositoryOwner
GetOwner returns RepositoryRepository.Owner, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetPrimaryLanguage ¶
func (v *RepositoryRepository) GetPrimaryLanguage() *RepositoryRepositoryPrimaryLanguage
GetPrimaryLanguage returns RepositoryRepository.PrimaryLanguage, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetPullRequests ¶
func (v *RepositoryRepository) GetPullRequests() *RepositoryRepositoryPullRequestsPullRequestConnection
GetPullRequests returns RepositoryRepository.PullRequests, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetStargazerCount ¶
func (v *RepositoryRepository) GetStargazerCount() int
GetStargazerCount returns RepositoryRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*RepositoryRepository) GetWatchers ¶ added in v1.2.0
func (v *RepositoryRepository) GetWatchers() *RepositoryRepositoryWatchersWatcherConnection
GetWatchers returns RepositoryRepository.Watchers, and is useful for accessing the field via an interface.
func (*RepositoryRepository) MarshalJSON ¶
func (v *RepositoryRepository) MarshalJSON() ([]byte, error)
func (*RepositoryRepository) UnmarshalJSON ¶
func (v *RepositoryRepository) UnmarshalJSON(b []byte) error
type RepositoryRepositoryDefaultBranchRef ¶
type RepositoryRepositoryDefaultBranchRef struct {
Name string `json:"name"`
}
RepositoryRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref.
func (*RepositoryRepositoryDefaultBranchRef) GetName ¶
func (v *RepositoryRepositoryDefaultBranchRef) GetName() string
GetName returns RepositoryRepositoryDefaultBranchRef.Name, and is useful for accessing the field via an interface.
type RepositoryRepositoryDeploymentsDeploymentConnection ¶ added in v1.1.0
type RepositoryRepositoryDeploymentsDeploymentConnection struct {
TotalCount int `json:"totalCount"`
}
RepositoryRepositoryDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection.
func (*RepositoryRepositoryDeploymentsDeploymentConnection) GetTotalCount ¶ added in v1.1.0
func (v *RepositoryRepositoryDeploymentsDeploymentConnection) GetTotalCount() int
GetTotalCount returns RepositoryRepositoryDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.
type RepositoryRepositoryEnvironmentsEnvironmentConnection ¶ added in v1.1.0
type RepositoryRepositoryEnvironmentsEnvironmentConnection struct {
TotalCount int `json:"totalCount"`
}
RepositoryRepositoryEnvironmentsEnvironmentConnection includes the requested fields of the GraphQL type EnvironmentConnection.
func (*RepositoryRepositoryEnvironmentsEnvironmentConnection) GetTotalCount ¶ added in v1.1.0
func (v *RepositoryRepositoryEnvironmentsEnvironmentConnection) GetTotalCount() int
GetTotalCount returns RepositoryRepositoryEnvironmentsEnvironmentConnection.TotalCount, and is useful for accessing the field via an interface.
type RepositoryRepositoryIssuesIssueConnection ¶
type RepositoryRepositoryIssuesIssueConnection struct {
TotalCount int `json:"totalCount"`
}
RepositoryRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.
func (*RepositoryRepositoryIssuesIssueConnection) GetTotalCount ¶
func (v *RepositoryRepositoryIssuesIssueConnection) GetTotalCount() int
GetTotalCount returns RepositoryRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.
type RepositoryRepositoryLanguagesLanguageConnection ¶ added in v1.2.0
type RepositoryRepositoryLanguagesLanguageConnection struct {
Edges []*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge `json:"edges"`
}
RepositoryRepositoryLanguagesLanguageConnection includes the requested fields of the GraphQL type LanguageConnection.
func (*RepositoryRepositoryLanguagesLanguageConnection) GetEdges ¶ added in v1.2.0
func (v *RepositoryRepositoryLanguagesLanguageConnection) GetEdges() []*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge
GetEdges returns RepositoryRepositoryLanguagesLanguageConnection.Edges, and is useful for accessing the field via an interface.
type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge ¶ added in v1.2.0
type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge struct {
Size int `json:"size"`
Node *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage `json:"node"`
}
RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge includes the requested fields of the GraphQL type LanguageEdge.
func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode ¶ added in v1.2.0
func (v *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode() *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage
GetNode returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Node, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize ¶ added in v1.2.0
func (v *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize() int
GetSize returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Size, and is useful for accessing the field via an interface.
type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage ¶ added in v1.2.0
type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage includes the requested fields of the GraphQL type Language.
func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor ¶ added in v1.2.0
func (v *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor() *string
GetColor returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Color, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName ¶ added in v1.2.0
func (v *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName() string
GetName returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Name, and is useful for accessing the field via an interface.
type RepositoryRepositoryLicenseInfoLicense ¶
type RepositoryRepositoryLicenseInfoLicense struct {
Name string `json:"name"`
SpdxId *string `json:"spdxId"`
}
RepositoryRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.
func (*RepositoryRepositoryLicenseInfoLicense) GetName ¶
func (v *RepositoryRepositoryLicenseInfoLicense) GetName() string
GetName returns RepositoryRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryLicenseInfoLicense) GetSpdxId ¶
func (v *RepositoryRepositoryLicenseInfoLicense) GetSpdxId() *string
GetSpdxId returns RepositoryRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.
type RepositoryRepositoryOwner ¶
type RepositoryRepositoryOwner interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// GetLogin returns the interface-field "login" from its implementation.
GetLogin() string
// GetAvatarUrl returns the interface-field "avatarUrl" from its implementation.
GetAvatarUrl() string
// contains filtered or unexported methods
}
RepositoryRepositoryOwner includes the requested fields of the GraphQL interface RepositoryOwner.
RepositoryRepositoryOwner is implemented by the following types: RepositoryRepositoryOwnerOrganization RepositoryRepositoryOwnerUser
type RepositoryRepositoryOwnerOrganization ¶
type RepositoryRepositoryOwnerOrganization struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
RepositoryRepositoryOwnerOrganization includes the requested fields of the GraphQL type Organization.
func (*RepositoryRepositoryOwnerOrganization) GetAvatarUrl ¶
func (v *RepositoryRepositoryOwnerOrganization) GetAvatarUrl() string
GetAvatarUrl returns RepositoryRepositoryOwnerOrganization.AvatarUrl, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryOwnerOrganization) GetLogin ¶
func (v *RepositoryRepositoryOwnerOrganization) GetLogin() string
GetLogin returns RepositoryRepositoryOwnerOrganization.Login, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryOwnerOrganization) GetTypename ¶
func (v *RepositoryRepositoryOwnerOrganization) GetTypename() *string
GetTypename returns RepositoryRepositoryOwnerOrganization.Typename, and is useful for accessing the field via an interface.
type RepositoryRepositoryOwnerUser ¶
type RepositoryRepositoryOwnerUser struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
RepositoryRepositoryOwnerUser includes the requested fields of the GraphQL type User.
func (*RepositoryRepositoryOwnerUser) GetAvatarUrl ¶
func (v *RepositoryRepositoryOwnerUser) GetAvatarUrl() string
GetAvatarUrl returns RepositoryRepositoryOwnerUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryOwnerUser) GetLogin ¶
func (v *RepositoryRepositoryOwnerUser) GetLogin() string
GetLogin returns RepositoryRepositoryOwnerUser.Login, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryOwnerUser) GetTypename ¶
func (v *RepositoryRepositoryOwnerUser) GetTypename() *string
GetTypename returns RepositoryRepositoryOwnerUser.Typename, and is useful for accessing the field via an interface.
type RepositoryRepositoryPrimaryLanguage ¶
type RepositoryRepositoryPrimaryLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
RepositoryRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.
func (*RepositoryRepositoryPrimaryLanguage) GetColor ¶
func (v *RepositoryRepositoryPrimaryLanguage) GetColor() *string
GetColor returns RepositoryRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.
func (*RepositoryRepositoryPrimaryLanguage) GetName ¶
func (v *RepositoryRepositoryPrimaryLanguage) GetName() string
GetName returns RepositoryRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.
type RepositoryRepositoryPullRequestsPullRequestConnection ¶
type RepositoryRepositoryPullRequestsPullRequestConnection struct {
TotalCount int `json:"totalCount"`
}
RepositoryRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.
func (*RepositoryRepositoryPullRequestsPullRequestConnection) GetTotalCount ¶
func (v *RepositoryRepositoryPullRequestsPullRequestConnection) GetTotalCount() int
GetTotalCount returns RepositoryRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.
type RepositoryRepositoryWatchersWatcherConnection ¶ added in v1.2.0
type RepositoryRepositoryWatchersWatcherConnection struct {
TotalCount int `json:"totalCount"`
}
RepositoryRepositoryWatchersWatcherConnection includes the requested fields of the GraphQL type WatcherConnection.
func (*RepositoryRepositoryWatchersWatcherConnection) GetTotalCount ¶ added in v1.2.0
func (v *RepositoryRepositoryWatchersWatcherConnection) GetTotalCount() int
GetTotalCount returns RepositoryRepositoryWatchersWatcherConnection.TotalCount, and is useful for accessing the field via an interface.
type RepositoryResponse ¶
type RepositoryResponse struct {
Repository *RepositoryRepository `json:"repository"`
}
RepositoryResponse is returned by Repository on success.
func Repository ¶
func Repository( ctx_ context.Context, client_ graphql.Client, login string, repo string, ) (data_ *RepositoryResponse, err_ error)
Query: single repository for the M7 `repository` template.
Returns the union of fields the template's partials need to render the "repo identity + community + activity" panes. REST fallback fields (contributors count, recent commits) live in `internal/plugins/base/repository.go` and are NOT fetched here.
func (*RepositoryResponse) GetRepository ¶
func (v *RepositoryResponse) GetRepository() *RepositoryRepository
GetRepository returns RepositoryResponse.Repository, and is useful for accessing the field via an interface.
type Resources ¶
type Resources struct {
// contains filtered or unexported fields
}
Resources is the concurrent-safe holder for the three GitHub API rate buckets (data-model E-008). The zero value is ready to use; call Resources.Refresh to populate from a live or mocked /rate_limit.
func NewResources ¶
func NewResources() *Resources
NewResources returns a Resources with zero-value Quotas.
func (*Resources) Refresh ¶
Refresh queries /rate_limit and atomically updates every bucket. On failure the previous values are retained and the error is returned unmodified so callers can decide whether to retry.
func (*Resources) Snapshot ¶
func (r *Resources) Snapshot() ResourcesSnapshot
Snapshot returns a read-only copy of the current quota values. Returned Quotas are value types, so the caller cannot mutate the holder's internal state through them.
type ResourcesSnapshot ¶
ResourcesSnapshot is a value-type view of the three quotas at a point in time, used by callers that only need to read.
type SponsorsGoalKind ¶ added in v1.1.0
type SponsorsGoalKind string
const ( SponsorsGoalKindTotalSponsorsCount SponsorsGoalKind = "TOTAL_SPONSORS_COUNT" SponsorsGoalKindMonthlySponsorshipAmount SponsorsGoalKind = "MONTHLY_SPONSORSHIP_AMOUNT" )
type TokenKind ¶
type TokenKind int
TokenKind enumerates the credential shapes the project recognizes.
const ( // TokenUnknown is returned for empty or unrecognized credentials. // Callers must treat it as a hard input error. TokenUnknown TokenKind = iota // TokenClassic covers the canonical "classic" personal access // tokens (ghp_, gho_, ghu_, ghs_, ghr_). TokenClassic // TokenFineGrained matches GitHub's newer fine-grained PATs. We // reject these early because upstream behavior depends on classic // scopes that fine-grained tokens cannot replicate yet. TokenFineGrained // TokenNone is the explicit "no token" sentinel for offline / // public-only runs. TokenNone // TokenMocked is the sentinel test helpers use to wire a fake // transport. mockedGuardRoundTripper panics on real GitHub // hostnames when this kind is active (FR-017). TokenMocked )
func ClassifyToken ¶
ClassifyToken inspects raw and returns the TokenKind it belongs to. An empty string yields TokenUnknown so callers can branch on it the same way as on a malformed value.
type UserCommitContributionsResponse ¶ added in v1.2.0
type UserCommitContributionsResponse struct {
User *UserCommitContributionsUser `json:"user"`
}
UserCommitContributionsResponse is returned by UserCommitContributions on success.
func UserCommitContributions ¶ added in v1.2.0
func (*UserCommitContributionsResponse) GetUser ¶ added in v1.2.0
func (v *UserCommitContributionsResponse) GetUser() *UserCommitContributionsUser
GetUser returns UserCommitContributionsResponse.User, and is useful for accessing the field via an interface.
type UserCommitContributionsUser ¶ added in v1.2.0
type UserCommitContributionsUser struct {
ContributionsCollection *UserCommitContributionsUserContributionsCollection `json:"contributionsCollection"`
}
UserCommitContributionsUser includes the requested fields of the GraphQL type User.
func (*UserCommitContributionsUser) GetContributionsCollection ¶ added in v1.2.0
func (v *UserCommitContributionsUser) GetContributionsCollection() *UserCommitContributionsUserContributionsCollection
GetContributionsCollection returns UserCommitContributionsUser.ContributionsCollection, and is useful for accessing the field via an interface.
type UserCommitContributionsUserContributionsCollection ¶ added in v1.2.0
type UserCommitContributionsUserContributionsCollection struct {
TotalCommitContributions int `json:"totalCommitContributions"`
}
UserCommitContributionsUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.
func (*UserCommitContributionsUserContributionsCollection) GetTotalCommitContributions ¶ added in v1.2.0
func (v *UserCommitContributionsUserContributionsCollection) GetTotalCommitContributions() int
GetTotalCommitContributions returns UserCommitContributionsUserContributionsCollection.TotalCommitContributions, and is useful for accessing the field via an interface.
type UserFollowersResponse ¶
type UserFollowersResponse struct {
User *UserFollowersUser `json:"user"`
}
UserFollowersResponse is returned by UserFollowers on success.
func UserFollowers ¶
func (*UserFollowersResponse) GetUser ¶
func (v *UserFollowersResponse) GetUser() *UserFollowersUser
GetUser returns UserFollowersResponse.User, and is useful for accessing the field via an interface.
type UserFollowersUser ¶
type UserFollowersUser struct {
Followers *UserFollowersUserFollowersUserConnection `json:"followers"`
Following *UserFollowersUserFollowingUserConnection `json:"following"`
}
UserFollowersUser includes the requested fields of the GraphQL type User.
func (*UserFollowersUser) GetFollowers ¶
func (v *UserFollowersUser) GetFollowers() *UserFollowersUserFollowersUserConnection
GetFollowers returns UserFollowersUser.Followers, and is useful for accessing the field via an interface.
func (*UserFollowersUser) GetFollowing ¶
func (v *UserFollowersUser) GetFollowing() *UserFollowersUserFollowingUserConnection
GetFollowing returns UserFollowersUser.Following, and is useful for accessing the field via an interface.
type UserFollowersUserFollowersUserConnection ¶
type UserFollowersUserFollowersUserConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*UserFollowersUserFollowersUserConnectionNodesUser `json:"nodes"`
}
UserFollowersUserFollowersUserConnection includes the requested fields of the GraphQL type UserConnection.
func (*UserFollowersUserFollowersUserConnection) GetNodes ¶
func (v *UserFollowersUserFollowersUserConnection) GetNodes() []*UserFollowersUserFollowersUserConnectionNodesUser
GetNodes returns UserFollowersUserFollowersUserConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserFollowersUserFollowersUserConnection) GetTotalCount ¶
func (v *UserFollowersUserFollowersUserConnection) GetTotalCount() int
GetTotalCount returns UserFollowersUserFollowersUserConnection.TotalCount, and is useful for accessing the field via an interface.
type UserFollowersUserFollowersUserConnectionNodesUser ¶
type UserFollowersUserFollowersUserConnectionNodesUser struct {
Login string `json:"login"`
Name *string `json:"name"`
AvatarUrl string `json:"avatarUrl"`
}
UserFollowersUserFollowersUserConnectionNodesUser includes the requested fields of the GraphQL type User.
func (*UserFollowersUserFollowersUserConnectionNodesUser) GetAvatarUrl ¶
func (v *UserFollowersUserFollowersUserConnectionNodesUser) GetAvatarUrl() string
GetAvatarUrl returns UserFollowersUserFollowersUserConnectionNodesUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*UserFollowersUserFollowersUserConnectionNodesUser) GetLogin ¶
func (v *UserFollowersUserFollowersUserConnectionNodesUser) GetLogin() string
GetLogin returns UserFollowersUserFollowersUserConnectionNodesUser.Login, and is useful for accessing the field via an interface.
func (*UserFollowersUserFollowersUserConnectionNodesUser) GetName ¶
func (v *UserFollowersUserFollowersUserConnectionNodesUser) GetName() *string
GetName returns UserFollowersUserFollowersUserConnectionNodesUser.Name, and is useful for accessing the field via an interface.
type UserFollowersUserFollowingUserConnection ¶
type UserFollowersUserFollowingUserConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*UserFollowersUserFollowingUserConnectionNodesUser `json:"nodes"`
}
UserFollowersUserFollowingUserConnection includes the requested fields of the GraphQL type UserConnection.
func (*UserFollowersUserFollowingUserConnection) GetNodes ¶
func (v *UserFollowersUserFollowingUserConnection) GetNodes() []*UserFollowersUserFollowingUserConnectionNodesUser
GetNodes returns UserFollowersUserFollowingUserConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserFollowersUserFollowingUserConnection) GetTotalCount ¶
func (v *UserFollowersUserFollowingUserConnection) GetTotalCount() int
GetTotalCount returns UserFollowersUserFollowingUserConnection.TotalCount, and is useful for accessing the field via an interface.
type UserFollowersUserFollowingUserConnectionNodesUser ¶
type UserFollowersUserFollowingUserConnectionNodesUser struct {
Login string `json:"login"`
Name *string `json:"name"`
AvatarUrl string `json:"avatarUrl"`
}
UserFollowersUserFollowingUserConnectionNodesUser includes the requested fields of the GraphQL type User.
func (*UserFollowersUserFollowingUserConnectionNodesUser) GetAvatarUrl ¶
func (v *UserFollowersUserFollowingUserConnectionNodesUser) GetAvatarUrl() string
GetAvatarUrl returns UserFollowersUserFollowingUserConnectionNodesUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*UserFollowersUserFollowingUserConnectionNodesUser) GetLogin ¶
func (v *UserFollowersUserFollowingUserConnectionNodesUser) GetLogin() string
GetLogin returns UserFollowersUserFollowingUserConnectionNodesUser.Login, and is useful for accessing the field via an interface.
func (*UserFollowersUserFollowingUserConnectionNodesUser) GetName ¶
func (v *UserFollowersUserFollowingUserConnectionNodesUser) GetName() *string
GetName returns UserFollowersUserFollowingUserConnectionNodesUser.Name, and is useful for accessing the field via an interface.
type UserIndepthResponse ¶
type UserIndepthResponse struct {
User *UserIndepthUser `json:"user"`
}
UserIndepthResponse is returned by UserIndepth on success.
func UserIndepth ¶
func (*UserIndepthResponse) GetUser ¶
func (v *UserIndepthResponse) GetUser() *UserIndepthUser
GetUser returns UserIndepthResponse.User, and is useful for accessing the field via an interface.
type UserIndepthUser ¶
type UserIndepthUser struct {
ContributionsCollection *UserIndepthUserContributionsCollection `json:"contributionsCollection"`
Repositories *UserIndepthUserRepositoriesRepositoryConnection `json:"repositories"`
}
UserIndepthUser includes the requested fields of the GraphQL type User.
func (*UserIndepthUser) GetContributionsCollection ¶
func (v *UserIndepthUser) GetContributionsCollection() *UserIndepthUserContributionsCollection
GetContributionsCollection returns UserIndepthUser.ContributionsCollection, and is useful for accessing the field via an interface.
func (*UserIndepthUser) GetRepositories ¶
func (v *UserIndepthUser) GetRepositories() *UserIndepthUserRepositoriesRepositoryConnection
GetRepositories returns UserIndepthUser.Repositories, and is useful for accessing the field via an interface.
type UserIndepthUserContributionsCollection ¶
type UserIndepthUserContributionsCollection struct {
ContributionCalendar *UserIndepthUserContributionsCollectionContributionCalendar `json:"contributionCalendar"`
}
UserIndepthUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.
func (*UserIndepthUserContributionsCollection) GetContributionCalendar ¶
func (v *UserIndepthUserContributionsCollection) GetContributionCalendar() *UserIndepthUserContributionsCollectionContributionCalendar
GetContributionCalendar returns UserIndepthUserContributionsCollection.ContributionCalendar, and is useful for accessing the field via an interface.
type UserIndepthUserContributionsCollectionContributionCalendar ¶
type UserIndepthUserContributionsCollectionContributionCalendar struct {
TotalContributions int `json:"totalContributions"`
Weeks []*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek `json:"weeks"`
}
UserIndepthUserContributionsCollectionContributionCalendar includes the requested fields of the GraphQL type ContributionCalendar.
func (*UserIndepthUserContributionsCollectionContributionCalendar) GetTotalContributions ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendar) GetTotalContributions() int
GetTotalContributions returns UserIndepthUserContributionsCollectionContributionCalendar.TotalContributions, and is useful for accessing the field via an interface.
func (*UserIndepthUserContributionsCollectionContributionCalendar) GetWeeks ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendar) GetWeeks() []*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek
GetWeeks returns UserIndepthUserContributionsCollectionContributionCalendar.Weeks, and is useful for accessing the field via an interface.
type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek ¶
type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek struct {
FirstDay string `json:"firstDay"`
ContributionDays []*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay `json:"contributionDays"`
}
UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek includes the requested fields of the GraphQL type ContributionCalendarWeek.
func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays() []*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay
GetContributionDays returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.ContributionDays, and is useful for accessing the field via an interface.
func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay() string
GetFirstDay returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.FirstDay, and is useful for accessing the field via an interface.
type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay ¶
type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay struct {
Date string `json:"date"`
ContributionCount int `json:"contributionCount"`
Weekday int `json:"weekday"`
Color string `json:"color"`
}
UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay includes the requested fields of the GraphQL type ContributionCalendarDay.
func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor() string
GetColor returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Color, and is useful for accessing the field via an interface.
func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount() int
GetContributionCount returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.ContributionCount, and is useful for accessing the field via an interface.
func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate() string
GetDate returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Date, and is useful for accessing the field via an interface.
func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday ¶
func (v *UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday() int
GetWeekday returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Weekday, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnection ¶
type UserIndepthUserRepositoriesRepositoryConnection struct {
TotalCount int `json:"totalCount"`
PageInfo *UserIndepthUserRepositoriesRepositoryConnectionPageInfo `json:"pageInfo"`
Nodes []*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}
UserIndepthUserRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*UserIndepthUserRepositoriesRepositoryConnection) GetNodes ¶
func (v *UserIndepthUserRepositoriesRepositoryConnection) GetNodes() []*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository
GetNodes returns UserIndepthUserRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnection) GetPageInfo ¶
func (v *UserIndepthUserRepositoriesRepositoryConnection) GetPageInfo() *UserIndepthUserRepositoriesRepositoryConnectionPageInfo
GetPageInfo returns UserIndepthUserRepositoriesRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnection) GetTotalCount ¶
func (v *UserIndepthUserRepositoriesRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepository ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepository struct {
NameWithOwner string `json:"nameWithOwner"`
DefaultBranchRef *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef `json:"defaultBranchRef"`
Issues *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection `json:"issues"`
PullRequests *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetDefaultBranchRef ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetDefaultBranchRef() *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef
GetDefaultBranchRef returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.DefaultBranchRef, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetIssues ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetIssues() *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection
GetIssues returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests() *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
GetPullRequests returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef struct {
Target *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject `json:"-"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget() *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject
GetTarget returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef.Target, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON() ([]byte, error)
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON(b []byte) error
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob struct {
Typename *string `json:"__typename"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob includes the requested fields of the GraphQL type Blob.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob) GetTypename ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob) GetTypename() *string
GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob.Typename, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit struct {
Typename *string `json:"__typename"`
History *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection `json:"history"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit includes the requested fields of the GraphQL type Commit.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetHistory ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetHistory() *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection
GetHistory returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.History, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetTypename ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetTypename() *string
GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.Typename, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection struct {
TotalCount int `json:"totalCount"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection includes the requested fields of the GraphQL type CommitHistoryConnection.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection) GetTotalCount ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection) GetTotalCount() int
GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject includes the requested fields of the GraphQL interface GitObject.
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject is implemented by the following types: UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag struct {
Typename *string `json:"__typename"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag includes the requested fields of the GraphQL type Tag.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag) GetTypename ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag) GetTypename() *string
GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag.Typename, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree struct {
Typename *string `json:"__typename"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree includes the requested fields of the GraphQL type Tree.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree) GetTypename ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree) GetTypename() *string
GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree.Typename, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
TotalCount int `json:"totalCount"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount() int
GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection ¶
type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
TotalCount int `json:"totalCount"`
}
UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.
func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount() int
GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.
type UserIndepthUserRepositoriesRepositoryConnectionPageInfo ¶
type UserIndepthUserRepositoriesRepositoryConnectionPageInfo struct {
HasNextPage bool `json:"hasNextPage"`
EndCursor *string `json:"endCursor"`
}
UserIndepthUserRepositoriesRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*UserIndepthUserRepositoriesRepositoryConnectionPageInfo) GetEndCursor ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns UserIndepthUserRepositoriesRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*UserIndepthUserRepositoriesRepositoryConnectionPageInfo) GetHasNextPage ¶
func (v *UserIndepthUserRepositoriesRepositoryConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns UserIndepthUserRepositoriesRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
type UserIsocalendarResponse ¶ added in v1.2.0
type UserIsocalendarResponse struct {
User *UserIsocalendarUser `json:"user"`
}
UserIsocalendarResponse is returned by UserIsocalendar on success.
func UserIsocalendar ¶ added in v1.2.0
func (*UserIsocalendarResponse) GetUser ¶ added in v1.2.0
func (v *UserIsocalendarResponse) GetUser() *UserIsocalendarUser
GetUser returns UserIsocalendarResponse.User, and is useful for accessing the field via an interface.
type UserIsocalendarUser ¶ added in v1.2.0
type UserIsocalendarUser struct {
ContributionsCollection *UserIsocalendarUserContributionsCollection `json:"contributionsCollection"`
}
UserIsocalendarUser includes the requested fields of the GraphQL type User.
func (*UserIsocalendarUser) GetContributionsCollection ¶ added in v1.2.0
func (v *UserIsocalendarUser) GetContributionsCollection() *UserIsocalendarUserContributionsCollection
GetContributionsCollection returns UserIsocalendarUser.ContributionsCollection, and is useful for accessing the field via an interface.
type UserIsocalendarUserContributionsCollection ¶ added in v1.2.0
type UserIsocalendarUserContributionsCollection struct {
ContributionCalendar *UserIsocalendarUserContributionsCollectionContributionCalendar `json:"contributionCalendar"`
}
UserIsocalendarUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.
func (*UserIsocalendarUserContributionsCollection) GetContributionCalendar ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollection) GetContributionCalendar() *UserIsocalendarUserContributionsCollectionContributionCalendar
GetContributionCalendar returns UserIsocalendarUserContributionsCollection.ContributionCalendar, and is useful for accessing the field via an interface.
type UserIsocalendarUserContributionsCollectionContributionCalendar ¶ added in v1.2.0
type UserIsocalendarUserContributionsCollectionContributionCalendar struct {
Weeks []*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek `json:"weeks"`
}
UserIsocalendarUserContributionsCollectionContributionCalendar includes the requested fields of the GraphQL type ContributionCalendar.
func (*UserIsocalendarUserContributionsCollectionContributionCalendar) GetWeeks ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendar) GetWeeks() []*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek
GetWeeks returns UserIsocalendarUserContributionsCollectionContributionCalendar.Weeks, and is useful for accessing the field via an interface.
type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek ¶ added in v1.2.0
type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek struct {
FirstDay string `json:"firstDay"`
ContributionDays []*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay `json:"contributionDays"`
}
UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek includes the requested fields of the GraphQL type ContributionCalendarWeek.
func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays() []*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay
GetContributionDays returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.ContributionDays, and is useful for accessing the field via an interface.
func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay() string
GetFirstDay returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.FirstDay, and is useful for accessing the field via an interface.
type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay ¶ added in v1.2.0
type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay struct {
Date string `json:"date"`
ContributionCount int `json:"contributionCount"`
Weekday int `json:"weekday"`
Color string `json:"color"`
}
UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay includes the requested fields of the GraphQL type ContributionCalendarDay.
func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor() string
GetColor returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Color, and is useful for accessing the field via an interface.
func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount() int
GetContributionCount returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.ContributionCount, and is useful for accessing the field via an interface.
func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate() string
GetDate returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Date, and is useful for accessing the field via an interface.
func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday ¶ added in v1.2.0
func (v *UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday() int
GetWeekday returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Weekday, and is useful for accessing the field via an interface.
type UserListsResponse ¶ added in v1.1.0
type UserListsResponse struct {
User *UserListsUser `json:"user"`
}
UserListsResponse is returned by UserLists on success.
func (*UserListsResponse) GetUser ¶ added in v1.1.0
func (v *UserListsResponse) GetUser() *UserListsUser
GetUser returns UserListsResponse.User, and is useful for accessing the field via an interface.
type UserListsUser ¶ added in v1.1.0
type UserListsUser struct {
Lists *UserListsUserListsUserListConnection `json:"lists"`
}
UserListsUser includes the requested fields of the GraphQL type User.
func (*UserListsUser) GetLists ¶ added in v1.1.0
func (v *UserListsUser) GetLists() *UserListsUserListsUserListConnection
GetLists returns UserListsUser.Lists, and is useful for accessing the field via an interface.
type UserListsUserListsUserListConnection ¶ added in v1.1.0
type UserListsUserListsUserListConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*UserListsUserListsUserListConnectionNodesUserList `json:"nodes"`
}
UserListsUserListsUserListConnection includes the requested fields of the GraphQL type UserListConnection.
func (*UserListsUserListsUserListConnection) GetNodes ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnection) GetNodes() []*UserListsUserListsUserListConnectionNodesUserList
GetNodes returns UserListsUserListsUserListConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnection) GetTotalCount() int
GetTotalCount returns UserListsUserListsUserListConnection.TotalCount, and is useful for accessing the field via an interface.
type UserListsUserListsUserListConnectionNodesUserList ¶ added in v1.1.0
type UserListsUserListsUserListConnectionNodesUserList struct {
Name string `json:"name"`
Description *string `json:"description"`
IsPrivate bool `json:"isPrivate"`
Items *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection `json:"items"`
}
UserListsUserListsUserListConnectionNodesUserList includes the requested fields of the GraphQL type UserList.
func (*UserListsUserListsUserListConnectionNodesUserList) GetDescription ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserList) GetDescription() *string
GetDescription returns UserListsUserListsUserListConnectionNodesUserList.Description, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserList) GetIsPrivate ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserList) GetIsPrivate() bool
GetIsPrivate returns UserListsUserListsUserListConnectionNodesUserList.IsPrivate, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserList) GetItems ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserList) GetItems() *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection
GetItems returns UserListsUserListsUserListConnectionNodesUserList.Items, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserList) GetName ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserList) GetName() string
GetName returns UserListsUserListsUserListConnectionNodesUserList.Name, and is useful for accessing the field via an interface.
type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection ¶ added in v1.1.0
type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection struct {
TotalCount int `json:"totalCount"`
Nodes []UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems `json:"-"`
}
UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection includes the requested fields of the GraphQL type UserListItemsConnection.
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetNodes ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetNodes() []UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems
GetNodes returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetTotalCount() int
GetTotalCount returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection.TotalCount, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) MarshalJSON ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) MarshalJSON() ([]byte, error)
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) UnmarshalJSON ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) UnmarshalJSON(b []byte) error
type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository ¶ added in v1.1.0
type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository struct {
Typename *string `json:"__typename"`
NameWithOwner string `json:"nameWithOwner"`
StargazerCount int `json:"stargazerCount"`
}
UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetNameWithOwner ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetStargazerCount ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetStargazerCount() int
GetStargazerCount returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetTypename ¶ added in v1.1.0
func (v *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetTypename() *string
GetTypename returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository.Typename, and is useful for accessing the field via an interface.
type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems ¶ added in v1.1.0
type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems includes the requested fields of the GraphQL interface UserListItems.
UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems is implemented by the following types: UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository
type UserNotableResponse ¶ added in v1.1.0
type UserNotableResponse struct {
User *UserNotableUser `json:"user"`
}
UserNotableResponse is returned by UserNotable on success.
func UserNotable ¶ added in v1.1.0
func UserNotable( ctx_ context.Context, client_ graphql.Client, login string, first int, after *string, types []RepositoryContributionType, self *bool, ) (data_ *UserNotableResponse, err_ error)
UserNotable lists the repositories a user contributed to on *other* users'/organizations' accounts, mirroring upstream source/plugins/notable/queries/contributions.graphql. Own repositories are excluded unless includeUserRepositories ($self) is set; results are ordered by stargazers descending so the most notable contributions surface first. See issue #447.
func (*UserNotableResponse) GetUser ¶ added in v1.1.0
func (v *UserNotableResponse) GetUser() *UserNotableUser
GetUser returns UserNotableResponse.User, and is useful for accessing the field via an interface.
type UserNotableUser ¶ added in v1.1.0
type UserNotableUser struct {
RepositoriesContributedTo *UserNotableUserRepositoriesContributedToRepositoryConnection `json:"repositoriesContributedTo"`
}
UserNotableUser includes the requested fields of the GraphQL type User.
func (*UserNotableUser) GetRepositoriesContributedTo ¶ added in v1.1.0
func (v *UserNotableUser) GetRepositoriesContributedTo() *UserNotableUserRepositoriesContributedToRepositoryConnection
GetRepositoriesContributedTo returns UserNotableUser.RepositoriesContributedTo, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnection ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnection struct {
TotalCount int `json:"totalCount"`
PageInfo *UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo `json:"pageInfo"`
Nodes []*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository `json:"nodes"`
}
UserNotableUserRepositoriesContributedToRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*UserNotableUserRepositoriesContributedToRepositoryConnection) GetNodes ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnection) GetNodes() []*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository
GetNodes returns UserNotableUserRepositoriesContributedToRepositoryConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnection) GetPageInfo ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnection) GetPageInfo() *UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo
GetPageInfo returns UserNotableUserRepositoriesContributedToRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository struct {
NameWithOwner string `json:"nameWithOwner"`
Description *string `json:"description"`
Url string `json:"url"`
IsInOrganization bool `json:"isInOrganization"`
Owner UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner `json:"-"`
StargazerCount int `json:"stargazerCount"`
ForkCount int `json:"forkCount"`
IsFork bool `json:"isFork"`
IsPrivate bool `json:"isPrivate"`
DefaultBranchRef *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef `json:"defaultBranchRef"`
Issues *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection `json:"issues"`
PullRequests *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDefaultBranchRef ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDefaultBranchRef() *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef
GetDefaultBranchRef returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.DefaultBranchRef, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDescription ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDescription() *string
GetDescription returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Description, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetForkCount ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetForkCount() int
GetForkCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsFork ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsFork() bool
GetIsFork returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsInOrganization ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsInOrganization() bool
GetIsInOrganization returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.IsInOrganization, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsPrivate ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsPrivate() bool
GetIsPrivate returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIssues ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIssues() *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection
GetIssues returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetNameWithOwner ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetOwner ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetOwner() UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner
GetOwner returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Owner, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetPullRequests ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetPullRequests() *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
GetPullRequests returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetStargazerCount ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetStargazerCount() int
GetStargazerCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetUrl ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetUrl() string
GetUrl returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Url, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) MarshalJSON ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) MarshalJSON() ([]byte, error)
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) UnmarshalJSON ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) UnmarshalJSON(b []byte) error
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef struct {
Target *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject `json:"-"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget() *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject
GetTarget returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef.Target, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON() ([]byte, error)
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON(b []byte) error
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob struct {
Typename *string `json:"__typename"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob includes the requested fields of the GraphQL type Blob.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob) GetTypename ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob) GetTypename() *string
GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob.Typename, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit struct {
Typename *string `json:"__typename"`
History *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection `json:"history"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit includes the requested fields of the GraphQL type Commit.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetHistory ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetHistory() *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection
GetHistory returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.History, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetTypename ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetTypename() *string
GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.Typename, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection struct {
TotalCount int `json:"totalCount"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection includes the requested fields of the GraphQL type CommitHistoryConnection.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection) GetTotalCount() int
GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject includes the requested fields of the GraphQL interface GitObject.
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject is implemented by the following types: UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag struct {
Typename *string `json:"__typename"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag includes the requested fields of the GraphQL type Tag.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag) GetTypename ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag) GetTypename() *string
GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag.Typename, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree struct {
Typename *string `json:"__typename"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree includes the requested fields of the GraphQL type Tree.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree) GetTypename ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree) GetTypename() *string
GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree.Typename, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
TotalCount int `json:"totalCount"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount() int
GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// GetLogin returns the interface-field "login" from its implementation.
GetLogin() string
// GetAvatarUrl returns the interface-field "avatarUrl" from its implementation.
GetAvatarUrl() string
// contains filtered or unexported methods
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner includes the requested fields of the GraphQL interface RepositoryOwner.
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner is implemented by the following types: UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization includes the requested fields of the GraphQL type Organization.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetAvatarUrl ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetAvatarUrl() string
GetAvatarUrl returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization.AvatarUrl, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetLogin ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetLogin() string
GetLogin returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization.Login, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetTypename ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetTypename() *string
GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization.Typename, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser includes the requested fields of the GraphQL type User.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetAvatarUrl ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetAvatarUrl() string
GetAvatarUrl returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetLogin ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetLogin() string
GetLogin returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser.Login, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetTypename ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetTypename() *string
GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser.Typename, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
TotalCount int `json:"totalCount"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount() int
GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.
type UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo ¶ added in v1.1.0
type UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo struct {
HasNextPage bool `json:"hasNextPage"`
EndCursor *string `json:"endCursor"`
}
UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo) GetEndCursor ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo) GetHasNextPage ¶ added in v1.1.0
func (v *UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
type UserReactionsResponse ¶
type UserReactionsResponse struct {
User *UserReactionsUser `json:"user"`
}
UserReactionsResponse is returned by UserReactions on success.
func UserReactions ¶
func (*UserReactionsResponse) GetUser ¶
func (v *UserReactionsResponse) GetUser() *UserReactionsUser
GetUser returns UserReactionsResponse.User, and is useful for accessing the field via an interface.
type UserReactionsUser ¶
type UserReactionsUser struct {
Issues *UserReactionsUserIssuesIssueConnectionWithReactions `json:"issues"`
IssueComments *UserReactionsUserIssueCommentsIssueCommentConnection `json:"issueComments"`
}
UserReactionsUser includes the requested fields of the GraphQL type User.
func (*UserReactionsUser) GetIssueComments ¶
func (v *UserReactionsUser) GetIssueComments() *UserReactionsUserIssueCommentsIssueCommentConnection
GetIssueComments returns UserReactionsUser.IssueComments, and is useful for accessing the field via an interface.
func (*UserReactionsUser) GetIssues ¶
func (v *UserReactionsUser) GetIssues() *UserReactionsUserIssuesIssueConnectionWithReactions
GetIssues returns UserReactionsUser.Issues, and is useful for accessing the field via an interface.
type UserReactionsUserIssueCommentsIssueCommentConnection ¶
type UserReactionsUserIssueCommentsIssueCommentConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions `json:"nodes"`
}
UserReactionsUserIssueCommentsIssueCommentConnection includes the requested fields of the GraphQL type IssueCommentConnection.
func (*UserReactionsUserIssueCommentsIssueCommentConnection) GetNodes ¶
func (v *UserReactionsUserIssueCommentsIssueCommentConnection) GetNodes() []*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions
GetNodes returns UserReactionsUserIssueCommentsIssueCommentConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserReactionsUserIssueCommentsIssueCommentConnection) GetTotalCount ¶
func (v *UserReactionsUserIssueCommentsIssueCommentConnection) GetTotalCount() int
GetTotalCount returns UserReactionsUserIssueCommentsIssueCommentConnection.TotalCount, and is useful for accessing the field via an interface.
type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions ¶
type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions struct {
Reactions *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection `json:"reactions"`
}
UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions includes the requested fields of the GraphQL type IssueCommentWithReactions.
func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions) GetReactions ¶
func (v *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions) GetReactions() *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection
GetReactions returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions.Reactions, and is useful for accessing the field via an interface.
type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection ¶
type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction `json:"nodes"`
}
UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection includes the requested fields of the GraphQL type ReactionConnection.
func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection) GetNodes ¶ added in v1.1.0
func (v *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection) GetNodes() []*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction
GetNodes returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection) GetTotalCount ¶
func (v *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection) GetTotalCount() int
GetTotalCount returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection.TotalCount, and is useful for accessing the field via an interface.
type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction ¶ added in v1.1.0
type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction struct {
Content ReactionContent `json:"content"`
}
UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction includes the requested fields of the GraphQL type Reaction.
func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction) GetContent ¶ added in v1.1.0
func (v *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction) GetContent() ReactionContent
GetContent returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction.Content, and is useful for accessing the field via an interface.
type UserReactionsUserIssuesIssueConnectionWithReactions ¶
type UserReactionsUserIssuesIssueConnectionWithReactions struct {
TotalCount int `json:"totalCount"`
Nodes []*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions `json:"nodes"`
}
UserReactionsUserIssuesIssueConnectionWithReactions includes the requested fields of the GraphQL type IssueConnectionWithReactions.
func (*UserReactionsUserIssuesIssueConnectionWithReactions) GetNodes ¶
func (v *UserReactionsUserIssuesIssueConnectionWithReactions) GetNodes() []*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions
GetNodes returns UserReactionsUserIssuesIssueConnectionWithReactions.Nodes, and is useful for accessing the field via an interface.
func (*UserReactionsUserIssuesIssueConnectionWithReactions) GetTotalCount ¶
func (v *UserReactionsUserIssuesIssueConnectionWithReactions) GetTotalCount() int
GetTotalCount returns UserReactionsUserIssuesIssueConnectionWithReactions.TotalCount, and is useful for accessing the field via an interface.
type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions ¶
type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions struct {
Reactions *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection `json:"reactions"`
}
UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions includes the requested fields of the GraphQL type IssueWithReactions.
func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions) GetReactions ¶
func (v *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions) GetReactions() *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection
GetReactions returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions.Reactions, and is useful for accessing the field via an interface.
type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection ¶
type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction `json:"nodes"`
}
UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection includes the requested fields of the GraphQL type ReactionConnection.
func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection) GetNodes ¶ added in v1.1.0
func (v *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection) GetNodes() []*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction
GetNodes returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection) GetTotalCount ¶
func (v *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection) GetTotalCount() int
GetTotalCount returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection.TotalCount, and is useful for accessing the field via an interface.
type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction ¶ added in v1.1.0
type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction struct {
Content ReactionContent `json:"content"`
}
UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction includes the requested fields of the GraphQL type Reaction.
func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction) GetContent ¶ added in v1.1.0
func (v *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction) GetContent() ReactionContent
GetContent returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction.Content, and is useful for accessing the field via an interface.
type UserRepositoriesResponse ¶
type UserRepositoriesResponse struct {
User *UserRepositoriesUser `json:"user"`
}
UserRepositoriesResponse is returned by UserRepositories on success.
func UserRepositories ¶
func (*UserRepositoriesResponse) GetUser ¶
func (v *UserRepositoriesResponse) GetUser() *UserRepositoriesUser
GetUser returns UserRepositoriesResponse.User, and is useful for accessing the field via an interface.
type UserRepositoriesUser ¶
type UserRepositoriesUser struct {
Repositories *UserRepositoriesUserRepositoriesRepositoryConnection `json:"repositories"`
}
UserRepositoriesUser includes the requested fields of the GraphQL type User.
func (*UserRepositoriesUser) GetRepositories ¶
func (v *UserRepositoriesUser) GetRepositories() *UserRepositoriesUserRepositoriesRepositoryConnection
GetRepositories returns UserRepositoriesUser.Repositories, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnection ¶
type UserRepositoriesUserRepositoriesRepositoryConnection struct {
TotalCount int `json:"totalCount"`
PageInfo *UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo `json:"pageInfo"`
Nodes []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}
UserRepositoriesUserRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnection) GetNodes ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnection) GetNodes() []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository
GetNodes returns UserRepositoriesUserRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnection) GetPageInfo ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnection) GetPageInfo() *UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo
GetPageInfo returns UserRepositoriesUserRepositoriesRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnection) GetTotalCount ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository struct {
DatabaseId *int `json:"databaseId"`
Id string `json:"id"`
Name string `json:"name"`
NameWithOwner string `json:"nameWithOwner"`
Description *string `json:"description"`
Url string `json:"url"`
IsPrivate bool `json:"isPrivate"`
IsFork bool `json:"isFork"`
CreatedAt time.Time `json:"createdAt"`
PushedAt *time.Time `json:"pushedAt"`
UpdatedAt *time.Time `json:"updatedAt"`
StargazerCount int `json:"stargazerCount"`
ForkCount int `json:"forkCount"`
Issues *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection `json:"issues"`
PullRequests *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
Watchers *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection `json:"watchers"`
PrimaryLanguage *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage `json:"primaryLanguage"`
Languages *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection `json:"languages"`
DiskUsage *int `json:"diskUsage"`
Releases *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection `json:"releases"`
Packages *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection `json:"packages"`
Deployments *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection `json:"deployments"`
LicenseInfo *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense `json:"licenseInfo"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt() time.Time
GetCreatedAt returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.CreatedAt, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId() *int
GetDatabaseId returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.DatabaseId, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDeployments ¶ added in v1.2.7
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDeployments() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection
GetDeployments returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Deployments, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDescription ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDescription() *string
GetDescription returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Description, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage() *int
GetDiskUsage returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.DiskUsage, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetForkCount ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetForkCount() int
GetForkCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetId ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetId() string
GetId returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Id, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsFork ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsFork() bool
GetIsFork returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate() bool
GetIsPrivate returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIssues ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIssues() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection
GetIssues returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLanguages ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLanguages() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection
GetLanguages returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Languages, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense
GetLicenseInfo returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.LicenseInfo, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetName ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetName() string
GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Name, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPackages ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPackages() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection
GetPackages returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Packages, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage
GetPrimaryLanguage returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.PrimaryLanguage, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection
GetPullRequests returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPushedAt ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPushedAt() *time.Time
GetPushedAt returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.PushedAt, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetReleases ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetReleases() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection
GetReleases returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Releases, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount() int
GetStargazerCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt() *time.Time
GetUpdatedAt returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.UpdatedAt, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUrl ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUrl() string
GetUrl returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Url, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetWatchers ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetWatchers() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection
GetWatchers returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Watchers, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection ¶ added in v1.2.7
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection struct {
TotalCount int `json:"totalCount"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection) GetTotalCount ¶ added in v1.2.7
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection ¶ added in v1.1.0
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
TotalCount int `json:"totalCount"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection struct {
TotalCount int `json:"totalCount"`
TotalSize int `json:"totalSize"`
Edges []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge `json:"edges"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection includes the requested fields of the GraphQL type LanguageConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges() []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge
GetEdges returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.Edges, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalCount, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize() int
GetTotalSize returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalSize, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge struct {
Size int `json:"size"`
Node *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage `json:"node"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge includes the requested fields of the GraphQL type LanguageEdge.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode() *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage
GetNode returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Node, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize() int
GetSize returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Size, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage includes the requested fields of the GraphQL type Language.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor() *string
GetColor returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Color, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName() string
GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Name, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense ¶ added in v1.1.0
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense struct {
Name string `json:"name"`
Key *string `json:"key"`
Nickname *string `json:"nickname"`
SpdxId *string `json:"spdxId"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey() *string
GetKey returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Key, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName() string
GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname() *string
GetNickname returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Nickname, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId() *string
GetSpdxId returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection ¶ added in v1.1.0
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection struct {
TotalCount int `json:"totalCount"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection includes the requested fields of the GraphQL type PackageConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetColor ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetColor() *string
GetColor returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetName ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetName() string
GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection ¶ added in v1.1.0
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
TotalCount int `json:"totalCount"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection ¶ added in v1.1.0
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection struct {
TotalCount int `json:"totalCount"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection includes the requested fields of the GraphQL type ReleaseConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection struct {
TotalCount int `json:"totalCount"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection includes the requested fields of the GraphQL type WatcherConnection.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection) GetTotalCount ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection) GetTotalCount() int
GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection.TotalCount, and is useful for accessing the field via an interface.
type UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo ¶
type UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo struct {
HasNextPage bool `json:"hasNextPage"`
EndCursor *string `json:"endCursor"`
}
UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo) GetEndCursor ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo) GetEndCursor() *string
GetEndCursor returns UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo) GetHasNextPage ¶
func (v *UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
type UserResponse ¶
type UserResponse struct {
User *UserUser `json:"user"`
}
UserResponse is returned by User on success.
func (*UserResponse) GetUser ¶
func (v *UserResponse) GetUser() *UserUser
GetUser returns UserResponse.User, and is useful for accessing the field via an interface.
type UserStarredRepositoriesResponse ¶
type UserStarredRepositoriesResponse struct {
User *UserStarredRepositoriesUser `json:"user"`
}
UserStarredRepositoriesResponse is returned by UserStarredRepositories on success.
func UserStarredRepositories ¶
func (*UserStarredRepositoriesResponse) GetUser ¶
func (v *UserStarredRepositoriesResponse) GetUser() *UserStarredRepositoriesUser
GetUser returns UserStarredRepositoriesResponse.User, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUser ¶
type UserStarredRepositoriesUser struct {
StarredRepositories *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection `json:"starredRepositories"`
}
UserStarredRepositoriesUser includes the requested fields of the GraphQL type User.
func (*UserStarredRepositoriesUser) GetStarredRepositories ¶
func (v *UserStarredRepositoriesUser) GetStarredRepositories() *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection
GetStarredRepositories returns UserStarredRepositoriesUser.StarredRepositories, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection ¶
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection struct {
TotalCount int `json:"totalCount"`
Edges []*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge `json:"edges"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection includes the requested fields of the GraphQL type StarredRepositoryConnection.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection) GetEdges ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection) GetEdges() []*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge
GetEdges returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection.Edges, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection) GetTotalCount ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge ¶
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge struct {
StarredAt time.Time `json:"starredAt"`
Node *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository `json:"node"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge includes the requested fields of the GraphQL type StarredRepositoryEdge.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge) GetNode ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge) GetNode() *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository
GetNode returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge.Node, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge) GetStarredAt ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge) GetStarredAt() time.Time
GetStarredAt returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge.StarredAt, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository ¶
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository struct {
NameWithOwner string `json:"nameWithOwner"`
Description *string `json:"description"`
Url string `json:"url"`
IsFork bool `json:"isFork"`
StargazerCount int `json:"stargazerCount"`
ForkCount int `json:"forkCount"`
PrimaryLanguage *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage `json:"primaryLanguage"`
LicenseInfo *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense `json:"licenseInfo"`
Issues *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection `json:"issues"`
PullRequests *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository includes the requested fields of the GraphQL type Repository.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetDescription ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetDescription() *string
GetDescription returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.Description, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetForkCount ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetForkCount() int
GetForkCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.ForkCount, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIsFork ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIsFork() bool
GetIsFork returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.IsFork, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIssues ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIssues() *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection
GetIssues returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.Issues, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetLicenseInfo ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetLicenseInfo() *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense
GetLicenseInfo returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.LicenseInfo, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetNameWithOwner ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetNameWithOwner() string
GetNameWithOwner returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPrimaryLanguage ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPrimaryLanguage() *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage
GetPrimaryLanguage returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.PrimaryLanguage, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPullRequests ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPullRequests() *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection
GetPullRequests returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.PullRequests, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetStargazerCount ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetStargazerCount() int
GetStargazerCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetUrl ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetUrl() string
GetUrl returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.Url, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection ¶ added in v1.1.0
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection struct {
TotalCount int `json:"totalCount"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection) GetTotalCount() int
GetTotalCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense ¶ added in v1.1.0
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense struct {
Name string `json:"name"`
SpdxId *string `json:"spdxId"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetName ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetName() string
GetName returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetSpdxId ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetSpdxId() *string
GetSpdxId returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage ¶
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetColor ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetColor() *string
GetColor returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetName ¶
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetName() string
GetName returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection ¶ added in v1.1.0
type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection struct {
TotalCount int `json:"totalCount"`
}
UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.
func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection) GetTotalCount() int
GetTotalCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUser ¶
type UserUser struct {
DatabaseId *int `json:"databaseId"`
Id string `json:"id"`
Login string `json:"login"`
Name *string `json:"name"`
Location *string `json:"location"`
CreatedAt time.Time `json:"createdAt"`
AvatarUrl string `json:"avatarUrl"`
WebsiteUrl *string `json:"websiteUrl"`
TwitterUsername *string `json:"twitterUsername"`
Email *string `json:"email"`
Bio *string `json:"bio"`
Company *string `json:"company"`
Followers *UserUserFollowersUserConnection `json:"followers"`
Following *UserUserFollowingUserConnection `json:"following"`
Watching *UserUserWatchingRepositoryConnection `json:"watching"`
SponsorshipsAsMaintainer *UserUserSponsorshipsAsMaintainerSponsorshipConnection `json:"sponsorshipsAsMaintainer"`
Organizations *UserUserOrganizationsOrganizationConnection `json:"organizations"`
SponsorshipsAsSponsor *UserUserSponsorshipsAsSponsorSponsorshipConnection `json:"sponsorshipsAsSponsor"`
StarredRepositories *UserUserStarredRepositoriesStarredRepositoryConnection `json:"starredRepositories"`
IssueComments *UserUserIssueCommentsIssueCommentConnection `json:"issueComments"`
Gists *UserUserGistsGistConnection `json:"gists"`
DiscussionsStarted *UserUserDiscussionsStartedRepositoryDiscussionConnection `json:"discussionsStarted"`
DiscussionsComments *UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection `json:"discussionsComments"`
DiscussionAnswers *UserUserDiscussionAnswersRepositoryDiscussionCommentConnection `json:"discussionAnswers"`
RepositoriesContributedTo *UserUserRepositoriesContributedToRepositoryConnection `json:"repositoriesContributedTo"`
ContributionsCollection *UserUserContributionsCollection `json:"contributionsCollection"`
}
UserUser includes the requested fields of the GraphQL type User.
func (*UserUser) GetAvatarUrl ¶
GetAvatarUrl returns UserUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*UserUser) GetBio ¶
GetBio returns UserUser.Bio, and is useful for accessing the field via an interface.
func (*UserUser) GetCompany ¶
GetCompany returns UserUser.Company, and is useful for accessing the field via an interface.
func (*UserUser) GetContributionsCollection ¶ added in v1.1.0
func (v *UserUser) GetContributionsCollection() *UserUserContributionsCollection
GetContributionsCollection returns UserUser.ContributionsCollection, and is useful for accessing the field via an interface.
func (*UserUser) GetCreatedAt ¶
GetCreatedAt returns UserUser.CreatedAt, and is useful for accessing the field via an interface.
func (*UserUser) GetDatabaseId ¶
GetDatabaseId returns UserUser.DatabaseId, and is useful for accessing the field via an interface.
func (*UserUser) GetDiscussionAnswers ¶ added in v1.2.7
func (v *UserUser) GetDiscussionAnswers() *UserUserDiscussionAnswersRepositoryDiscussionCommentConnection
GetDiscussionAnswers returns UserUser.DiscussionAnswers, and is useful for accessing the field via an interface.
func (*UserUser) GetDiscussionsComments ¶ added in v1.2.7
func (v *UserUser) GetDiscussionsComments() *UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection
GetDiscussionsComments returns UserUser.DiscussionsComments, and is useful for accessing the field via an interface.
func (*UserUser) GetDiscussionsStarted ¶ added in v1.2.7
func (v *UserUser) GetDiscussionsStarted() *UserUserDiscussionsStartedRepositoryDiscussionConnection
GetDiscussionsStarted returns UserUser.DiscussionsStarted, and is useful for accessing the field via an interface.
func (*UserUser) GetEmail ¶
GetEmail returns UserUser.Email, and is useful for accessing the field via an interface.
func (*UserUser) GetFollowers ¶ added in v1.1.0
func (v *UserUser) GetFollowers() *UserUserFollowersUserConnection
GetFollowers returns UserUser.Followers, and is useful for accessing the field via an interface.
func (*UserUser) GetFollowing ¶ added in v1.1.0
func (v *UserUser) GetFollowing() *UserUserFollowingUserConnection
GetFollowing returns UserUser.Following, and is useful for accessing the field via an interface.
func (*UserUser) GetGists ¶ added in v1.2.7
func (v *UserUser) GetGists() *UserUserGistsGistConnection
GetGists returns UserUser.Gists, and is useful for accessing the field via an interface.
func (*UserUser) GetId ¶
GetId returns UserUser.Id, and is useful for accessing the field via an interface.
func (*UserUser) GetIssueComments ¶ added in v1.1.0
func (v *UserUser) GetIssueComments() *UserUserIssueCommentsIssueCommentConnection
GetIssueComments returns UserUser.IssueComments, and is useful for accessing the field via an interface.
func (*UserUser) GetLocation ¶
GetLocation returns UserUser.Location, and is useful for accessing the field via an interface.
func (*UserUser) GetLogin ¶
GetLogin returns UserUser.Login, and is useful for accessing the field via an interface.
func (*UserUser) GetName ¶
GetName returns UserUser.Name, and is useful for accessing the field via an interface.
func (*UserUser) GetOrganizations ¶ added in v1.1.0
func (v *UserUser) GetOrganizations() *UserUserOrganizationsOrganizationConnection
GetOrganizations returns UserUser.Organizations, and is useful for accessing the field via an interface.
func (*UserUser) GetRepositoriesContributedTo ¶ added in v1.1.0
func (v *UserUser) GetRepositoriesContributedTo() *UserUserRepositoriesContributedToRepositoryConnection
GetRepositoriesContributedTo returns UserUser.RepositoriesContributedTo, and is useful for accessing the field via an interface.
func (*UserUser) GetSponsorshipsAsMaintainer ¶ added in v1.1.0
func (v *UserUser) GetSponsorshipsAsMaintainer() *UserUserSponsorshipsAsMaintainerSponsorshipConnection
GetSponsorshipsAsMaintainer returns UserUser.SponsorshipsAsMaintainer, and is useful for accessing the field via an interface.
func (*UserUser) GetSponsorshipsAsSponsor ¶ added in v1.1.0
func (v *UserUser) GetSponsorshipsAsSponsor() *UserUserSponsorshipsAsSponsorSponsorshipConnection
GetSponsorshipsAsSponsor returns UserUser.SponsorshipsAsSponsor, and is useful for accessing the field via an interface.
func (*UserUser) GetStarredRepositories ¶ added in v1.1.0
func (v *UserUser) GetStarredRepositories() *UserUserStarredRepositoriesStarredRepositoryConnection
GetStarredRepositories returns UserUser.StarredRepositories, and is useful for accessing the field via an interface.
func (*UserUser) GetTwitterUsername ¶
GetTwitterUsername returns UserUser.TwitterUsername, and is useful for accessing the field via an interface.
func (*UserUser) GetWatching ¶ added in v1.1.0
func (v *UserUser) GetWatching() *UserUserWatchingRepositoryConnection
GetWatching returns UserUser.Watching, and is useful for accessing the field via an interface.
func (*UserUser) GetWebsiteUrl ¶
GetWebsiteUrl returns UserUser.WebsiteUrl, and is useful for accessing the field via an interface.
type UserUserContributionsCollection ¶ added in v1.1.0
type UserUserContributionsCollection struct {
TotalCommitContributions int `json:"totalCommitContributions"`
TotalPullRequestReviewContributions int `json:"totalPullRequestReviewContributions"`
TotalPullRequestContributions int `json:"totalPullRequestContributions"`
TotalIssueContributions int `json:"totalIssueContributions"`
ContributionCalendar *UserUserContributionsCollectionContributionCalendar `json:"contributionCalendar"`
}
UserUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.
func (*UserUserContributionsCollection) GetContributionCalendar ¶ added in v1.1.0
func (v *UserUserContributionsCollection) GetContributionCalendar() *UserUserContributionsCollectionContributionCalendar
GetContributionCalendar returns UserUserContributionsCollection.ContributionCalendar, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollection) GetTotalCommitContributions ¶ added in v1.1.0
func (v *UserUserContributionsCollection) GetTotalCommitContributions() int
GetTotalCommitContributions returns UserUserContributionsCollection.TotalCommitContributions, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollection) GetTotalIssueContributions ¶ added in v1.1.0
func (v *UserUserContributionsCollection) GetTotalIssueContributions() int
GetTotalIssueContributions returns UserUserContributionsCollection.TotalIssueContributions, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollection) GetTotalPullRequestContributions ¶ added in v1.1.0
func (v *UserUserContributionsCollection) GetTotalPullRequestContributions() int
GetTotalPullRequestContributions returns UserUserContributionsCollection.TotalPullRequestContributions, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollection) GetTotalPullRequestReviewContributions ¶ added in v1.1.0
func (v *UserUserContributionsCollection) GetTotalPullRequestReviewContributions() int
GetTotalPullRequestReviewContributions returns UserUserContributionsCollection.TotalPullRequestReviewContributions, and is useful for accessing the field via an interface.
type UserUserContributionsCollectionContributionCalendar ¶ added in v1.1.0
type UserUserContributionsCollectionContributionCalendar struct {
TotalContributions int `json:"totalContributions"`
Weeks []*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek `json:"weeks"`
}
UserUserContributionsCollectionContributionCalendar includes the requested fields of the GraphQL type ContributionCalendar.
func (*UserUserContributionsCollectionContributionCalendar) GetTotalContributions ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendar) GetTotalContributions() int
GetTotalContributions returns UserUserContributionsCollectionContributionCalendar.TotalContributions, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollectionContributionCalendar) GetWeeks ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendar) GetWeeks() []*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek
GetWeeks returns UserUserContributionsCollectionContributionCalendar.Weeks, and is useful for accessing the field via an interface.
type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek ¶ added in v1.1.0
type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek struct {
FirstDay string `json:"firstDay"`
ContributionDays []*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay `json:"contributionDays"`
}
UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek includes the requested fields of the GraphQL type ContributionCalendarWeek.
func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays() []*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay
GetContributionDays returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.ContributionDays, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay() string
GetFirstDay returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.FirstDay, and is useful for accessing the field via an interface.
type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay ¶ added in v1.1.0
type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay struct {
Date string `json:"date"`
ContributionCount int `json:"contributionCount"`
Weekday int `json:"weekday"`
Color string `json:"color"`
}
UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay includes the requested fields of the GraphQL type ContributionCalendarDay.
func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor() string
GetColor returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Color, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount() int
GetContributionCount returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.ContributionCount, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate() string
GetDate returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Date, and is useful for accessing the field via an interface.
func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday ¶ added in v1.1.0
func (v *UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday() int
GetWeekday returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Weekday, and is useful for accessing the field via an interface.
type UserUserDiscussionAnswersRepositoryDiscussionCommentConnection ¶ added in v1.2.7
type UserUserDiscussionAnswersRepositoryDiscussionCommentConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserDiscussionAnswersRepositoryDiscussionCommentConnection includes the requested fields of the GraphQL type RepositoryDiscussionCommentConnection.
func (*UserUserDiscussionAnswersRepositoryDiscussionCommentConnection) GetTotalCount ¶ added in v1.2.7
func (v *UserUserDiscussionAnswersRepositoryDiscussionCommentConnection) GetTotalCount() int
GetTotalCount returns UserUserDiscussionAnswersRepositoryDiscussionCommentConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection ¶ added in v1.2.7
type UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection includes the requested fields of the GraphQL type RepositoryDiscussionCommentConnection.
func (*UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection) GetTotalCount ¶ added in v1.2.7
func (v *UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection) GetTotalCount() int
GetTotalCount returns UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserDiscussionsStartedRepositoryDiscussionConnection ¶ added in v1.2.7
type UserUserDiscussionsStartedRepositoryDiscussionConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserDiscussionsStartedRepositoryDiscussionConnection includes the requested fields of the GraphQL type RepositoryDiscussionConnection.
func (*UserUserDiscussionsStartedRepositoryDiscussionConnection) GetTotalCount ¶ added in v1.2.7
func (v *UserUserDiscussionsStartedRepositoryDiscussionConnection) GetTotalCount() int
GetTotalCount returns UserUserDiscussionsStartedRepositoryDiscussionConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserFollowersUserConnection ¶ added in v1.1.0
type UserUserFollowersUserConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserFollowersUserConnection includes the requested fields of the GraphQL type UserConnection.
func (*UserUserFollowersUserConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserFollowersUserConnection) GetTotalCount() int
GetTotalCount returns UserUserFollowersUserConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserFollowingUserConnection ¶ added in v1.1.0
type UserUserFollowingUserConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserFollowingUserConnection includes the requested fields of the GraphQL type UserConnection.
func (*UserUserFollowingUserConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserFollowingUserConnection) GetTotalCount() int
GetTotalCount returns UserUserFollowingUserConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserGistsGistConnection ¶ added in v1.2.7
type UserUserGistsGistConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserGistsGistConnection includes the requested fields of the GraphQL type GistConnection.
func (*UserUserGistsGistConnection) GetTotalCount ¶ added in v1.2.7
func (v *UserUserGistsGistConnection) GetTotalCount() int
GetTotalCount returns UserUserGistsGistConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserIssueCommentsIssueCommentConnection ¶ added in v1.1.0
type UserUserIssueCommentsIssueCommentConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserIssueCommentsIssueCommentConnection includes the requested fields of the GraphQL type IssueCommentConnection.
func (*UserUserIssueCommentsIssueCommentConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserIssueCommentsIssueCommentConnection) GetTotalCount() int
GetTotalCount returns UserUserIssueCommentsIssueCommentConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserOrganizationsOrganizationConnection ¶ added in v1.1.0
type UserUserOrganizationsOrganizationConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserOrganizationsOrganizationConnection includes the requested fields of the GraphQL type OrganizationConnection.
func (*UserUserOrganizationsOrganizationConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserOrganizationsOrganizationConnection) GetTotalCount() int
GetTotalCount returns UserUserOrganizationsOrganizationConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserRepositoriesContributedToRepositoryConnection ¶ added in v1.1.0
type UserUserRepositoriesContributedToRepositoryConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserRepositoriesContributedToRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*UserUserRepositoriesContributedToRepositoryConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserRepositoriesContributedToRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserUserRepositoriesContributedToRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserSponsorshipsAsMaintainerSponsorshipConnection ¶ added in v1.1.0
type UserUserSponsorshipsAsMaintainerSponsorshipConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserSponsorshipsAsMaintainerSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.
func (*UserUserSponsorshipsAsMaintainerSponsorshipConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserSponsorshipsAsMaintainerSponsorshipConnection) GetTotalCount() int
GetTotalCount returns UserUserSponsorshipsAsMaintainerSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserSponsorshipsAsSponsorSponsorshipConnection ¶ added in v1.1.0
type UserUserSponsorshipsAsSponsorSponsorshipConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserSponsorshipsAsSponsorSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.
func (*UserUserSponsorshipsAsSponsorSponsorshipConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserSponsorshipsAsSponsorSponsorshipConnection) GetTotalCount() int
GetTotalCount returns UserUserSponsorshipsAsSponsorSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserStarredRepositoriesStarredRepositoryConnection ¶ added in v1.1.0
type UserUserStarredRepositoriesStarredRepositoryConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserStarredRepositoriesStarredRepositoryConnection includes the requested fields of the GraphQL type StarredRepositoryConnection.
func (*UserUserStarredRepositoriesStarredRepositoryConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserStarredRepositoriesStarredRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserUserStarredRepositoriesStarredRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type UserUserWatchingRepositoryConnection ¶ added in v1.1.0
type UserUserWatchingRepositoryConnection struct {
TotalCount int `json:"totalCount"`
}
UserUserWatchingRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*UserUserWatchingRepositoryConnection) GetTotalCount ¶ added in v1.1.0
func (v *UserUserWatchingRepositoryConnection) GetTotalCount() int
GetTotalCount returns UserUserWatchingRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type ViewerPinnedItemsResponse ¶ added in v1.1.0
type ViewerPinnedItemsResponse struct {
Viewer *ViewerPinnedItemsViewerUser `json:"viewer"`
}
ViewerPinnedItemsResponse is returned by ViewerPinnedItems on success.
func ViewerPinnedItems ¶ added in v1.1.0
func (*ViewerPinnedItemsResponse) GetViewer ¶ added in v1.1.0
func (v *ViewerPinnedItemsResponse) GetViewer() *ViewerPinnedItemsViewerUser
GetViewer returns ViewerPinnedItemsResponse.Viewer, and is useful for accessing the field via an interface.
type ViewerPinnedItemsViewerUser ¶ added in v1.1.0
type ViewerPinnedItemsViewerUser struct {
PinnedItems *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection `json:"pinnedItems"`
}
ViewerPinnedItemsViewerUser includes the requested fields of the GraphQL type User.
func (*ViewerPinnedItemsViewerUser) GetPinnedItems ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUser) GetPinnedItems() *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection
GetPinnedItems returns ViewerPinnedItemsViewerUser.PinnedItems, and is useful for accessing the field via an interface.
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection ¶ added in v1.1.0
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection struct {
TotalCount int `json:"totalCount"`
Nodes []ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem `json:"-"`
}
ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection includes the requested fields of the GraphQL type PinnableItemConnection.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetNodes ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetNodes() []ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem
GetNodes returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection.Nodes, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetTotalCount() int
GetTotalCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection.TotalCount, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) MarshalJSON ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) MarshalJSON() ([]byte, error)
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) UnmarshalJSON ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) UnmarshalJSON(b []byte) error
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist ¶ added in v1.1.0
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist struct {
Typename *string `json:"__typename"`
}
ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist includes the requested fields of the GraphQL type Gist.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist) GetTypename ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist) GetTypename() *string
GetTypename returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist.Typename, and is useful for accessing the field via an interface.
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem ¶ added in v1.1.0
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem includes the requested fields of the GraphQL interface PinnableItem.
ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem is implemented by the following types: ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository ¶ added in v1.1.0
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository struct {
Typename *string `json:"__typename"`
NameWithOwner string `json:"nameWithOwner"`
Description *string `json:"description"`
Url string `json:"url"`
IsPrivate bool `json:"isPrivate"`
IsFork bool `json:"isFork"`
StargazerCount int `json:"stargazerCount"`
ForkCount int `json:"forkCount"`
PrimaryLanguage *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage `json:"primaryLanguage"`
}
ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetDescription ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetDescription() *string
GetDescription returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Description, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetForkCount ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetForkCount() int
GetForkCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsFork ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsFork() bool
GetIsFork returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsPrivate ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsPrivate() bool
GetIsPrivate returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetNameWithOwner ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetPrimaryLanguage ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetPrimaryLanguage() *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage
GetPrimaryLanguage returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.PrimaryLanguage, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetStargazerCount ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetStargazerCount() int
GetStargazerCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetTypename ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetTypename() *string
GetTypename returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Typename, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetUrl ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetUrl() string
GetUrl returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Url, and is useful for accessing the field via an interface.
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage ¶ added in v1.1.0
type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage struct {
Name string `json:"name"`
Color *string `json:"color"`
}
ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage) GetColor ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage) GetColor() *string
GetColor returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.
func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage) GetName ¶ added in v1.1.0
func (v *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage) GetName() string
GetName returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.
type ViewerProjectsResponse ¶ added in v1.1.0
type ViewerProjectsResponse struct {
Viewer *ViewerProjectsViewerUser `json:"viewer"`
}
ViewerProjectsResponse is returned by ViewerProjects on success.
func ViewerProjects ¶ added in v1.1.0
func (*ViewerProjectsResponse) GetViewer ¶ added in v1.1.0
func (v *ViewerProjectsResponse) GetViewer() *ViewerProjectsViewerUser
GetViewer returns ViewerProjectsResponse.Viewer, and is useful for accessing the field via an interface.
type ViewerProjectsViewerUser ¶ added in v1.1.0
type ViewerProjectsViewerUser struct {
ProjectsV2 *ViewerProjectsViewerUserProjectsV2ProjectV2Connection `json:"projectsV2"`
}
ViewerProjectsViewerUser includes the requested fields of the GraphQL type User.
func (*ViewerProjectsViewerUser) GetProjectsV2 ¶ added in v1.1.0
func (v *ViewerProjectsViewerUser) GetProjectsV2() *ViewerProjectsViewerUserProjectsV2ProjectV2Connection
GetProjectsV2 returns ViewerProjectsViewerUser.ProjectsV2, and is useful for accessing the field via an interface.
type ViewerProjectsViewerUserProjectsV2ProjectV2Connection ¶ added in v1.1.0
type ViewerProjectsViewerUserProjectsV2ProjectV2Connection struct {
TotalCount int `json:"totalCount"`
Nodes []*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 `json:"nodes"`
}
ViewerProjectsViewerUserProjectsV2ProjectV2Connection includes the requested fields of the GraphQL type ProjectV2Connection.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2Connection) GetNodes ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2Connection) GetNodes() []*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2
GetNodes returns ViewerProjectsViewerUserProjectsV2ProjectV2Connection.Nodes, and is useful for accessing the field via an interface.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2Connection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2Connection) GetTotalCount() int
GetTotalCount returns ViewerProjectsViewerUserProjectsV2ProjectV2Connection.TotalCount, and is useful for accessing the field via an interface.
type ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 ¶ added in v1.1.0
type ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 struct {
Title string `json:"title"`
ShortDescription *string `json:"shortDescription"`
UpdatedAt time.Time `json:"updatedAt"`
Url string `json:"url"`
Closed bool `json:"closed"`
Number int `json:"number"`
}
ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 includes the requested fields of the GraphQL type ProjectV2.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetClosed ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetClosed() bool
GetClosed returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Closed, and is useful for accessing the field via an interface.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetNumber ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetNumber() int
GetNumber returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Number, and is useful for accessing the field via an interface.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetShortDescription ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetShortDescription() *string
GetShortDescription returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.ShortDescription, and is useful for accessing the field via an interface.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetTitle ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetTitle() string
GetTitle returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Title, and is useful for accessing the field via an interface.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUpdatedAt ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUpdatedAt() time.Time
GetUpdatedAt returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.UpdatedAt, and is useful for accessing the field via an interface.
func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUrl ¶ added in v1.1.0
func (v *ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUrl() string
GetUrl returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Url, and is useful for accessing the field via an interface.
type ViewerSponsorsResponse ¶ added in v1.1.0
type ViewerSponsorsResponse struct {
Viewer *ViewerSponsorsViewerUser `json:"viewer"`
}
ViewerSponsorsResponse is returned by ViewerSponsors on success.
func ViewerSponsors ¶ added in v1.1.0
func (*ViewerSponsorsResponse) GetViewer ¶ added in v1.1.0
func (v *ViewerSponsorsResponse) GetViewer() *ViewerSponsorsViewerUser
GetViewer returns ViewerSponsorsResponse.Viewer, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUser ¶ added in v1.1.0
type ViewerSponsorsViewerUser struct {
SponsorsListing *ViewerSponsorsViewerUserSponsorsListing `json:"sponsorsListing"`
Active *ViewerSponsorsViewerUserActiveSponsorshipConnection `json:"active"`
Past *ViewerSponsorsViewerUserPastSponsorshipConnection `json:"past"`
}
ViewerSponsorsViewerUser includes the requested fields of the GraphQL type User.
func (*ViewerSponsorsViewerUser) GetActive ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUser) GetActive() *ViewerSponsorsViewerUserActiveSponsorshipConnection
GetActive returns ViewerSponsorsViewerUser.Active, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUser) GetPast ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUser) GetPast() *ViewerSponsorsViewerUserPastSponsorshipConnection
GetPast returns ViewerSponsorsViewerUser.Past, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUser) GetSponsorsListing ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUser) GetSponsorsListing() *ViewerSponsorsViewerUserSponsorsListing
GetSponsorsListing returns ViewerSponsorsViewerUser.SponsorsListing, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserActiveSponsorshipConnection ¶ added in v1.1.0
type ViewerSponsorsViewerUserActiveSponsorshipConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship `json:"nodes"`
}
ViewerSponsorsViewerUserActiveSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnection) GetNodes ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnection) GetNodes() []*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship
GetNodes returns ViewerSponsorsViewerUserActiveSponsorshipConnection.Nodes, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnection) GetTotalCount() int
GetTotalCount returns ViewerSponsorsViewerUserActiveSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship ¶ added in v1.1.0
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship struct {
CreatedAt time.Time `json:"createdAt"`
IsActive bool `json:"isActive"`
SponsorEntity *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor `json:"-"`
}
ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship includes the requested fields of the GraphQL type Sponsorship.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetCreatedAt ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetCreatedAt() time.Time
GetCreatedAt returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship.CreatedAt, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetIsActive ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetIsActive() bool
GetIsActive returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship.IsActive, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetSponsorEntity ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetSponsorEntity() *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor
GetSponsorEntity returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship.SponsorEntity, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) MarshalJSON ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) MarshalJSON() ([]byte, error)
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) UnmarshalJSON ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) UnmarshalJSON(b []byte) error
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization ¶ added in v1.1.0
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization includes the requested fields of the GraphQL type Organization.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl() string
GetAvatarUrl returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.AvatarUrl, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin() string
GetLogin returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Login, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename() *string
GetTypename returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Typename, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor ¶ added in v1.1.0
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor includes the requested fields of the GraphQL interface Sponsor.
ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor is implemented by the following types: ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser ¶ added in v1.1.0
type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser includes the requested fields of the GraphQL type User.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl() string
GetAvatarUrl returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin() string
GetLogin returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Login, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename() *string
GetTypename returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Typename, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserPastSponsorshipConnection ¶ added in v1.1.0
type ViewerSponsorsViewerUserPastSponsorshipConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship `json:"nodes"`
}
ViewerSponsorsViewerUserPastSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.
func (*ViewerSponsorsViewerUserPastSponsorshipConnection) GetNodes ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnection) GetNodes() []*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship
GetNodes returns ViewerSponsorsViewerUserPastSponsorshipConnection.Nodes, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnection) GetTotalCount() int
GetTotalCount returns ViewerSponsorsViewerUserPastSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship ¶ added in v1.1.0
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship struct {
CreatedAt time.Time `json:"createdAt"`
IsActive bool `json:"isActive"`
SponsorEntity *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor `json:"-"`
}
ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship includes the requested fields of the GraphQL type Sponsorship.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetCreatedAt ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetCreatedAt() time.Time
GetCreatedAt returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship.CreatedAt, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetIsActive ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetIsActive() bool
GetIsActive returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship.IsActive, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetSponsorEntity ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetSponsorEntity() *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor
GetSponsorEntity returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship.SponsorEntity, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) MarshalJSON ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) MarshalJSON() ([]byte, error)
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) UnmarshalJSON ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) UnmarshalJSON(b []byte) error
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization ¶ added in v1.1.0
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization includes the requested fields of the GraphQL type Organization.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl() string
GetAvatarUrl returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.AvatarUrl, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin() string
GetLogin returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Login, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename() *string
GetTypename returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Typename, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor ¶ added in v1.1.0
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor includes the requested fields of the GraphQL interface Sponsor.
ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor is implemented by the following types: ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser ¶ added in v1.1.0
type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser includes the requested fields of the GraphQL type User.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl() string
GetAvatarUrl returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin() string
GetLogin returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Login, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename() *string
GetTypename returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Typename, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserSponsorsListing ¶ added in v1.1.0
type ViewerSponsorsViewerUserSponsorsListing struct {
ShortDescription string `json:"shortDescription"`
FullDescription string `json:"fullDescription"`
ActiveGoal *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal `json:"activeGoal"`
}
ViewerSponsorsViewerUserSponsorsListing includes the requested fields of the GraphQL type SponsorsListing.
func (*ViewerSponsorsViewerUserSponsorsListing) GetActiveGoal ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserSponsorsListing) GetActiveGoal() *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal
GetActiveGoal returns ViewerSponsorsViewerUserSponsorsListing.ActiveGoal, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserSponsorsListing) GetFullDescription ¶ added in v1.2.0
func (v *ViewerSponsorsViewerUserSponsorsListing) GetFullDescription() string
GetFullDescription returns ViewerSponsorsViewerUserSponsorsListing.FullDescription, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserSponsorsListing) GetShortDescription ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserSponsorsListing) GetShortDescription() string
GetShortDescription returns ViewerSponsorsViewerUserSponsorsListing.ShortDescription, and is useful for accessing the field via an interface.
type ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal ¶ added in v1.1.0
type ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal struct {
Title *string `json:"title"`
Description *string `json:"description"`
Kind SponsorsGoalKind `json:"kind"`
PercentComplete int `json:"percentComplete"`
}
ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal includes the requested fields of the GraphQL type SponsorsGoal.
func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetDescription ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetDescription() *string
GetDescription returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.Description, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetKind ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetKind() SponsorsGoalKind
GetKind returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.Kind, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetPercentComplete ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetPercentComplete() int
GetPercentComplete returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.PercentComplete, and is useful for accessing the field via an interface.
func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetTitle ¶ added in v1.1.0
func (v *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetTitle() *string
GetTitle returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.Title, and is useful for accessing the field via an interface.
type ViewerSponsorshipsResponse ¶ added in v1.1.0
type ViewerSponsorshipsResponse struct {
Viewer *ViewerSponsorshipsViewerUser `json:"viewer"`
}
ViewerSponsorshipsResponse is returned by ViewerSponsorships on success.
func ViewerSponsorships ¶ added in v1.1.0
func (*ViewerSponsorshipsResponse) GetViewer ¶ added in v1.1.0
func (v *ViewerSponsorshipsResponse) GetViewer() *ViewerSponsorshipsViewerUser
GetViewer returns ViewerSponsorshipsResponse.Viewer, and is useful for accessing the field via an interface.
type ViewerSponsorshipsViewerUser ¶ added in v1.1.0
type ViewerSponsorshipsViewerUser struct {
TotalSponsorshipAmountAsSponsorInCents *int `json:"totalSponsorshipAmountAsSponsorInCents"`
SponsorshipsAsSponsor *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection `json:"sponsorshipsAsSponsor"`
}
ViewerSponsorshipsViewerUser includes the requested fields of the GraphQL type User.
func (*ViewerSponsorshipsViewerUser) GetSponsorshipsAsSponsor ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUser) GetSponsorshipsAsSponsor() *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection
GetSponsorshipsAsSponsor returns ViewerSponsorshipsViewerUser.SponsorshipsAsSponsor, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUser) GetTotalSponsorshipAmountAsSponsorInCents ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUser) GetTotalSponsorshipAmountAsSponsorInCents() *int
GetTotalSponsorshipAmountAsSponsorInCents returns ViewerSponsorshipsViewerUser.TotalSponsorshipAmountAsSponsorInCents, and is useful for accessing the field via an interface.
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection ¶ added in v1.1.0
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship `json:"nodes"`
}
ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection) GetNodes ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection) GetNodes() []*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship
GetNodes returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection.Nodes, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection) GetTotalCount() int
GetTotalCount returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship ¶ added in v1.1.0
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship struct {
CreatedAt time.Time `json:"createdAt"`
IsActive bool `json:"isActive"`
Sponsorable *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable `json:"-"`
}
ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship includes the requested fields of the GraphQL type Sponsorship.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetCreatedAt ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetCreatedAt() time.Time
GetCreatedAt returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship.CreatedAt, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetIsActive ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetIsActive() bool
GetIsActive returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship.IsActive, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetSponsorable ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetSponsorable() *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable
GetSponsorable returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship.Sponsorable, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) MarshalJSON ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) MarshalJSON() ([]byte, error)
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) UnmarshalJSON ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) UnmarshalJSON(b []byte) error
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable ¶ added in v1.1.0
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable interface {
// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
GetTypename() *string
// contains filtered or unexported methods
}
ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable includes the requested fields of the GraphQL interface Sponsorable.
ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable is implemented by the following types: ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization ¶ added in v1.1.0
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization includes the requested fields of the GraphQL type Organization.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetAvatarUrl ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetAvatarUrl() string
GetAvatarUrl returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization.AvatarUrl, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetLogin ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetLogin() string
GetLogin returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization.Login, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetTypename ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetTypename() *string
GetTypename returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization.Typename, and is useful for accessing the field via an interface.
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser ¶ added in v1.1.0
type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser struct {
Typename *string `json:"__typename"`
Login string `json:"login"`
AvatarUrl string `json:"avatarUrl"`
}
ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser includes the requested fields of the GraphQL type User.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetAvatarUrl ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetAvatarUrl() string
GetAvatarUrl returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser.AvatarUrl, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetLogin ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetLogin() string
GetLogin returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser.Login, and is useful for accessing the field via an interface.
func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetTypename ¶ added in v1.1.0
func (v *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetTypename() *string
GetTypename returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser.Typename, and is useful for accessing the field via an interface.
type ViewerStargazersReposResponse ¶ added in v1.1.0
type ViewerStargazersReposResponse struct {
Viewer *ViewerStargazersReposViewerUser `json:"viewer"`
}
ViewerStargazersReposResponse is returned by ViewerStargazersRepos on success.
func ViewerStargazersRepos ¶ added in v1.1.0
func (*ViewerStargazersReposResponse) GetViewer ¶ added in v1.1.0
func (v *ViewerStargazersReposResponse) GetViewer() *ViewerStargazersReposViewerUser
GetViewer returns ViewerStargazersReposResponse.Viewer, and is useful for accessing the field via an interface.
type ViewerStargazersReposViewerUser ¶ added in v1.1.0
type ViewerStargazersReposViewerUser struct {
Repositories *ViewerStargazersReposViewerUserRepositoriesRepositoryConnection `json:"repositories"`
}
ViewerStargazersReposViewerUser includes the requested fields of the GraphQL type User.
func (*ViewerStargazersReposViewerUser) GetRepositories ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUser) GetRepositories() *ViewerStargazersReposViewerUserRepositoriesRepositoryConnection
GetRepositories returns ViewerStargazersReposViewerUser.Repositories, and is useful for accessing the field via an interface.
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnection ¶ added in v1.1.0
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnection struct {
TotalCount int `json:"totalCount"`
Nodes []*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}
ViewerStargazersReposViewerUserRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnection) GetNodes ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnection) GetNodes() []*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository
GetNodes returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnection) GetTotalCount() int
GetTotalCount returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository ¶ added in v1.1.0
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository struct {
NameWithOwner string `json:"nameWithOwner"`
StargazerCount int `json:"stargazerCount"`
Stargazers *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection `json:"stargazers"`
}
ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner() string
GetNameWithOwner returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount() int
GetStargazerCount returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazers ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazers() *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection
GetStargazers returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository.Stargazers, and is useful for accessing the field via an interface.
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection ¶ added in v1.1.0
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection struct {
TotalCount int `json:"totalCount"`
Edges []*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge `json:"edges"`
}
ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection includes the requested fields of the GraphQL type StargazerConnection.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection) GetEdges ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection) GetEdges() []*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge
GetEdges returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection.Edges, and is useful for accessing the field via an interface.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection) GetTotalCount ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection) GetTotalCount() int
GetTotalCount returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection.TotalCount, and is useful for accessing the field via an interface.
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge ¶ added in v1.1.0
type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge struct {
StarredAt time.Time `json:"starredAt"`
}
ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge includes the requested fields of the GraphQL type StargazerEdge.
func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge) GetStarredAt ¶ added in v1.1.0
func (v *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge) GetStarredAt() time.Time
GetStarredAt returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge.StarredAt, and is useful for accessing the field via an interface.