Versions in this module Expand all Collapse all v0 v0.8.0 Aug 13, 2020 Changes in this version + type AddMemberLegacyReq struct + TeamId int64 + Username string + func (r *AddMemberLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddMemberLegacyReq) Rel(link string, resp *AddMemberLegacyResponse) bool + type AddMemberLegacyResponse struct + func AddMemberLegacy(ctx context.Context, req *AddMemberLegacyReq, opt ...requests.Option) (*AddMemberLegacyResponse, error) + func (r *AddMemberLegacyResponse) HTTPResponse() *http.Response + func (r *AddMemberLegacyResponse) ReadResponse(resp *http.Response) error + type AddOrUpdateMembershipForUserInOrgReq struct + Org string + RequestBody AddOrUpdateMembershipForUserInOrgReqBody + TeamSlug string + Username string + func (r *AddOrUpdateMembershipForUserInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddOrUpdateMembershipForUserInOrgReq) Rel(link string, resp *AddOrUpdateMembershipForUserInOrgResponse) bool + type AddOrUpdateMembershipForUserInOrgReqBody struct + Role *string + type AddOrUpdateMembershipForUserInOrgResponse struct + Data components.TeamMembership + func AddOrUpdateMembershipForUserInOrg(ctx context.Context, req *AddOrUpdateMembershipForUserInOrgReq, ...) (*AddOrUpdateMembershipForUserInOrgResponse, error) + func (r *AddOrUpdateMembershipForUserInOrgResponse) HTTPResponse() *http.Response + func (r *AddOrUpdateMembershipForUserInOrgResponse) ReadResponse(resp *http.Response) error + type AddOrUpdateMembershipForUserLegacyReq struct + RequestBody AddOrUpdateMembershipForUserLegacyReqBody + TeamId int64 + Username string + func (r *AddOrUpdateMembershipForUserLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddOrUpdateMembershipForUserLegacyReq) Rel(link string, resp *AddOrUpdateMembershipForUserLegacyResponse) bool + type AddOrUpdateMembershipForUserLegacyReqBody struct + Role *string + type AddOrUpdateMembershipForUserLegacyResponse struct + Data components.TeamMembership + func AddOrUpdateMembershipForUserLegacy(ctx context.Context, req *AddOrUpdateMembershipForUserLegacyReq, ...) (*AddOrUpdateMembershipForUserLegacyResponse, error) + func (r *AddOrUpdateMembershipForUserLegacyResponse) HTTPResponse() *http.Response + func (r *AddOrUpdateMembershipForUserLegacyResponse) ReadResponse(resp *http.Response) error + type AddOrUpdateProjectPermissionsInOrgReq struct + InertiaPreview bool + Org string + ProjectId int64 + RequestBody AddOrUpdateProjectPermissionsInOrgReqBody + TeamSlug string + func (r *AddOrUpdateProjectPermissionsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddOrUpdateProjectPermissionsInOrgReq) Rel(link string, resp *AddOrUpdateProjectPermissionsInOrgResponse) bool + type AddOrUpdateProjectPermissionsInOrgReqBody struct + Permission *string + type AddOrUpdateProjectPermissionsInOrgResponse struct + func AddOrUpdateProjectPermissionsInOrg(ctx context.Context, req *AddOrUpdateProjectPermissionsInOrgReq, ...) (*AddOrUpdateProjectPermissionsInOrgResponse, error) + func (r *AddOrUpdateProjectPermissionsInOrgResponse) HTTPResponse() *http.Response + func (r *AddOrUpdateProjectPermissionsInOrgResponse) ReadResponse(resp *http.Response) error + type AddOrUpdateProjectPermissionsLegacyReq struct + InertiaPreview bool + ProjectId int64 + RequestBody AddOrUpdateProjectPermissionsLegacyReqBody + TeamId int64 + func (r *AddOrUpdateProjectPermissionsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddOrUpdateProjectPermissionsLegacyReq) Rel(link string, resp *AddOrUpdateProjectPermissionsLegacyResponse) bool + type AddOrUpdateProjectPermissionsLegacyReqBody struct + Permission *string + type AddOrUpdateProjectPermissionsLegacyResponse struct + func AddOrUpdateProjectPermissionsLegacy(ctx context.Context, req *AddOrUpdateProjectPermissionsLegacyReq, ...) (*AddOrUpdateProjectPermissionsLegacyResponse, error) + func (r *AddOrUpdateProjectPermissionsLegacyResponse) HTTPResponse() *http.Response + func (r *AddOrUpdateProjectPermissionsLegacyResponse) ReadResponse(resp *http.Response) error + type AddOrUpdateRepoPermissionsInOrgReq struct + Org string + Owner string + Repo string + RequestBody AddOrUpdateRepoPermissionsInOrgReqBody + TeamSlug string + func (r *AddOrUpdateRepoPermissionsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddOrUpdateRepoPermissionsInOrgReq) Rel(link string, resp *AddOrUpdateRepoPermissionsInOrgResponse) bool + type AddOrUpdateRepoPermissionsInOrgReqBody struct + Permission *string + type AddOrUpdateRepoPermissionsInOrgResponse struct + func AddOrUpdateRepoPermissionsInOrg(ctx context.Context, req *AddOrUpdateRepoPermissionsInOrgReq, ...) (*AddOrUpdateRepoPermissionsInOrgResponse, error) + func (r *AddOrUpdateRepoPermissionsInOrgResponse) HTTPResponse() *http.Response + func (r *AddOrUpdateRepoPermissionsInOrgResponse) ReadResponse(resp *http.Response) error + type AddOrUpdateRepoPermissionsLegacyReq struct + Owner string + Repo string + RequestBody AddOrUpdateRepoPermissionsLegacyReqBody + TeamId int64 + func (r *AddOrUpdateRepoPermissionsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *AddOrUpdateRepoPermissionsLegacyReq) Rel(link string, resp *AddOrUpdateRepoPermissionsLegacyResponse) bool + type AddOrUpdateRepoPermissionsLegacyReqBody struct + Permission *string + type AddOrUpdateRepoPermissionsLegacyResponse struct + func AddOrUpdateRepoPermissionsLegacy(ctx context.Context, req *AddOrUpdateRepoPermissionsLegacyReq, ...) (*AddOrUpdateRepoPermissionsLegacyResponse, error) + func (r *AddOrUpdateRepoPermissionsLegacyResponse) HTTPResponse() *http.Response + func (r *AddOrUpdateRepoPermissionsLegacyResponse) ReadResponse(resp *http.Response) error + type CheckPermissionsForProjectInOrgReq struct + InertiaPreview bool + Org string + ProjectId int64 + TeamSlug string + func (r *CheckPermissionsForProjectInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckPermissionsForProjectInOrgReq) Rel(link string, resp *CheckPermissionsForProjectInOrgResponse) bool + type CheckPermissionsForProjectInOrgResponse struct + Data components.TeamProject + func CheckPermissionsForProjectInOrg(ctx context.Context, req *CheckPermissionsForProjectInOrgReq, ...) (*CheckPermissionsForProjectInOrgResponse, error) + func (r *CheckPermissionsForProjectInOrgResponse) HTTPResponse() *http.Response + func (r *CheckPermissionsForProjectInOrgResponse) ReadResponse(resp *http.Response) error + type CheckPermissionsForProjectLegacyReq struct + InertiaPreview bool + ProjectId int64 + TeamId int64 + func (r *CheckPermissionsForProjectLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckPermissionsForProjectLegacyReq) Rel(link string, resp *CheckPermissionsForProjectLegacyResponse) bool + type CheckPermissionsForProjectLegacyResponse struct + Data components.TeamProject + func CheckPermissionsForProjectLegacy(ctx context.Context, req *CheckPermissionsForProjectLegacyReq, ...) (*CheckPermissionsForProjectLegacyResponse, error) + func (r *CheckPermissionsForProjectLegacyResponse) HTTPResponse() *http.Response + func (r *CheckPermissionsForProjectLegacyResponse) ReadResponse(resp *http.Response) error + type CheckPermissionsForRepoInOrgReq struct + Org string + Owner string + Repo string + TeamSlug string + func (r *CheckPermissionsForRepoInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckPermissionsForRepoInOrgReq) Rel(link string, resp *CheckPermissionsForRepoInOrgResponse) bool + type CheckPermissionsForRepoInOrgResponse struct + Data components.TeamRepository + func CheckPermissionsForRepoInOrg(ctx context.Context, req *CheckPermissionsForRepoInOrgReq, ...) (*CheckPermissionsForRepoInOrgResponse, error) + func (r *CheckPermissionsForRepoInOrgResponse) HTTPResponse() *http.Response + func (r *CheckPermissionsForRepoInOrgResponse) ReadResponse(resp *http.Response) error + type CheckPermissionsForRepoLegacyReq struct + Owner string + Repo string + TeamId int64 + func (r *CheckPermissionsForRepoLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckPermissionsForRepoLegacyReq) Rel(link string, resp *CheckPermissionsForRepoLegacyResponse) bool + type CheckPermissionsForRepoLegacyResponse struct + Data components.TeamRepository + func CheckPermissionsForRepoLegacy(ctx context.Context, req *CheckPermissionsForRepoLegacyReq, ...) (*CheckPermissionsForRepoLegacyResponse, error) + func (r *CheckPermissionsForRepoLegacyResponse) HTTPResponse() *http.Response + func (r *CheckPermissionsForRepoLegacyResponse) ReadResponse(resp *http.Response) error + type Client []requests.Option + func NewClient(opt ...requests.Option) Client + func (c Client) AddMemberLegacy(ctx context.Context, req *AddMemberLegacyReq, opt ...requests.Option) (*AddMemberLegacyResponse, error) + func (c Client) AddOrUpdateMembershipForUserInOrg(ctx context.Context, req *AddOrUpdateMembershipForUserInOrgReq, ...) (*AddOrUpdateMembershipForUserInOrgResponse, error) + func (c Client) AddOrUpdateMembershipForUserLegacy(ctx context.Context, req *AddOrUpdateMembershipForUserLegacyReq, ...) (*AddOrUpdateMembershipForUserLegacyResponse, error) + func (c Client) AddOrUpdateProjectPermissionsInOrg(ctx context.Context, req *AddOrUpdateProjectPermissionsInOrgReq, ...) (*AddOrUpdateProjectPermissionsInOrgResponse, error) + func (c Client) AddOrUpdateProjectPermissionsLegacy(ctx context.Context, req *AddOrUpdateProjectPermissionsLegacyReq, ...) (*AddOrUpdateProjectPermissionsLegacyResponse, error) + func (c Client) AddOrUpdateRepoPermissionsInOrg(ctx context.Context, req *AddOrUpdateRepoPermissionsInOrgReq, ...) (*AddOrUpdateRepoPermissionsInOrgResponse, error) + func (c Client) AddOrUpdateRepoPermissionsLegacy(ctx context.Context, req *AddOrUpdateRepoPermissionsLegacyReq, ...) (*AddOrUpdateRepoPermissionsLegacyResponse, error) + func (c Client) CheckPermissionsForProjectInOrg(ctx context.Context, req *CheckPermissionsForProjectInOrgReq, ...) (*CheckPermissionsForProjectInOrgResponse, error) + func (c Client) CheckPermissionsForProjectLegacy(ctx context.Context, req *CheckPermissionsForProjectLegacyReq, ...) (*CheckPermissionsForProjectLegacyResponse, error) + func (c Client) CheckPermissionsForRepoInOrg(ctx context.Context, req *CheckPermissionsForRepoInOrgReq, ...) (*CheckPermissionsForRepoInOrgResponse, error) + func (c Client) CheckPermissionsForRepoLegacy(ctx context.Context, req *CheckPermissionsForRepoLegacyReq, ...) (*CheckPermissionsForRepoLegacyResponse, error) + func (c Client) Create(ctx context.Context, req *CreateReq, opt ...requests.Option) (*CreateResponse, error) + func (c Client) CreateDiscussionCommentInOrg(ctx context.Context, req *CreateDiscussionCommentInOrgReq, ...) (*CreateDiscussionCommentInOrgResponse, error) + func (c Client) CreateDiscussionCommentLegacy(ctx context.Context, req *CreateDiscussionCommentLegacyReq, ...) (*CreateDiscussionCommentLegacyResponse, error) + func (c Client) CreateDiscussionInOrg(ctx context.Context, req *CreateDiscussionInOrgReq, opt ...requests.Option) (*CreateDiscussionInOrgResponse, error) + func (c Client) CreateDiscussionLegacy(ctx context.Context, req *CreateDiscussionLegacyReq, opt ...requests.Option) (*CreateDiscussionLegacyResponse, error) + func (c Client) CreateOrUpdateIdpGroupConnectionsInOrg(ctx context.Context, req *CreateOrUpdateIdpGroupConnectionsInOrgReq, ...) (*CreateOrUpdateIdpGroupConnectionsInOrgResponse, error) + func (c Client) CreateOrUpdateIdpGroupConnectionsLegacy(ctx context.Context, req *CreateOrUpdateIdpGroupConnectionsLegacyReq, ...) (*CreateOrUpdateIdpGroupConnectionsLegacyResponse, error) + func (c Client) DeleteDiscussionCommentInOrg(ctx context.Context, req *DeleteDiscussionCommentInOrgReq, ...) (*DeleteDiscussionCommentInOrgResponse, error) + func (c Client) DeleteDiscussionCommentLegacy(ctx context.Context, req *DeleteDiscussionCommentLegacyReq, ...) (*DeleteDiscussionCommentLegacyResponse, error) + func (c Client) DeleteDiscussionInOrg(ctx context.Context, req *DeleteDiscussionInOrgReq, opt ...requests.Option) (*DeleteDiscussionInOrgResponse, error) + func (c Client) DeleteDiscussionLegacy(ctx context.Context, req *DeleteDiscussionLegacyReq, opt ...requests.Option) (*DeleteDiscussionLegacyResponse, error) + func (c Client) DeleteInOrg(ctx context.Context, req *DeleteInOrgReq, opt ...requests.Option) (*DeleteInOrgResponse, error) + func (c Client) DeleteLegacy(ctx context.Context, req *DeleteLegacyReq, opt ...requests.Option) (*DeleteLegacyResponse, error) + func (c Client) GetByName(ctx context.Context, req *GetByNameReq, opt ...requests.Option) (*GetByNameResponse, error) + func (c Client) GetDiscussionCommentInOrg(ctx context.Context, req *GetDiscussionCommentInOrgReq, opt ...requests.Option) (*GetDiscussionCommentInOrgResponse, error) + func (c Client) GetDiscussionCommentLegacy(ctx context.Context, req *GetDiscussionCommentLegacyReq, ...) (*GetDiscussionCommentLegacyResponse, error) + func (c Client) GetDiscussionInOrg(ctx context.Context, req *GetDiscussionInOrgReq, opt ...requests.Option) (*GetDiscussionInOrgResponse, error) + func (c Client) GetDiscussionLegacy(ctx context.Context, req *GetDiscussionLegacyReq, opt ...requests.Option) (*GetDiscussionLegacyResponse, error) + func (c Client) GetLegacy(ctx context.Context, req *GetLegacyReq, opt ...requests.Option) (*GetLegacyResponse, error) + func (c Client) GetMemberLegacy(ctx context.Context, req *GetMemberLegacyReq, opt ...requests.Option) (*GetMemberLegacyResponse, error) + func (c Client) GetMembershipForUserInOrg(ctx context.Context, req *GetMembershipForUserInOrgReq, opt ...requests.Option) (*GetMembershipForUserInOrgResponse, error) + func (c Client) GetMembershipForUserLegacy(ctx context.Context, req *GetMembershipForUserLegacyReq, ...) (*GetMembershipForUserLegacyResponse, error) + func (c Client) List(ctx context.Context, req *ListReq, opt ...requests.Option) (*ListResponse, error) + func (c Client) ListChildInOrg(ctx context.Context, req *ListChildInOrgReq, opt ...requests.Option) (*ListChildInOrgResponse, error) + func (c Client) ListChildLegacy(ctx context.Context, req *ListChildLegacyReq, opt ...requests.Option) (*ListChildLegacyResponse, error) + func (c Client) ListDiscussionCommentsInOrg(ctx context.Context, req *ListDiscussionCommentsInOrgReq, ...) (*ListDiscussionCommentsInOrgResponse, error) + func (c Client) ListDiscussionCommentsLegacy(ctx context.Context, req *ListDiscussionCommentsLegacyReq, ...) (*ListDiscussionCommentsLegacyResponse, error) + func (c Client) ListDiscussionsInOrg(ctx context.Context, req *ListDiscussionsInOrgReq, opt ...requests.Option) (*ListDiscussionsInOrgResponse, error) + func (c Client) ListDiscussionsLegacy(ctx context.Context, req *ListDiscussionsLegacyReq, opt ...requests.Option) (*ListDiscussionsLegacyResponse, error) + func (c Client) ListForAuthenticatedUser(ctx context.Context, req *ListForAuthenticatedUserReq, opt ...requests.Option) (*ListForAuthenticatedUserResponse, error) + func (c Client) ListIdpGroupsForLegacy(ctx context.Context, req *ListIdpGroupsForLegacyReq, opt ...requests.Option) (*ListIdpGroupsForLegacyResponse, error) + func (c Client) ListIdpGroupsForOrg(ctx context.Context, req *ListIdpGroupsForOrgReq, opt ...requests.Option) (*ListIdpGroupsForOrgResponse, error) + func (c Client) ListIdpGroupsInOrg(ctx context.Context, req *ListIdpGroupsInOrgReq, opt ...requests.Option) (*ListIdpGroupsInOrgResponse, error) + func (c Client) ListMembersInOrg(ctx context.Context, req *ListMembersInOrgReq, opt ...requests.Option) (*ListMembersInOrgResponse, error) + func (c Client) ListMembersLegacy(ctx context.Context, req *ListMembersLegacyReq, opt ...requests.Option) (*ListMembersLegacyResponse, error) + func (c Client) ListPendingInvitationsInOrg(ctx context.Context, req *ListPendingInvitationsInOrgReq, ...) (*ListPendingInvitationsInOrgResponse, error) + func (c Client) ListPendingInvitationsLegacy(ctx context.Context, req *ListPendingInvitationsLegacyReq, ...) (*ListPendingInvitationsLegacyResponse, error) + func (c Client) ListProjectsInOrg(ctx context.Context, req *ListProjectsInOrgReq, opt ...requests.Option) (*ListProjectsInOrgResponse, error) + func (c Client) ListProjectsLegacy(ctx context.Context, req *ListProjectsLegacyReq, opt ...requests.Option) (*ListProjectsLegacyResponse, error) + func (c Client) ListReposInOrg(ctx context.Context, req *ListReposInOrgReq, opt ...requests.Option) (*ListReposInOrgResponse, error) + func (c Client) ListReposLegacy(ctx context.Context, req *ListReposLegacyReq, opt ...requests.Option) (*ListReposLegacyResponse, error) + func (c Client) RemoveMemberLegacy(ctx context.Context, req *RemoveMemberLegacyReq, opt ...requests.Option) (*RemoveMemberLegacyResponse, error) + func (c Client) RemoveMembershipForUserInOrg(ctx context.Context, req *RemoveMembershipForUserInOrgReq, ...) (*RemoveMembershipForUserInOrgResponse, error) + func (c Client) RemoveMembershipForUserLegacy(ctx context.Context, req *RemoveMembershipForUserLegacyReq, ...) (*RemoveMembershipForUserLegacyResponse, error) + func (c Client) RemoveProjectInOrg(ctx context.Context, req *RemoveProjectInOrgReq, opt ...requests.Option) (*RemoveProjectInOrgResponse, error) + func (c Client) RemoveProjectLegacy(ctx context.Context, req *RemoveProjectLegacyReq, opt ...requests.Option) (*RemoveProjectLegacyResponse, error) + func (c Client) RemoveRepoInOrg(ctx context.Context, req *RemoveRepoInOrgReq, opt ...requests.Option) (*RemoveRepoInOrgResponse, error) + func (c Client) RemoveRepoLegacy(ctx context.Context, req *RemoveRepoLegacyReq, opt ...requests.Option) (*RemoveRepoLegacyResponse, error) + func (c Client) UpdateDiscussionCommentInOrg(ctx context.Context, req *UpdateDiscussionCommentInOrgReq, ...) (*UpdateDiscussionCommentInOrgResponse, error) + func (c Client) UpdateDiscussionCommentLegacy(ctx context.Context, req *UpdateDiscussionCommentLegacyReq, ...) (*UpdateDiscussionCommentLegacyResponse, error) + func (c Client) UpdateDiscussionInOrg(ctx context.Context, req *UpdateDiscussionInOrgReq, opt ...requests.Option) (*UpdateDiscussionInOrgResponse, error) + func (c Client) UpdateDiscussionLegacy(ctx context.Context, req *UpdateDiscussionLegacyReq, opt ...requests.Option) (*UpdateDiscussionLegacyResponse, error) + func (c Client) UpdateInOrg(ctx context.Context, req *UpdateInOrgReq, opt ...requests.Option) (*UpdateInOrgResponse, error) + func (c Client) UpdateLegacy(ctx context.Context, req *UpdateLegacyReq, opt ...requests.Option) (*UpdateLegacyResponse, error) + type CreateDiscussionCommentInOrgReq struct + DiscussionNumber int64 + Org string + RequestBody CreateDiscussionCommentInOrgReqBody + SquirrelGirlPreview bool + TeamSlug string + func (r *CreateDiscussionCommentInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateDiscussionCommentInOrgReq) Rel(link string, resp *CreateDiscussionCommentInOrgResponse) bool + type CreateDiscussionCommentInOrgReqBody struct + Body *string + type CreateDiscussionCommentInOrgResponse struct + Data components.TeamDiscussionComment + func CreateDiscussionCommentInOrg(ctx context.Context, req *CreateDiscussionCommentInOrgReq, ...) (*CreateDiscussionCommentInOrgResponse, error) + func (r *CreateDiscussionCommentInOrgResponse) HTTPResponse() *http.Response + func (r *CreateDiscussionCommentInOrgResponse) ReadResponse(resp *http.Response) error + type CreateDiscussionCommentLegacyReq struct + DiscussionNumber int64 + RequestBody CreateDiscussionCommentLegacyReqBody + SquirrelGirlPreview bool + TeamId int64 + func (r *CreateDiscussionCommentLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateDiscussionCommentLegacyReq) Rel(link string, resp *CreateDiscussionCommentLegacyResponse) bool + type CreateDiscussionCommentLegacyReqBody struct + Body *string + type CreateDiscussionCommentLegacyResponse struct + Data components.TeamDiscussionComment + func CreateDiscussionCommentLegacy(ctx context.Context, req *CreateDiscussionCommentLegacyReq, ...) (*CreateDiscussionCommentLegacyResponse, error) + func (r *CreateDiscussionCommentLegacyResponse) HTTPResponse() *http.Response + func (r *CreateDiscussionCommentLegacyResponse) ReadResponse(resp *http.Response) error + type CreateDiscussionInOrgReq struct + Org string + RequestBody CreateDiscussionInOrgReqBody + SquirrelGirlPreview bool + TeamSlug string + func (r *CreateDiscussionInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateDiscussionInOrgReq) Rel(link string, resp *CreateDiscussionInOrgResponse) bool + type CreateDiscussionInOrgReqBody struct + Body *string + Private *bool + Title *string + type CreateDiscussionInOrgResponse struct + Data components.TeamDiscussion + func CreateDiscussionInOrg(ctx context.Context, req *CreateDiscussionInOrgReq, opt ...requests.Option) (*CreateDiscussionInOrgResponse, error) + func (r *CreateDiscussionInOrgResponse) HTTPResponse() *http.Response + func (r *CreateDiscussionInOrgResponse) ReadResponse(resp *http.Response) error + type CreateDiscussionLegacyReq struct + RequestBody CreateDiscussionLegacyReqBody + SquirrelGirlPreview bool + TeamId int64 + func (r *CreateDiscussionLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateDiscussionLegacyReq) Rel(link string, resp *CreateDiscussionLegacyResponse) bool + type CreateDiscussionLegacyReqBody struct + Body *string + Private *bool + Title *string + type CreateDiscussionLegacyResponse struct + Data components.TeamDiscussion + func CreateDiscussionLegacy(ctx context.Context, req *CreateDiscussionLegacyReq, opt ...requests.Option) (*CreateDiscussionLegacyResponse, error) + func (r *CreateDiscussionLegacyResponse) HTTPResponse() *http.Response + func (r *CreateDiscussionLegacyResponse) ReadResponse(resp *http.Response) error + type CreateOrUpdateIdpGroupConnectionsInOrgReq struct + Org string + RequestBody CreateOrUpdateIdpGroupConnectionsInOrgReqBody + TeamSlug string + func (r *CreateOrUpdateIdpGroupConnectionsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateOrUpdateIdpGroupConnectionsInOrgReq) Rel(link string, resp *CreateOrUpdateIdpGroupConnectionsInOrgResponse) bool + type CreateOrUpdateIdpGroupConnectionsInOrgReqBody struct + Groups []CreateOrUpdateIdpGroupConnectionsInOrgReqBodyGroups + type CreateOrUpdateIdpGroupConnectionsInOrgReqBodyGroups struct + GroupDescription *string + GroupId *string + GroupName *string + type CreateOrUpdateIdpGroupConnectionsInOrgResponse struct + Data components.GroupMapping + func CreateOrUpdateIdpGroupConnectionsInOrg(ctx context.Context, req *CreateOrUpdateIdpGroupConnectionsInOrgReq, ...) (*CreateOrUpdateIdpGroupConnectionsInOrgResponse, error) + func (r *CreateOrUpdateIdpGroupConnectionsInOrgResponse) HTTPResponse() *http.Response + func (r *CreateOrUpdateIdpGroupConnectionsInOrgResponse) ReadResponse(resp *http.Response) error + type CreateOrUpdateIdpGroupConnectionsLegacyReq struct + RequestBody CreateOrUpdateIdpGroupConnectionsLegacyReqBody + TeamId int64 + func (r *CreateOrUpdateIdpGroupConnectionsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateOrUpdateIdpGroupConnectionsLegacyReq) Rel(link string, resp *CreateOrUpdateIdpGroupConnectionsLegacyResponse) bool + type CreateOrUpdateIdpGroupConnectionsLegacyReqBody struct + Groups []CreateOrUpdateIdpGroupConnectionsLegacyReqBodyGroups + SyncedAt *string + type CreateOrUpdateIdpGroupConnectionsLegacyReqBodyGroups struct + Description *string + GroupDescription *string + GroupId *string + GroupName *string + Id *string + Name *string + type CreateOrUpdateIdpGroupConnectionsLegacyResponse struct + Data components.GroupMapping + func CreateOrUpdateIdpGroupConnectionsLegacy(ctx context.Context, req *CreateOrUpdateIdpGroupConnectionsLegacyReq, ...) (*CreateOrUpdateIdpGroupConnectionsLegacyResponse, error) + func (r *CreateOrUpdateIdpGroupConnectionsLegacyResponse) HTTPResponse() *http.Response + func (r *CreateOrUpdateIdpGroupConnectionsLegacyResponse) ReadResponse(resp *http.Response) error + type CreateReq struct + Org string + RequestBody CreateReqBody + func (r *CreateReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateReq) Rel(link string, resp *CreateResponse) bool + type CreateReqBody struct + Description *string + Maintainers []string + Name *string + ParentTeamId *int64 + Permission *string + Privacy *string + RepoNames []string + type CreateResponse struct + Data components.TeamFull + func Create(ctx context.Context, req *CreateReq, opt ...requests.Option) (*CreateResponse, error) + func (r *CreateResponse) HTTPResponse() *http.Response + func (r *CreateResponse) ReadResponse(resp *http.Response) error + type DeleteDiscussionCommentInOrgReq struct + CommentNumber int64 + DiscussionNumber int64 + Org string + TeamSlug string + func (r *DeleteDiscussionCommentInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteDiscussionCommentInOrgReq) Rel(link string, resp *DeleteDiscussionCommentInOrgResponse) bool + type DeleteDiscussionCommentInOrgResponse struct + func DeleteDiscussionCommentInOrg(ctx context.Context, req *DeleteDiscussionCommentInOrgReq, ...) (*DeleteDiscussionCommentInOrgResponse, error) + func (r *DeleteDiscussionCommentInOrgResponse) HTTPResponse() *http.Response + func (r *DeleteDiscussionCommentInOrgResponse) ReadResponse(resp *http.Response) error + type DeleteDiscussionCommentLegacyReq struct + CommentNumber int64 + DiscussionNumber int64 + TeamId int64 + func (r *DeleteDiscussionCommentLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteDiscussionCommentLegacyReq) Rel(link string, resp *DeleteDiscussionCommentLegacyResponse) bool + type DeleteDiscussionCommentLegacyResponse struct + func DeleteDiscussionCommentLegacy(ctx context.Context, req *DeleteDiscussionCommentLegacyReq, ...) (*DeleteDiscussionCommentLegacyResponse, error) + func (r *DeleteDiscussionCommentLegacyResponse) HTTPResponse() *http.Response + func (r *DeleteDiscussionCommentLegacyResponse) ReadResponse(resp *http.Response) error + type DeleteDiscussionInOrgReq struct + DiscussionNumber int64 + Org string + TeamSlug string + func (r *DeleteDiscussionInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteDiscussionInOrgReq) Rel(link string, resp *DeleteDiscussionInOrgResponse) bool + type DeleteDiscussionInOrgResponse struct + func DeleteDiscussionInOrg(ctx context.Context, req *DeleteDiscussionInOrgReq, opt ...requests.Option) (*DeleteDiscussionInOrgResponse, error) + func (r *DeleteDiscussionInOrgResponse) HTTPResponse() *http.Response + func (r *DeleteDiscussionInOrgResponse) ReadResponse(resp *http.Response) error + type DeleteDiscussionLegacyReq struct + DiscussionNumber int64 + TeamId int64 + func (r *DeleteDiscussionLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteDiscussionLegacyReq) Rel(link string, resp *DeleteDiscussionLegacyResponse) bool + type DeleteDiscussionLegacyResponse struct + func DeleteDiscussionLegacy(ctx context.Context, req *DeleteDiscussionLegacyReq, opt ...requests.Option) (*DeleteDiscussionLegacyResponse, error) + func (r *DeleteDiscussionLegacyResponse) HTTPResponse() *http.Response + func (r *DeleteDiscussionLegacyResponse) ReadResponse(resp *http.Response) error + type DeleteInOrgReq struct + Org string + TeamSlug string + func (r *DeleteInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteInOrgReq) Rel(link string, resp *DeleteInOrgResponse) bool + type DeleteInOrgResponse struct + func DeleteInOrg(ctx context.Context, req *DeleteInOrgReq, opt ...requests.Option) (*DeleteInOrgResponse, error) + func (r *DeleteInOrgResponse) HTTPResponse() *http.Response + func (r *DeleteInOrgResponse) ReadResponse(resp *http.Response) error + type DeleteLegacyReq struct + TeamId int64 + func (r *DeleteLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteLegacyReq) Rel(link string, resp *DeleteLegacyResponse) bool + type DeleteLegacyResponse struct + func DeleteLegacy(ctx context.Context, req *DeleteLegacyReq, opt ...requests.Option) (*DeleteLegacyResponse, error) + func (r *DeleteLegacyResponse) HTTPResponse() *http.Response + func (r *DeleteLegacyResponse) ReadResponse(resp *http.Response) error + type GetByNameReq struct + Org string + TeamSlug string + func (r *GetByNameReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetByNameReq) Rel(link string, resp *GetByNameResponse) bool + type GetByNameResponse struct + Data components.TeamFull + func GetByName(ctx context.Context, req *GetByNameReq, opt ...requests.Option) (*GetByNameResponse, error) + func (r *GetByNameResponse) HTTPResponse() *http.Response + func (r *GetByNameResponse) ReadResponse(resp *http.Response) error + type GetDiscussionCommentInOrgReq struct + CommentNumber int64 + DiscussionNumber int64 + Org string + SquirrelGirlPreview bool + TeamSlug string + func (r *GetDiscussionCommentInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetDiscussionCommentInOrgReq) Rel(link string, resp *GetDiscussionCommentInOrgResponse) bool + type GetDiscussionCommentInOrgResponse struct + Data components.TeamDiscussionComment + func GetDiscussionCommentInOrg(ctx context.Context, req *GetDiscussionCommentInOrgReq, opt ...requests.Option) (*GetDiscussionCommentInOrgResponse, error) + func (r *GetDiscussionCommentInOrgResponse) HTTPResponse() *http.Response + func (r *GetDiscussionCommentInOrgResponse) ReadResponse(resp *http.Response) error + type GetDiscussionCommentLegacyReq struct + CommentNumber int64 + DiscussionNumber int64 + SquirrelGirlPreview bool + TeamId int64 + func (r *GetDiscussionCommentLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetDiscussionCommentLegacyReq) Rel(link string, resp *GetDiscussionCommentLegacyResponse) bool + type GetDiscussionCommentLegacyResponse struct + Data components.TeamDiscussionComment + func GetDiscussionCommentLegacy(ctx context.Context, req *GetDiscussionCommentLegacyReq, ...) (*GetDiscussionCommentLegacyResponse, error) + func (r *GetDiscussionCommentLegacyResponse) HTTPResponse() *http.Response + func (r *GetDiscussionCommentLegacyResponse) ReadResponse(resp *http.Response) error + type GetDiscussionInOrgReq struct + DiscussionNumber int64 + Org string + SquirrelGirlPreview bool + TeamSlug string + func (r *GetDiscussionInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetDiscussionInOrgReq) Rel(link string, resp *GetDiscussionInOrgResponse) bool + type GetDiscussionInOrgResponse struct + Data components.TeamDiscussion + func GetDiscussionInOrg(ctx context.Context, req *GetDiscussionInOrgReq, opt ...requests.Option) (*GetDiscussionInOrgResponse, error) + func (r *GetDiscussionInOrgResponse) HTTPResponse() *http.Response + func (r *GetDiscussionInOrgResponse) ReadResponse(resp *http.Response) error + type GetDiscussionLegacyReq struct + DiscussionNumber int64 + SquirrelGirlPreview bool + TeamId int64 + func (r *GetDiscussionLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetDiscussionLegacyReq) Rel(link string, resp *GetDiscussionLegacyResponse) bool + type GetDiscussionLegacyResponse struct + Data components.TeamDiscussion + func GetDiscussionLegacy(ctx context.Context, req *GetDiscussionLegacyReq, opt ...requests.Option) (*GetDiscussionLegacyResponse, error) + func (r *GetDiscussionLegacyResponse) HTTPResponse() *http.Response + func (r *GetDiscussionLegacyResponse) ReadResponse(resp *http.Response) error + type GetLegacyReq struct + TeamId int64 + func (r *GetLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetLegacyReq) Rel(link string, resp *GetLegacyResponse) bool + type GetLegacyResponse struct + Data components.TeamFull + func GetLegacy(ctx context.Context, req *GetLegacyReq, opt ...requests.Option) (*GetLegacyResponse, error) + func (r *GetLegacyResponse) HTTPResponse() *http.Response + func (r *GetLegacyResponse) ReadResponse(resp *http.Response) error + type GetMemberLegacyReq struct + TeamId int64 + Username string + func (r *GetMemberLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetMemberLegacyReq) Rel(link string, resp *GetMemberLegacyResponse) bool + type GetMemberLegacyResponse struct + Data bool + func GetMemberLegacy(ctx context.Context, req *GetMemberLegacyReq, opt ...requests.Option) (*GetMemberLegacyResponse, error) + func (r *GetMemberLegacyResponse) HTTPResponse() *http.Response + func (r *GetMemberLegacyResponse) ReadResponse(resp *http.Response) error + type GetMembershipForUserInOrgReq struct + Org string + TeamSlug string + Username string + func (r *GetMembershipForUserInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetMembershipForUserInOrgReq) Rel(link string, resp *GetMembershipForUserInOrgResponse) bool + type GetMembershipForUserInOrgResponse struct + Data components.TeamMembership + func GetMembershipForUserInOrg(ctx context.Context, req *GetMembershipForUserInOrgReq, opt ...requests.Option) (*GetMembershipForUserInOrgResponse, error) + func (r *GetMembershipForUserInOrgResponse) HTTPResponse() *http.Response + func (r *GetMembershipForUserInOrgResponse) ReadResponse(resp *http.Response) error + type GetMembershipForUserLegacyReq struct + TeamId int64 + Username string + func (r *GetMembershipForUserLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetMembershipForUserLegacyReq) Rel(link string, resp *GetMembershipForUserLegacyResponse) bool + type GetMembershipForUserLegacyResponse struct + Data components.TeamMembership + func GetMembershipForUserLegacy(ctx context.Context, req *GetMembershipForUserLegacyReq, ...) (*GetMembershipForUserLegacyResponse, error) + func (r *GetMembershipForUserLegacyResponse) HTTPResponse() *http.Response + func (r *GetMembershipForUserLegacyResponse) ReadResponse(resp *http.Response) error + type ListChildInOrgReq struct + Org string + Page *int64 + PerPage *int64 + TeamSlug string + func (r *ListChildInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListChildInOrgReq) Rel(link string, resp *ListChildInOrgResponse) bool + type ListChildInOrgResponse struct + Data []components.Team + func ListChildInOrg(ctx context.Context, req *ListChildInOrgReq, opt ...requests.Option) (*ListChildInOrgResponse, error) + func (r *ListChildInOrgResponse) HTTPResponse() *http.Response + func (r *ListChildInOrgResponse) ReadResponse(resp *http.Response) error + type ListChildLegacyReq struct + Page *int64 + PerPage *int64 + TeamId int64 + func (r *ListChildLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListChildLegacyReq) Rel(link string, resp *ListChildLegacyResponse) bool + type ListChildLegacyResponse struct + Data []components.Team + func ListChildLegacy(ctx context.Context, req *ListChildLegacyReq, opt ...requests.Option) (*ListChildLegacyResponse, error) + func (r *ListChildLegacyResponse) HTTPResponse() *http.Response + func (r *ListChildLegacyResponse) ReadResponse(resp *http.Response) error + type ListDiscussionCommentsInOrgReq struct + Direction *string + DiscussionNumber int64 + Org string + Page *int64 + PerPage *int64 + SquirrelGirlPreview bool + TeamSlug string + func (r *ListDiscussionCommentsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListDiscussionCommentsInOrgReq) Rel(link string, resp *ListDiscussionCommentsInOrgResponse) bool + type ListDiscussionCommentsInOrgResponse struct + Data []components.TeamDiscussionComment + func ListDiscussionCommentsInOrg(ctx context.Context, req *ListDiscussionCommentsInOrgReq, ...) (*ListDiscussionCommentsInOrgResponse, error) + func (r *ListDiscussionCommentsInOrgResponse) HTTPResponse() *http.Response + func (r *ListDiscussionCommentsInOrgResponse) ReadResponse(resp *http.Response) error + type ListDiscussionCommentsLegacyReq struct + Direction *string + DiscussionNumber int64 + Page *int64 + PerPage *int64 + SquirrelGirlPreview bool + TeamId int64 + func (r *ListDiscussionCommentsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListDiscussionCommentsLegacyReq) Rel(link string, resp *ListDiscussionCommentsLegacyResponse) bool + type ListDiscussionCommentsLegacyResponse struct + Data []components.TeamDiscussionComment + func ListDiscussionCommentsLegacy(ctx context.Context, req *ListDiscussionCommentsLegacyReq, ...) (*ListDiscussionCommentsLegacyResponse, error) + func (r *ListDiscussionCommentsLegacyResponse) HTTPResponse() *http.Response + func (r *ListDiscussionCommentsLegacyResponse) ReadResponse(resp *http.Response) error + type ListDiscussionsInOrgReq struct + Direction *string + Org string + Page *int64 + PerPage *int64 + SquirrelGirlPreview bool + TeamSlug string + func (r *ListDiscussionsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListDiscussionsInOrgReq) Rel(link string, resp *ListDiscussionsInOrgResponse) bool + type ListDiscussionsInOrgResponse struct + Data []components.TeamDiscussion + func ListDiscussionsInOrg(ctx context.Context, req *ListDiscussionsInOrgReq, opt ...requests.Option) (*ListDiscussionsInOrgResponse, error) + func (r *ListDiscussionsInOrgResponse) HTTPResponse() *http.Response + func (r *ListDiscussionsInOrgResponse) ReadResponse(resp *http.Response) error + type ListDiscussionsLegacyReq struct + Direction *string + Page *int64 + PerPage *int64 + SquirrelGirlPreview bool + TeamId int64 + func (r *ListDiscussionsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListDiscussionsLegacyReq) Rel(link string, resp *ListDiscussionsLegacyResponse) bool + type ListDiscussionsLegacyResponse struct + Data []components.TeamDiscussion + func ListDiscussionsLegacy(ctx context.Context, req *ListDiscussionsLegacyReq, opt ...requests.Option) (*ListDiscussionsLegacyResponse, error) + func (r *ListDiscussionsLegacyResponse) HTTPResponse() *http.Response + func (r *ListDiscussionsLegacyResponse) ReadResponse(resp *http.Response) error + type ListForAuthenticatedUserReq struct + Page *int64 + PerPage *int64 + func (r *ListForAuthenticatedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListForAuthenticatedUserReq) Rel(link string, resp *ListForAuthenticatedUserResponse) bool + type ListForAuthenticatedUserResponse struct + Data []components.TeamFull + func ListForAuthenticatedUser(ctx context.Context, req *ListForAuthenticatedUserReq, opt ...requests.Option) (*ListForAuthenticatedUserResponse, error) + func (r *ListForAuthenticatedUserResponse) HTTPResponse() *http.Response + func (r *ListForAuthenticatedUserResponse) ReadResponse(resp *http.Response) error + type ListIdpGroupsForLegacyReq struct + TeamId int64 + func (r *ListIdpGroupsForLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListIdpGroupsForLegacyReq) Rel(link string, resp *ListIdpGroupsForLegacyResponse) bool + type ListIdpGroupsForLegacyResponse struct + Data components.GroupMapping + func ListIdpGroupsForLegacy(ctx context.Context, req *ListIdpGroupsForLegacyReq, opt ...requests.Option) (*ListIdpGroupsForLegacyResponse, error) + func (r *ListIdpGroupsForLegacyResponse) HTTPResponse() *http.Response + func (r *ListIdpGroupsForLegacyResponse) ReadResponse(resp *http.Response) error + type ListIdpGroupsForOrgReq struct + Org string + Page *int64 + PerPage *int64 + func (r *ListIdpGroupsForOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListIdpGroupsForOrgReq) Rel(link string, resp *ListIdpGroupsForOrgResponse) bool + type ListIdpGroupsForOrgResponse struct + Data components.GroupMapping + func ListIdpGroupsForOrg(ctx context.Context, req *ListIdpGroupsForOrgReq, opt ...requests.Option) (*ListIdpGroupsForOrgResponse, error) + func (r *ListIdpGroupsForOrgResponse) HTTPResponse() *http.Response + func (r *ListIdpGroupsForOrgResponse) ReadResponse(resp *http.Response) error + type ListIdpGroupsInOrgReq struct + Org string + TeamSlug string + func (r *ListIdpGroupsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListIdpGroupsInOrgReq) Rel(link string, resp *ListIdpGroupsInOrgResponse) bool + type ListIdpGroupsInOrgResponse struct + Data components.GroupMapping + func ListIdpGroupsInOrg(ctx context.Context, req *ListIdpGroupsInOrgReq, opt ...requests.Option) (*ListIdpGroupsInOrgResponse, error) + func (r *ListIdpGroupsInOrgResponse) HTTPResponse() *http.Response + func (r *ListIdpGroupsInOrgResponse) ReadResponse(resp *http.Response) error + type ListMembersInOrgReq struct + Org string + Page *int64 + PerPage *int64 + Role *string + TeamSlug string + func (r *ListMembersInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListMembersInOrgReq) Rel(link string, resp *ListMembersInOrgResponse) bool + type ListMembersInOrgResponse struct + Data []components.SimpleUser + func ListMembersInOrg(ctx context.Context, req *ListMembersInOrgReq, opt ...requests.Option) (*ListMembersInOrgResponse, error) + func (r *ListMembersInOrgResponse) HTTPResponse() *http.Response + func (r *ListMembersInOrgResponse) ReadResponse(resp *http.Response) error + type ListMembersLegacyReq struct + Page *int64 + PerPage *int64 + Role *string + TeamId int64 + func (r *ListMembersLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListMembersLegacyReq) Rel(link string, resp *ListMembersLegacyResponse) bool + type ListMembersLegacyResponse struct + Data []components.SimpleUser + func ListMembersLegacy(ctx context.Context, req *ListMembersLegacyReq, opt ...requests.Option) (*ListMembersLegacyResponse, error) + func (r *ListMembersLegacyResponse) HTTPResponse() *http.Response + func (r *ListMembersLegacyResponse) ReadResponse(resp *http.Response) error + type ListPendingInvitationsInOrgReq struct + Org string + Page *int64 + PerPage *int64 + TeamSlug string + func (r *ListPendingInvitationsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListPendingInvitationsInOrgReq) Rel(link string, resp *ListPendingInvitationsInOrgResponse) bool + type ListPendingInvitationsInOrgResponse struct + Data []components.OrganizationInvitation + func ListPendingInvitationsInOrg(ctx context.Context, req *ListPendingInvitationsInOrgReq, ...) (*ListPendingInvitationsInOrgResponse, error) + func (r *ListPendingInvitationsInOrgResponse) HTTPResponse() *http.Response + func (r *ListPendingInvitationsInOrgResponse) ReadResponse(resp *http.Response) error + type ListPendingInvitationsLegacyReq struct + Page *int64 + PerPage *int64 + TeamId int64 + func (r *ListPendingInvitationsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListPendingInvitationsLegacyReq) Rel(link string, resp *ListPendingInvitationsLegacyResponse) bool + type ListPendingInvitationsLegacyResponse struct + Data []components.OrganizationInvitation + func ListPendingInvitationsLegacy(ctx context.Context, req *ListPendingInvitationsLegacyReq, ...) (*ListPendingInvitationsLegacyResponse, error) + func (r *ListPendingInvitationsLegacyResponse) HTTPResponse() *http.Response + func (r *ListPendingInvitationsLegacyResponse) ReadResponse(resp *http.Response) error + type ListProjectsInOrgReq struct + InertiaPreview bool + Org string + Page *int64 + PerPage *int64 + TeamSlug string + func (r *ListProjectsInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListProjectsInOrgReq) Rel(link string, resp *ListProjectsInOrgResponse) bool + type ListProjectsInOrgResponse struct + Data []components.TeamProject + func ListProjectsInOrg(ctx context.Context, req *ListProjectsInOrgReq, opt ...requests.Option) (*ListProjectsInOrgResponse, error) + func (r *ListProjectsInOrgResponse) HTTPResponse() *http.Response + func (r *ListProjectsInOrgResponse) ReadResponse(resp *http.Response) error + type ListProjectsLegacyReq struct + InertiaPreview bool + Page *int64 + PerPage *int64 + TeamId int64 + func (r *ListProjectsLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListProjectsLegacyReq) Rel(link string, resp *ListProjectsLegacyResponse) bool + type ListProjectsLegacyResponse struct + Data []components.TeamProject + func ListProjectsLegacy(ctx context.Context, req *ListProjectsLegacyReq, opt ...requests.Option) (*ListProjectsLegacyResponse, error) + func (r *ListProjectsLegacyResponse) HTTPResponse() *http.Response + func (r *ListProjectsLegacyResponse) ReadResponse(resp *http.Response) error + type ListReposInOrgReq struct + Org string + Page *int64 + PerPage *int64 + TeamSlug string + func (r *ListReposInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListReposInOrgReq) Rel(link string, resp *ListReposInOrgResponse) bool + type ListReposInOrgResponse struct + Data []components.MinimalRepository + func ListReposInOrg(ctx context.Context, req *ListReposInOrgReq, opt ...requests.Option) (*ListReposInOrgResponse, error) + func (r *ListReposInOrgResponse) HTTPResponse() *http.Response + func (r *ListReposInOrgResponse) ReadResponse(resp *http.Response) error + type ListReposLegacyReq struct + Page *int64 + PerPage *int64 + TeamId int64 + func (r *ListReposLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListReposLegacyReq) Rel(link string, resp *ListReposLegacyResponse) bool + type ListReposLegacyResponse struct + Data []components.MinimalRepository + func ListReposLegacy(ctx context.Context, req *ListReposLegacyReq, opt ...requests.Option) (*ListReposLegacyResponse, error) + func (r *ListReposLegacyResponse) HTTPResponse() *http.Response + func (r *ListReposLegacyResponse) ReadResponse(resp *http.Response) error + type ListReq struct + Org string + Page *int64 + PerPage *int64 + func (r *ListReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListReq) Rel(link string, resp *ListResponse) bool + type ListResponse struct + Data []components.Team + func List(ctx context.Context, req *ListReq, opt ...requests.Option) (*ListResponse, error) + func (r *ListResponse) HTTPResponse() *http.Response + func (r *ListResponse) ReadResponse(resp *http.Response) error + type RemoveMemberLegacyReq struct + TeamId int64 + Username string + func (r *RemoveMemberLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveMemberLegacyReq) Rel(link string, resp *RemoveMemberLegacyResponse) bool + type RemoveMemberLegacyResponse struct + Data bool + func RemoveMemberLegacy(ctx context.Context, req *RemoveMemberLegacyReq, opt ...requests.Option) (*RemoveMemberLegacyResponse, error) + func (r *RemoveMemberLegacyResponse) HTTPResponse() *http.Response + func (r *RemoveMemberLegacyResponse) ReadResponse(resp *http.Response) error + type RemoveMembershipForUserInOrgReq struct + Org string + TeamSlug string + Username string + func (r *RemoveMembershipForUserInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveMembershipForUserInOrgReq) Rel(link string, resp *RemoveMembershipForUserInOrgResponse) bool + type RemoveMembershipForUserInOrgResponse struct + func RemoveMembershipForUserInOrg(ctx context.Context, req *RemoveMembershipForUserInOrgReq, ...) (*RemoveMembershipForUserInOrgResponse, error) + func (r *RemoveMembershipForUserInOrgResponse) HTTPResponse() *http.Response + func (r *RemoveMembershipForUserInOrgResponse) ReadResponse(resp *http.Response) error + type RemoveMembershipForUserLegacyReq struct + TeamId int64 + Username string + func (r *RemoveMembershipForUserLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveMembershipForUserLegacyReq) Rel(link string, resp *RemoveMembershipForUserLegacyResponse) bool + type RemoveMembershipForUserLegacyResponse struct + func RemoveMembershipForUserLegacy(ctx context.Context, req *RemoveMembershipForUserLegacyReq, ...) (*RemoveMembershipForUserLegacyResponse, error) + func (r *RemoveMembershipForUserLegacyResponse) HTTPResponse() *http.Response + func (r *RemoveMembershipForUserLegacyResponse) ReadResponse(resp *http.Response) error + type RemoveProjectInOrgReq struct + Org string + ProjectId int64 + TeamSlug string + func (r *RemoveProjectInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveProjectInOrgReq) Rel(link string, resp *RemoveProjectInOrgResponse) bool + type RemoveProjectInOrgResponse struct + func RemoveProjectInOrg(ctx context.Context, req *RemoveProjectInOrgReq, opt ...requests.Option) (*RemoveProjectInOrgResponse, error) + func (r *RemoveProjectInOrgResponse) HTTPResponse() *http.Response + func (r *RemoveProjectInOrgResponse) ReadResponse(resp *http.Response) error + type RemoveProjectLegacyReq struct + ProjectId int64 + TeamId int64 + func (r *RemoveProjectLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveProjectLegacyReq) Rel(link string, resp *RemoveProjectLegacyResponse) bool + type RemoveProjectLegacyResponse struct + func RemoveProjectLegacy(ctx context.Context, req *RemoveProjectLegacyReq, opt ...requests.Option) (*RemoveProjectLegacyResponse, error) + func (r *RemoveProjectLegacyResponse) HTTPResponse() *http.Response + func (r *RemoveProjectLegacyResponse) ReadResponse(resp *http.Response) error + type RemoveRepoInOrgReq struct + Org string + Owner string + Repo string + TeamSlug string + func (r *RemoveRepoInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveRepoInOrgReq) Rel(link string, resp *RemoveRepoInOrgResponse) bool + type RemoveRepoInOrgResponse struct + func RemoveRepoInOrg(ctx context.Context, req *RemoveRepoInOrgReq, opt ...requests.Option) (*RemoveRepoInOrgResponse, error) + func (r *RemoveRepoInOrgResponse) HTTPResponse() *http.Response + func (r *RemoveRepoInOrgResponse) ReadResponse(resp *http.Response) error + type RemoveRepoLegacyReq struct + Owner string + Repo string + TeamId int64 + func (r *RemoveRepoLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveRepoLegacyReq) Rel(link string, resp *RemoveRepoLegacyResponse) bool + type RemoveRepoLegacyResponse struct + func RemoveRepoLegacy(ctx context.Context, req *RemoveRepoLegacyReq, opt ...requests.Option) (*RemoveRepoLegacyResponse, error) + func (r *RemoveRepoLegacyResponse) HTTPResponse() *http.Response + func (r *RemoveRepoLegacyResponse) ReadResponse(resp *http.Response) error + type UpdateDiscussionCommentInOrgReq struct + CommentNumber int64 + DiscussionNumber int64 + Org string + RequestBody UpdateDiscussionCommentInOrgReqBody + SquirrelGirlPreview bool + TeamSlug string + func (r *UpdateDiscussionCommentInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateDiscussionCommentInOrgReq) Rel(link string, resp *UpdateDiscussionCommentInOrgResponse) bool + type UpdateDiscussionCommentInOrgReqBody struct + Body *string + type UpdateDiscussionCommentInOrgResponse struct + Data components.TeamDiscussionComment + func UpdateDiscussionCommentInOrg(ctx context.Context, req *UpdateDiscussionCommentInOrgReq, ...) (*UpdateDiscussionCommentInOrgResponse, error) + func (r *UpdateDiscussionCommentInOrgResponse) HTTPResponse() *http.Response + func (r *UpdateDiscussionCommentInOrgResponse) ReadResponse(resp *http.Response) error + type UpdateDiscussionCommentLegacyReq struct + CommentNumber int64 + DiscussionNumber int64 + RequestBody UpdateDiscussionCommentLegacyReqBody + SquirrelGirlPreview bool + TeamId int64 + func (r *UpdateDiscussionCommentLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateDiscussionCommentLegacyReq) Rel(link string, resp *UpdateDiscussionCommentLegacyResponse) bool + type UpdateDiscussionCommentLegacyReqBody struct + Body *string + type UpdateDiscussionCommentLegacyResponse struct + Data components.TeamDiscussionComment + func UpdateDiscussionCommentLegacy(ctx context.Context, req *UpdateDiscussionCommentLegacyReq, ...) (*UpdateDiscussionCommentLegacyResponse, error) + func (r *UpdateDiscussionCommentLegacyResponse) HTTPResponse() *http.Response + func (r *UpdateDiscussionCommentLegacyResponse) ReadResponse(resp *http.Response) error + type UpdateDiscussionInOrgReq struct + DiscussionNumber int64 + Org string + RequestBody UpdateDiscussionInOrgReqBody + SquirrelGirlPreview bool + TeamSlug string + func (r *UpdateDiscussionInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateDiscussionInOrgReq) Rel(link string, resp *UpdateDiscussionInOrgResponse) bool + type UpdateDiscussionInOrgReqBody struct + Body *string + Title *string + type UpdateDiscussionInOrgResponse struct + Data components.TeamDiscussion + func UpdateDiscussionInOrg(ctx context.Context, req *UpdateDiscussionInOrgReq, opt ...requests.Option) (*UpdateDiscussionInOrgResponse, error) + func (r *UpdateDiscussionInOrgResponse) HTTPResponse() *http.Response + func (r *UpdateDiscussionInOrgResponse) ReadResponse(resp *http.Response) error + type UpdateDiscussionLegacyReq struct + DiscussionNumber int64 + RequestBody UpdateDiscussionLegacyReqBody + SquirrelGirlPreview bool + TeamId int64 + func (r *UpdateDiscussionLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateDiscussionLegacyReq) Rel(link string, resp *UpdateDiscussionLegacyResponse) bool + type UpdateDiscussionLegacyReqBody struct + Body *string + Title *string + type UpdateDiscussionLegacyResponse struct + Data components.TeamDiscussion + func UpdateDiscussionLegacy(ctx context.Context, req *UpdateDiscussionLegacyReq, opt ...requests.Option) (*UpdateDiscussionLegacyResponse, error) + func (r *UpdateDiscussionLegacyResponse) HTTPResponse() *http.Response + func (r *UpdateDiscussionLegacyResponse) ReadResponse(resp *http.Response) error + type UpdateInOrgReq struct + Org string + RequestBody UpdateInOrgReqBody + TeamSlug string + func (r *UpdateInOrgReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateInOrgReq) Rel(link string, resp *UpdateInOrgResponse) bool + type UpdateInOrgReqBody struct + Description *string + Name *string + ParentTeamId *int64 + Permission *string + Privacy *string + type UpdateInOrgResponse struct + Data components.TeamFull + func UpdateInOrg(ctx context.Context, req *UpdateInOrgReq, opt ...requests.Option) (*UpdateInOrgResponse, error) + func (r *UpdateInOrgResponse) HTTPResponse() *http.Response + func (r *UpdateInOrgResponse) ReadResponse(resp *http.Response) error + type UpdateLegacyReq struct + RequestBody UpdateLegacyReqBody + TeamId int64 + func (r *UpdateLegacyReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateLegacyReq) Rel(link string, resp *UpdateLegacyResponse) bool + type UpdateLegacyReqBody struct + Description *string + Name *string + ParentTeamId *int64 + Permission *string + Privacy *string + type UpdateLegacyResponse struct + Data components.TeamFull + func UpdateLegacy(ctx context.Context, req *UpdateLegacyReq, opt ...requests.Option) (*UpdateLegacyResponse, error) + func (r *UpdateLegacyResponse) HTTPResponse() *http.Response + func (r *UpdateLegacyResponse) ReadResponse(resp *http.Response) error