Versions in this module Expand all Collapse all v0 v0.8.0 Aug 13, 2020 Changes in this version + type BlockUserReq struct + Org string + Username string + func (r *BlockUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *BlockUserReq) Rel(link string, resp *BlockUserResponse) bool + type BlockUserResponse struct + func BlockUser(ctx context.Context, req *BlockUserReq, opt ...requests.Option) (*BlockUserResponse, error) + func (r *BlockUserResponse) HTTPResponse() *http.Response + func (r *BlockUserResponse) ReadResponse(resp *http.Response) error + type CheckBlockedUserReq struct + Org string + Username string + func (r *CheckBlockedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckBlockedUserReq) Rel(link string, resp *CheckBlockedUserResponse) bool + type CheckBlockedUserResponse struct + Data bool + func CheckBlockedUser(ctx context.Context, req *CheckBlockedUserReq, opt ...requests.Option) (*CheckBlockedUserResponse, error) + func (r *CheckBlockedUserResponse) HTTPResponse() *http.Response + func (r *CheckBlockedUserResponse) ReadResponse(resp *http.Response) error + type CheckMembershipForUserReq struct + Org string + Username string + func (r *CheckMembershipForUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckMembershipForUserReq) Rel(link string, resp *CheckMembershipForUserResponse) bool + type CheckMembershipForUserResponse struct + func CheckMembershipForUser(ctx context.Context, req *CheckMembershipForUserReq, opt ...requests.Option) (*CheckMembershipForUserResponse, error) + func (r *CheckMembershipForUserResponse) HTTPResponse() *http.Response + func (r *CheckMembershipForUserResponse) ReadResponse(resp *http.Response) error + type CheckPublicMembershipForUserReq struct + Org string + Username string + func (r *CheckPublicMembershipForUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CheckPublicMembershipForUserReq) Rel(link string, resp *CheckPublicMembershipForUserResponse) bool + type CheckPublicMembershipForUserResponse struct + Data bool + func CheckPublicMembershipForUser(ctx context.Context, req *CheckPublicMembershipForUserReq, ...) (*CheckPublicMembershipForUserResponse, error) + func (r *CheckPublicMembershipForUserResponse) HTTPResponse() *http.Response + func (r *CheckPublicMembershipForUserResponse) ReadResponse(resp *http.Response) error + type Client []requests.Option + func NewClient(opt ...requests.Option) Client + func (c Client) BlockUser(ctx context.Context, req *BlockUserReq, opt ...requests.Option) (*BlockUserResponse, error) + func (c Client) CheckBlockedUser(ctx context.Context, req *CheckBlockedUserReq, opt ...requests.Option) (*CheckBlockedUserResponse, error) + func (c Client) CheckMembershipForUser(ctx context.Context, req *CheckMembershipForUserReq, opt ...requests.Option) (*CheckMembershipForUserResponse, error) + func (c Client) CheckPublicMembershipForUser(ctx context.Context, req *CheckPublicMembershipForUserReq, ...) (*CheckPublicMembershipForUserResponse, error) + func (c Client) ConvertMemberToOutsideCollaborator(ctx context.Context, req *ConvertMemberToOutsideCollaboratorReq, ...) (*ConvertMemberToOutsideCollaboratorResponse, error) + func (c Client) CreateInvitation(ctx context.Context, req *CreateInvitationReq, opt ...requests.Option) (*CreateInvitationResponse, error) + func (c Client) CreateWebhook(ctx context.Context, req *CreateWebhookReq, opt ...requests.Option) (*CreateWebhookResponse, error) + func (c Client) DeleteWebhook(ctx context.Context, req *DeleteWebhookReq, opt ...requests.Option) (*DeleteWebhookResponse, error) + func (c Client) Get(ctx context.Context, req *GetReq, opt ...requests.Option) (*GetResponse, error) + func (c Client) GetMembershipForAuthenticatedUser(ctx context.Context, req *GetMembershipForAuthenticatedUserReq, ...) (*GetMembershipForAuthenticatedUserResponse, error) + func (c Client) GetMembershipForUser(ctx context.Context, req *GetMembershipForUserReq, opt ...requests.Option) (*GetMembershipForUserResponse, error) + func (c Client) GetWebhook(ctx context.Context, req *GetWebhookReq, opt ...requests.Option) (*GetWebhookResponse, error) + func (c Client) List(ctx context.Context, req *ListReq, opt ...requests.Option) (*ListResponse, error) + func (c Client) ListAppInstallations(ctx context.Context, req *ListAppInstallationsReq, opt ...requests.Option) (*ListAppInstallationsResponse, error) + func (c Client) ListBlockedUsers(ctx context.Context, req *ListBlockedUsersReq, opt ...requests.Option) (*ListBlockedUsersResponse, error) + func (c Client) ListForAuthenticatedUser(ctx context.Context, req *ListForAuthenticatedUserReq, opt ...requests.Option) (*ListForAuthenticatedUserResponse, error) + func (c Client) ListForUser(ctx context.Context, req *ListForUserReq, opt ...requests.Option) (*ListForUserResponse, error) + func (c Client) ListInvitationTeams(ctx context.Context, req *ListInvitationTeamsReq, opt ...requests.Option) (*ListInvitationTeamsResponse, error) + func (c Client) ListMembers(ctx context.Context, req *ListMembersReq, opt ...requests.Option) (*ListMembersResponse, error) + func (c Client) ListMembershipsForAuthenticatedUser(ctx context.Context, req *ListMembershipsForAuthenticatedUserReq, ...) (*ListMembershipsForAuthenticatedUserResponse, error) + func (c Client) ListOutsideCollaborators(ctx context.Context, req *ListOutsideCollaboratorsReq, opt ...requests.Option) (*ListOutsideCollaboratorsResponse, error) + func (c Client) ListPendingInvitations(ctx context.Context, req *ListPendingInvitationsReq, opt ...requests.Option) (*ListPendingInvitationsResponse, error) + func (c Client) ListPublicMembers(ctx context.Context, req *ListPublicMembersReq, opt ...requests.Option) (*ListPublicMembersResponse, error) + func (c Client) ListSamlSsoAuthorizations(ctx context.Context, req *ListSamlSsoAuthorizationsReq, opt ...requests.Option) (*ListSamlSsoAuthorizationsResponse, error) + func (c Client) ListWebhooks(ctx context.Context, req *ListWebhooksReq, opt ...requests.Option) (*ListWebhooksResponse, error) + func (c Client) PingWebhook(ctx context.Context, req *PingWebhookReq, opt ...requests.Option) (*PingWebhookResponse, error) + func (c Client) RemoveMember(ctx context.Context, req *RemoveMemberReq, opt ...requests.Option) (*RemoveMemberResponse, error) + func (c Client) RemoveMembershipForUser(ctx context.Context, req *RemoveMembershipForUserReq, opt ...requests.Option) (*RemoveMembershipForUserResponse, error) + func (c Client) RemoveOutsideCollaborator(ctx context.Context, req *RemoveOutsideCollaboratorReq, opt ...requests.Option) (*RemoveOutsideCollaboratorResponse, error) + func (c Client) RemovePublicMembershipForAuthenticatedUser(ctx context.Context, req *RemovePublicMembershipForAuthenticatedUserReq, ...) (*RemovePublicMembershipForAuthenticatedUserResponse, error) + func (c Client) RemoveSamlSsoAuthorization(ctx context.Context, req *RemoveSamlSsoAuthorizationReq, ...) (*RemoveSamlSsoAuthorizationResponse, error) + func (c Client) SetMembershipForUser(ctx context.Context, req *SetMembershipForUserReq, opt ...requests.Option) (*SetMembershipForUserResponse, error) + func (c Client) SetPublicMembershipForAuthenticatedUser(ctx context.Context, req *SetPublicMembershipForAuthenticatedUserReq, ...) (*SetPublicMembershipForAuthenticatedUserResponse, error) + func (c Client) UnblockUser(ctx context.Context, req *UnblockUserReq, opt ...requests.Option) (*UnblockUserResponse, error) + func (c Client) Update(ctx context.Context, req *UpdateReq, opt ...requests.Option) (*UpdateResponse, error) + func (c Client) UpdateMembershipForAuthenticatedUser(ctx context.Context, req *UpdateMembershipForAuthenticatedUserReq, ...) (*UpdateMembershipForAuthenticatedUserResponse, error) + func (c Client) UpdateWebhook(ctx context.Context, req *UpdateWebhookReq, opt ...requests.Option) (*UpdateWebhookResponse, error) + type ConvertMemberToOutsideCollaboratorReq struct + Org string + Username string + func (r *ConvertMemberToOutsideCollaboratorReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ConvertMemberToOutsideCollaboratorReq) Rel(link string, resp *ConvertMemberToOutsideCollaboratorResponse) bool + type ConvertMemberToOutsideCollaboratorResponse struct + func ConvertMemberToOutsideCollaborator(ctx context.Context, req *ConvertMemberToOutsideCollaboratorReq, ...) (*ConvertMemberToOutsideCollaboratorResponse, error) + func (r *ConvertMemberToOutsideCollaboratorResponse) HTTPResponse() *http.Response + func (r *ConvertMemberToOutsideCollaboratorResponse) ReadResponse(resp *http.Response) error + type CreateInvitationReq struct + Org string + RequestBody CreateInvitationReqBody + func (r *CreateInvitationReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateInvitationReq) Rel(link string, resp *CreateInvitationResponse) bool + type CreateInvitationReqBody struct + Email *string + InviteeId *int64 + Role *string + TeamIds []int64 + type CreateInvitationResponse struct + Data components.OrganizationInvitation + func CreateInvitation(ctx context.Context, req *CreateInvitationReq, opt ...requests.Option) (*CreateInvitationResponse, error) + func (r *CreateInvitationResponse) HTTPResponse() *http.Response + func (r *CreateInvitationResponse) ReadResponse(resp *http.Response) error + type CreateWebhookReq struct + Org string + RequestBody CreateWebhookReqBody + func (r *CreateWebhookReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *CreateWebhookReq) Rel(link string, resp *CreateWebhookResponse) bool + type CreateWebhookReqBody struct + Active *bool + Config *CreateWebhookReqBodyConfig + Events []string + Name *string + type CreateWebhookReqBodyConfig struct + ContentType *string + InsecureSsl *string + Password *string + Secret *string + Url *string + Username *string + type CreateWebhookResponse struct + Data components.OrgHook + func CreateWebhook(ctx context.Context, req *CreateWebhookReq, opt ...requests.Option) (*CreateWebhookResponse, error) + func (r *CreateWebhookResponse) HTTPResponse() *http.Response + func (r *CreateWebhookResponse) ReadResponse(resp *http.Response) error + type DeleteWebhookReq struct + HookId int64 + Org string + func (r *DeleteWebhookReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *DeleteWebhookReq) Rel(link string, resp *DeleteWebhookResponse) bool + type DeleteWebhookResponse struct + Data bool + func DeleteWebhook(ctx context.Context, req *DeleteWebhookReq, opt ...requests.Option) (*DeleteWebhookResponse, error) + func (r *DeleteWebhookResponse) HTTPResponse() *http.Response + func (r *DeleteWebhookResponse) ReadResponse(resp *http.Response) error + type GetMembershipForAuthenticatedUserReq struct + Org string + func (r *GetMembershipForAuthenticatedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetMembershipForAuthenticatedUserReq) Rel(link string, resp *GetMembershipForAuthenticatedUserResponse) bool + type GetMembershipForAuthenticatedUserResponse struct + Data components.OrgMembership + func GetMembershipForAuthenticatedUser(ctx context.Context, req *GetMembershipForAuthenticatedUserReq, ...) (*GetMembershipForAuthenticatedUserResponse, error) + func (r *GetMembershipForAuthenticatedUserResponse) HTTPResponse() *http.Response + func (r *GetMembershipForAuthenticatedUserResponse) ReadResponse(resp *http.Response) error + type GetMembershipForUserReq struct + Org string + Username string + func (r *GetMembershipForUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetMembershipForUserReq) Rel(link string, resp *GetMembershipForUserResponse) bool + type GetMembershipForUserResponse struct + Data components.OrgMembership + func GetMembershipForUser(ctx context.Context, req *GetMembershipForUserReq, opt ...requests.Option) (*GetMembershipForUserResponse, error) + func (r *GetMembershipForUserResponse) HTTPResponse() *http.Response + func (r *GetMembershipForUserResponse) ReadResponse(resp *http.Response) error + type GetReq struct + Org string + SurturPreview bool + func (r *GetReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetReq) Rel(link string, resp *GetResponse) bool + type GetResponse struct + Data components.OrganizationFull + func Get(ctx context.Context, req *GetReq, opt ...requests.Option) (*GetResponse, error) + func (r *GetResponse) HTTPResponse() *http.Response + func (r *GetResponse) ReadResponse(resp *http.Response) error + type GetWebhookReq struct + HookId int64 + Org string + func (r *GetWebhookReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *GetWebhookReq) Rel(link string, resp *GetWebhookResponse) bool + type GetWebhookResponse struct + Data components.OrgHook + func GetWebhook(ctx context.Context, req *GetWebhookReq, opt ...requests.Option) (*GetWebhookResponse, error) + func (r *GetWebhookResponse) HTTPResponse() *http.Response + func (r *GetWebhookResponse) ReadResponse(resp *http.Response) error + type ListAppInstallationsReq struct + MachineManPreview bool + Org string + Page *int64 + PerPage *int64 + func (r *ListAppInstallationsReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListAppInstallationsReq) Rel(link string, resp *ListAppInstallationsResponse) bool + type ListAppInstallationsResponse struct + Data ListAppInstallationsResponseBody + func ListAppInstallations(ctx context.Context, req *ListAppInstallationsReq, opt ...requests.Option) (*ListAppInstallationsResponse, error) + func (r *ListAppInstallationsResponse) HTTPResponse() *http.Response + func (r *ListAppInstallationsResponse) ReadResponse(resp *http.Response) error + type ListAppInstallationsResponseBody struct + Installations []components.Installation + TotalCount int64 + type ListBlockedUsersReq struct + Org string + func (r *ListBlockedUsersReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListBlockedUsersReq) Rel(link string, resp *ListBlockedUsersResponse) bool + type ListBlockedUsersResponse struct + Data []components.SimpleUser + func ListBlockedUsers(ctx context.Context, req *ListBlockedUsersReq, opt ...requests.Option) (*ListBlockedUsersResponse, error) + func (r *ListBlockedUsersResponse) HTTPResponse() *http.Response + func (r *ListBlockedUsersResponse) 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.OrganizationSimple + 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 ListForUserReq struct + Page *int64 + PerPage *int64 + Username string + func (r *ListForUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListForUserReq) Rel(link string, resp *ListForUserResponse) bool + type ListForUserResponse struct + Data []components.OrganizationSimple + func ListForUser(ctx context.Context, req *ListForUserReq, opt ...requests.Option) (*ListForUserResponse, error) + func (r *ListForUserResponse) HTTPResponse() *http.Response + func (r *ListForUserResponse) ReadResponse(resp *http.Response) error + type ListInvitationTeamsReq struct + InvitationId int64 + Org string + Page *int64 + PerPage *int64 + func (r *ListInvitationTeamsReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListInvitationTeamsReq) Rel(link string, resp *ListInvitationTeamsResponse) bool + type ListInvitationTeamsResponse struct + Data []components.Team + func ListInvitationTeams(ctx context.Context, req *ListInvitationTeamsReq, opt ...requests.Option) (*ListInvitationTeamsResponse, error) + func (r *ListInvitationTeamsResponse) HTTPResponse() *http.Response + func (r *ListInvitationTeamsResponse) ReadResponse(resp *http.Response) error + type ListMembersReq struct + Filter *string + Org string + Page *int64 + PerPage *int64 + Role *string + func (r *ListMembersReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListMembersReq) Rel(link string, resp *ListMembersResponse) bool + type ListMembersResponse struct + Data []components.SimpleUser + func ListMembers(ctx context.Context, req *ListMembersReq, opt ...requests.Option) (*ListMembersResponse, error) + func (r *ListMembersResponse) HTTPResponse() *http.Response + func (r *ListMembersResponse) ReadResponse(resp *http.Response) error + type ListMembershipsForAuthenticatedUserReq struct + Page *int64 + PerPage *int64 + State *string + func (r *ListMembershipsForAuthenticatedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListMembershipsForAuthenticatedUserReq) Rel(link string, resp *ListMembershipsForAuthenticatedUserResponse) bool + type ListMembershipsForAuthenticatedUserResponse struct + Data []components.OrgMembership + func ListMembershipsForAuthenticatedUser(ctx context.Context, req *ListMembershipsForAuthenticatedUserReq, ...) (*ListMembershipsForAuthenticatedUserResponse, error) + func (r *ListMembershipsForAuthenticatedUserResponse) HTTPResponse() *http.Response + func (r *ListMembershipsForAuthenticatedUserResponse) ReadResponse(resp *http.Response) error + type ListOutsideCollaboratorsReq struct + Filter *string + Org string + Page *int64 + PerPage *int64 + func (r *ListOutsideCollaboratorsReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListOutsideCollaboratorsReq) Rel(link string, resp *ListOutsideCollaboratorsResponse) bool + type ListOutsideCollaboratorsResponse struct + Data []components.SimpleUser + func ListOutsideCollaborators(ctx context.Context, req *ListOutsideCollaboratorsReq, opt ...requests.Option) (*ListOutsideCollaboratorsResponse, error) + func (r *ListOutsideCollaboratorsResponse) HTTPResponse() *http.Response + func (r *ListOutsideCollaboratorsResponse) ReadResponse(resp *http.Response) error + type ListPendingInvitationsReq struct + Org string + Page *int64 + PerPage *int64 + func (r *ListPendingInvitationsReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListPendingInvitationsReq) Rel(link string, resp *ListPendingInvitationsResponse) bool + type ListPendingInvitationsResponse struct + Data []components.OrganizationInvitation + func ListPendingInvitations(ctx context.Context, req *ListPendingInvitationsReq, opt ...requests.Option) (*ListPendingInvitationsResponse, error) + func (r *ListPendingInvitationsResponse) HTTPResponse() *http.Response + func (r *ListPendingInvitationsResponse) ReadResponse(resp *http.Response) error + type ListPublicMembersReq struct + Org string + Page *int64 + PerPage *int64 + func (r *ListPublicMembersReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListPublicMembersReq) Rel(link string, resp *ListPublicMembersResponse) bool + type ListPublicMembersResponse struct + Data []components.SimpleUser + func ListPublicMembers(ctx context.Context, req *ListPublicMembersReq, opt ...requests.Option) (*ListPublicMembersResponse, error) + func (r *ListPublicMembersResponse) HTTPResponse() *http.Response + func (r *ListPublicMembersResponse) ReadResponse(resp *http.Response) error + type ListReq struct + PerPage *int64 + Since *string + 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.OrganizationSimple + 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 ListSamlSsoAuthorizationsReq struct + Org string + func (r *ListSamlSsoAuthorizationsReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListSamlSsoAuthorizationsReq) Rel(link string, resp *ListSamlSsoAuthorizationsResponse) bool + type ListSamlSsoAuthorizationsResponse struct + Data []components.CredentialAuthorization + func ListSamlSsoAuthorizations(ctx context.Context, req *ListSamlSsoAuthorizationsReq, opt ...requests.Option) (*ListSamlSsoAuthorizationsResponse, error) + func (r *ListSamlSsoAuthorizationsResponse) HTTPResponse() *http.Response + func (r *ListSamlSsoAuthorizationsResponse) ReadResponse(resp *http.Response) error + type ListWebhooksReq struct + Org string + Page *int64 + PerPage *int64 + func (r *ListWebhooksReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *ListWebhooksReq) Rel(link string, resp *ListWebhooksResponse) bool + type ListWebhooksResponse struct + Data []components.OrgHook + func ListWebhooks(ctx context.Context, req *ListWebhooksReq, opt ...requests.Option) (*ListWebhooksResponse, error) + func (r *ListWebhooksResponse) HTTPResponse() *http.Response + func (r *ListWebhooksResponse) ReadResponse(resp *http.Response) error + type PingWebhookReq struct + HookId int64 + Org string + func (r *PingWebhookReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *PingWebhookReq) Rel(link string, resp *PingWebhookResponse) bool + type PingWebhookResponse struct + Data bool + func PingWebhook(ctx context.Context, req *PingWebhookReq, opt ...requests.Option) (*PingWebhookResponse, error) + func (r *PingWebhookResponse) HTTPResponse() *http.Response + func (r *PingWebhookResponse) ReadResponse(resp *http.Response) error + type RemoveMemberReq struct + Org string + Username string + func (r *RemoveMemberReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveMemberReq) Rel(link string, resp *RemoveMemberResponse) bool + type RemoveMemberResponse struct + func RemoveMember(ctx context.Context, req *RemoveMemberReq, opt ...requests.Option) (*RemoveMemberResponse, error) + func (r *RemoveMemberResponse) HTTPResponse() *http.Response + func (r *RemoveMemberResponse) ReadResponse(resp *http.Response) error + type RemoveMembershipForUserReq struct + Org string + Username string + func (r *RemoveMembershipForUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveMembershipForUserReq) Rel(link string, resp *RemoveMembershipForUserResponse) bool + type RemoveMembershipForUserResponse struct + func RemoveMembershipForUser(ctx context.Context, req *RemoveMembershipForUserReq, opt ...requests.Option) (*RemoveMembershipForUserResponse, error) + func (r *RemoveMembershipForUserResponse) HTTPResponse() *http.Response + func (r *RemoveMembershipForUserResponse) ReadResponse(resp *http.Response) error + type RemoveOutsideCollaboratorReq struct + Org string + Username string + func (r *RemoveOutsideCollaboratorReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveOutsideCollaboratorReq) Rel(link string, resp *RemoveOutsideCollaboratorResponse) bool + type RemoveOutsideCollaboratorResponse struct + func RemoveOutsideCollaborator(ctx context.Context, req *RemoveOutsideCollaboratorReq, opt ...requests.Option) (*RemoveOutsideCollaboratorResponse, error) + func (r *RemoveOutsideCollaboratorResponse) HTTPResponse() *http.Response + func (r *RemoveOutsideCollaboratorResponse) ReadResponse(resp *http.Response) error + type RemovePublicMembershipForAuthenticatedUserReq struct + Org string + Username string + func (r *RemovePublicMembershipForAuthenticatedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemovePublicMembershipForAuthenticatedUserReq) Rel(link string, resp *RemovePublicMembershipForAuthenticatedUserResponse) bool + type RemovePublicMembershipForAuthenticatedUserResponse struct + func RemovePublicMembershipForAuthenticatedUser(ctx context.Context, req *RemovePublicMembershipForAuthenticatedUserReq, ...) (*RemovePublicMembershipForAuthenticatedUserResponse, error) + func (r *RemovePublicMembershipForAuthenticatedUserResponse) HTTPResponse() *http.Response + func (r *RemovePublicMembershipForAuthenticatedUserResponse) ReadResponse(resp *http.Response) error + type RemoveSamlSsoAuthorizationReq struct + CredentialId int64 + Org string + func (r *RemoveSamlSsoAuthorizationReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *RemoveSamlSsoAuthorizationReq) Rel(link string, resp *RemoveSamlSsoAuthorizationResponse) bool + type RemoveSamlSsoAuthorizationResponse struct + Data bool + func RemoveSamlSsoAuthorization(ctx context.Context, req *RemoveSamlSsoAuthorizationReq, ...) (*RemoveSamlSsoAuthorizationResponse, error) + func (r *RemoveSamlSsoAuthorizationResponse) HTTPResponse() *http.Response + func (r *RemoveSamlSsoAuthorizationResponse) ReadResponse(resp *http.Response) error + type SetMembershipForUserReq struct + Org string + RequestBody SetMembershipForUserReqBody + Username string + func (r *SetMembershipForUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *SetMembershipForUserReq) Rel(link string, resp *SetMembershipForUserResponse) bool + type SetMembershipForUserReqBody struct + Role *string + type SetMembershipForUserResponse struct + Data components.OrgMembership + func SetMembershipForUser(ctx context.Context, req *SetMembershipForUserReq, opt ...requests.Option) (*SetMembershipForUserResponse, error) + func (r *SetMembershipForUserResponse) HTTPResponse() *http.Response + func (r *SetMembershipForUserResponse) ReadResponse(resp *http.Response) error + type SetPublicMembershipForAuthenticatedUserReq struct + Org string + Username string + func (r *SetPublicMembershipForAuthenticatedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *SetPublicMembershipForAuthenticatedUserReq) Rel(link string, resp *SetPublicMembershipForAuthenticatedUserResponse) bool + type SetPublicMembershipForAuthenticatedUserResponse struct + func SetPublicMembershipForAuthenticatedUser(ctx context.Context, req *SetPublicMembershipForAuthenticatedUserReq, ...) (*SetPublicMembershipForAuthenticatedUserResponse, error) + func (r *SetPublicMembershipForAuthenticatedUserResponse) HTTPResponse() *http.Response + func (r *SetPublicMembershipForAuthenticatedUserResponse) ReadResponse(resp *http.Response) error + type UnblockUserReq struct + Org string + Username string + func (r *UnblockUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UnblockUserReq) Rel(link string, resp *UnblockUserResponse) bool + type UnblockUserResponse struct + func UnblockUser(ctx context.Context, req *UnblockUserReq, opt ...requests.Option) (*UnblockUserResponse, error) + func (r *UnblockUserResponse) HTTPResponse() *http.Response + func (r *UnblockUserResponse) ReadResponse(resp *http.Response) error + type UpdateMembershipForAuthenticatedUserReq struct + Org string + RequestBody UpdateMembershipForAuthenticatedUserReqBody + func (r *UpdateMembershipForAuthenticatedUserReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateMembershipForAuthenticatedUserReq) Rel(link string, resp *UpdateMembershipForAuthenticatedUserResponse) bool + type UpdateMembershipForAuthenticatedUserReqBody struct + State *string + type UpdateMembershipForAuthenticatedUserResponse struct + Data components.OrgMembership + func UpdateMembershipForAuthenticatedUser(ctx context.Context, req *UpdateMembershipForAuthenticatedUserReq, ...) (*UpdateMembershipForAuthenticatedUserResponse, error) + func (r *UpdateMembershipForAuthenticatedUserResponse) HTTPResponse() *http.Response + func (r *UpdateMembershipForAuthenticatedUserResponse) ReadResponse(resp *http.Response) error + type UpdateReq struct + Org string + RequestBody UpdateReqBody + SurturPreview bool + func (r *UpdateReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateReq) Rel(link string, resp *UpdateResponse) bool + type UpdateReqBody struct + BillingEmail *string + Blog *string + Company *string + DefaultRepositoryPermission *string + Description *string + Email *string + HasOrganizationProjects *bool + HasRepositoryProjects *bool + Location *string + MembersAllowedRepositoryCreationType *string + MembersCanCreateInternalRepositories *bool + MembersCanCreatePrivateRepositories *bool + MembersCanCreatePublicRepositories *bool + MembersCanCreateRepositories *bool + Name *string + TwitterUsername *string + type UpdateResponse struct + Data components.OrganizationFull + func Update(ctx context.Context, req *UpdateReq, opt ...requests.Option) (*UpdateResponse, error) + func (r *UpdateResponse) HTTPResponse() *http.Response + func (r *UpdateResponse) ReadResponse(resp *http.Response) error + type UpdateWebhookReq struct + HookId int64 + Org string + RequestBody UpdateWebhookReqBody + func (r *UpdateWebhookReq) HTTPRequest(ctx context.Context, opt ...requests.Option) (*http.Request, error) + func (r *UpdateWebhookReq) Rel(link string, resp *UpdateWebhookResponse) bool + type UpdateWebhookReqBody struct + Active *bool + Config *UpdateWebhookReqBodyConfig + Events []string + Name *string + type UpdateWebhookReqBodyConfig struct + ContentType *string + InsecureSsl *string + Secret *string + Url *string + type UpdateWebhookResponse struct + Data components.OrgHook + func UpdateWebhook(ctx context.Context, req *UpdateWebhookReq, opt ...requests.Option) (*UpdateWebhookResponse, error) + func (r *UpdateWebhookResponse) HTTPResponse() *http.Response + func (r *UpdateWebhookResponse) ReadResponse(resp *http.Response) error