Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteUsersUsernameHooksUID(params *DeleteUsersUsernameHooksUIDParams, ...) (*DeleteUsersUsernameHooksUIDNoContent, error)
- func (a *Client) GetTeamsUsernameRepositories(params *GetTeamsUsernameRepositoriesParams, ...) error
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)
- func (a *Client) GetUserEmails(params *GetUserEmailsParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) GetUserEmailsEmail(params *GetUserEmailsEmailParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) GetUsersSelectedUser(params *GetUsersSelectedUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersSelectedUserOK, error)
- func (a *Client) GetUsersUsernameHooks(params *GetUsersUsernameHooksParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameHooksOK, error)
- func (a *Client) GetUsersUsernameHooksUID(params *GetUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameHooksUIDOK, error)
- func (a *Client) GetUsersUsernameMembers(params *GetUsersUsernameMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameMembersOK, error)
- func (a *Client) GetUsersUsernameRepositories(params *GetUsersUsernameRepositoriesParams, ...) error
- func (a *Client) PostUsersUsernameHooks(params *PostUsersUsernameHooksParams, authInfo runtime.ClientAuthInfoWriter) (*PostUsersUsernameHooksCreated, error)
- func (a *Client) PutUsersUsernameHooksUID(params *PutUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUsernameHooksUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteUsersUsernameHooksUIDForbidden
- type DeleteUsersUsernameHooksUIDNoContent
- type DeleteUsersUsernameHooksUIDNotFound
- type DeleteUsersUsernameHooksUIDParams
- func NewDeleteUsersUsernameHooksUIDParams() *DeleteUsersUsernameHooksUIDParams
- func NewDeleteUsersUsernameHooksUIDParamsWithContext(ctx context.Context) *DeleteUsersUsernameHooksUIDParams
- func NewDeleteUsersUsernameHooksUIDParamsWithHTTPClient(client *http.Client) *DeleteUsersUsernameHooksUIDParams
- func NewDeleteUsersUsernameHooksUIDParamsWithTimeout(timeout time.Duration) *DeleteUsersUsernameHooksUIDParams
- func (o *DeleteUsersUsernameHooksUIDParams) SetContext(ctx context.Context)
- func (o *DeleteUsersUsernameHooksUIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUsersUsernameHooksUIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUsersUsernameHooksUIDParams) SetUID(uid string)
- func (o *DeleteUsersUsernameHooksUIDParams) SetUsername(username string)
- func (o *DeleteUsersUsernameHooksUIDParams) WithContext(ctx context.Context) *DeleteUsersUsernameHooksUIDParams
- func (o *DeleteUsersUsernameHooksUIDParams) WithHTTPClient(client *http.Client) *DeleteUsersUsernameHooksUIDParams
- func (o *DeleteUsersUsernameHooksUIDParams) WithTimeout(timeout time.Duration) *DeleteUsersUsernameHooksUIDParams
- func (o *DeleteUsersUsernameHooksUIDParams) WithUID(uid string) *DeleteUsersUsernameHooksUIDParams
- func (o *DeleteUsersUsernameHooksUIDParams) WithUsername(username string) *DeleteUsersUsernameHooksUIDParams
- func (o *DeleteUsersUsernameHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsersUsernameHooksUIDReader
- type GetTeamsUsernameRepositoriesDefault
- type GetTeamsUsernameRepositoriesParams
- func NewGetTeamsUsernameRepositoriesParams() *GetTeamsUsernameRepositoriesParams
- func NewGetTeamsUsernameRepositoriesParamsWithContext(ctx context.Context) *GetTeamsUsernameRepositoriesParams
- func NewGetTeamsUsernameRepositoriesParamsWithHTTPClient(client *http.Client) *GetTeamsUsernameRepositoriesParams
- func NewGetTeamsUsernameRepositoriesParamsWithTimeout(timeout time.Duration) *GetTeamsUsernameRepositoriesParams
- func (o *GetTeamsUsernameRepositoriesParams) SetContext(ctx context.Context)
- func (o *GetTeamsUsernameRepositoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamsUsernameRepositoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamsUsernameRepositoriesParams) SetUsername(username string)
- func (o *GetTeamsUsernameRepositoriesParams) WithContext(ctx context.Context) *GetTeamsUsernameRepositoriesParams
- func (o *GetTeamsUsernameRepositoriesParams) WithHTTPClient(client *http.Client) *GetTeamsUsernameRepositoriesParams
- func (o *GetTeamsUsernameRepositoriesParams) WithTimeout(timeout time.Duration) *GetTeamsUsernameRepositoriesParams
- func (o *GetTeamsUsernameRepositoriesParams) WithUsername(username string) *GetTeamsUsernameRepositoriesParams
- func (o *GetTeamsUsernameRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamsUsernameRepositoriesReader
- type GetUserEmailsDefault
- type GetUserEmailsEmailDefault
- type GetUserEmailsEmailParams
- func NewGetUserEmailsEmailParams() *GetUserEmailsEmailParams
- func NewGetUserEmailsEmailParamsWithContext(ctx context.Context) *GetUserEmailsEmailParams
- func NewGetUserEmailsEmailParamsWithHTTPClient(client *http.Client) *GetUserEmailsEmailParams
- func NewGetUserEmailsEmailParamsWithTimeout(timeout time.Duration) *GetUserEmailsEmailParams
- func (o *GetUserEmailsEmailParams) SetContext(ctx context.Context)
- func (o *GetUserEmailsEmailParams) SetEmail(email string)
- func (o *GetUserEmailsEmailParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEmailsEmailParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEmailsEmailParams) WithContext(ctx context.Context) *GetUserEmailsEmailParams
- func (o *GetUserEmailsEmailParams) WithEmail(email string) *GetUserEmailsEmailParams
- func (o *GetUserEmailsEmailParams) WithHTTPClient(client *http.Client) *GetUserEmailsEmailParams
- func (o *GetUserEmailsEmailParams) WithTimeout(timeout time.Duration) *GetUserEmailsEmailParams
- func (o *GetUserEmailsEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEmailsEmailReader
- type GetUserEmailsParams
- func (o *GetUserEmailsParams) SetContext(ctx context.Context)
- func (o *GetUserEmailsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEmailsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEmailsParams) WithContext(ctx context.Context) *GetUserEmailsParams
- func (o *GetUserEmailsParams) WithHTTPClient(client *http.Client) *GetUserEmailsParams
- func (o *GetUserEmailsParams) WithTimeout(timeout time.Duration) *GetUserEmailsParams
- func (o *GetUserEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEmailsReader
- type GetUserOK
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUserUnauthorized
- type GetUsersSelectedUserNotFound
- type GetUsersSelectedUserOK
- type GetUsersSelectedUserParams
- func NewGetUsersSelectedUserParams() *GetUsersSelectedUserParams
- func NewGetUsersSelectedUserParamsWithContext(ctx context.Context) *GetUsersSelectedUserParams
- func NewGetUsersSelectedUserParamsWithHTTPClient(client *http.Client) *GetUsersSelectedUserParams
- func NewGetUsersSelectedUserParamsWithTimeout(timeout time.Duration) *GetUsersSelectedUserParams
- func (o *GetUsersSelectedUserParams) SetContext(ctx context.Context)
- func (o *GetUsersSelectedUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersSelectedUserParams) SetSelectedUser(selectedUser string)
- func (o *GetUsersSelectedUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersSelectedUserParams) WithContext(ctx context.Context) *GetUsersSelectedUserParams
- func (o *GetUsersSelectedUserParams) WithHTTPClient(client *http.Client) *GetUsersSelectedUserParams
- func (o *GetUsersSelectedUserParams) WithSelectedUser(selectedUser string) *GetUsersSelectedUserParams
- func (o *GetUsersSelectedUserParams) WithTimeout(timeout time.Duration) *GetUsersSelectedUserParams
- func (o *GetUsersSelectedUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersSelectedUserReader
- type GetUsersUsernameHooksForbidden
- type GetUsersUsernameHooksNotFound
- type GetUsersUsernameHooksOK
- type GetUsersUsernameHooksParams
- func NewGetUsersUsernameHooksParams() *GetUsersUsernameHooksParams
- func NewGetUsersUsernameHooksParamsWithContext(ctx context.Context) *GetUsersUsernameHooksParams
- func NewGetUsersUsernameHooksParamsWithHTTPClient(client *http.Client) *GetUsersUsernameHooksParams
- func NewGetUsersUsernameHooksParamsWithTimeout(timeout time.Duration) *GetUsersUsernameHooksParams
- func (o *GetUsersUsernameHooksParams) SetContext(ctx context.Context)
- func (o *GetUsersUsernameHooksParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersUsernameHooksParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersUsernameHooksParams) SetUsername(username string)
- func (o *GetUsersUsernameHooksParams) WithContext(ctx context.Context) *GetUsersUsernameHooksParams
- func (o *GetUsersUsernameHooksParams) WithHTTPClient(client *http.Client) *GetUsersUsernameHooksParams
- func (o *GetUsersUsernameHooksParams) WithTimeout(timeout time.Duration) *GetUsersUsernameHooksParams
- func (o *GetUsersUsernameHooksParams) WithUsername(username string) *GetUsersUsernameHooksParams
- func (o *GetUsersUsernameHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersUsernameHooksReader
- type GetUsersUsernameHooksUIDNotFound
- type GetUsersUsernameHooksUIDOK
- type GetUsersUsernameHooksUIDParams
- func NewGetUsersUsernameHooksUIDParams() *GetUsersUsernameHooksUIDParams
- func NewGetUsersUsernameHooksUIDParamsWithContext(ctx context.Context) *GetUsersUsernameHooksUIDParams
- func NewGetUsersUsernameHooksUIDParamsWithHTTPClient(client *http.Client) *GetUsersUsernameHooksUIDParams
- func NewGetUsersUsernameHooksUIDParamsWithTimeout(timeout time.Duration) *GetUsersUsernameHooksUIDParams
- func (o *GetUsersUsernameHooksUIDParams) SetContext(ctx context.Context)
- func (o *GetUsersUsernameHooksUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersUsernameHooksUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersUsernameHooksUIDParams) SetUID(uid string)
- func (o *GetUsersUsernameHooksUIDParams) SetUsername(username string)
- func (o *GetUsersUsernameHooksUIDParams) WithContext(ctx context.Context) *GetUsersUsernameHooksUIDParams
- func (o *GetUsersUsernameHooksUIDParams) WithHTTPClient(client *http.Client) *GetUsersUsernameHooksUIDParams
- func (o *GetUsersUsernameHooksUIDParams) WithTimeout(timeout time.Duration) *GetUsersUsernameHooksUIDParams
- func (o *GetUsersUsernameHooksUIDParams) WithUID(uid string) *GetUsersUsernameHooksUIDParams
- func (o *GetUsersUsernameHooksUIDParams) WithUsername(username string) *GetUsersUsernameHooksUIDParams
- func (o *GetUsersUsernameHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersUsernameHooksUIDReader
- type GetUsersUsernameMembersNotFound
- type GetUsersUsernameMembersOK
- type GetUsersUsernameMembersParams
- func NewGetUsersUsernameMembersParams() *GetUsersUsernameMembersParams
- func NewGetUsersUsernameMembersParamsWithContext(ctx context.Context) *GetUsersUsernameMembersParams
- func NewGetUsersUsernameMembersParamsWithHTTPClient(client *http.Client) *GetUsersUsernameMembersParams
- func NewGetUsersUsernameMembersParamsWithTimeout(timeout time.Duration) *GetUsersUsernameMembersParams
- func (o *GetUsersUsernameMembersParams) SetContext(ctx context.Context)
- func (o *GetUsersUsernameMembersParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersUsernameMembersParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersUsernameMembersParams) SetUsername(username string)
- func (o *GetUsersUsernameMembersParams) WithContext(ctx context.Context) *GetUsersUsernameMembersParams
- func (o *GetUsersUsernameMembersParams) WithHTTPClient(client *http.Client) *GetUsersUsernameMembersParams
- func (o *GetUsersUsernameMembersParams) WithTimeout(timeout time.Duration) *GetUsersUsernameMembersParams
- func (o *GetUsersUsernameMembersParams) WithUsername(username string) *GetUsersUsernameMembersParams
- func (o *GetUsersUsernameMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersUsernameMembersReader
- type GetUsersUsernameRepositoriesDefault
- type GetUsersUsernameRepositoriesParams
- func NewGetUsersUsernameRepositoriesParams() *GetUsersUsernameRepositoriesParams
- func NewGetUsersUsernameRepositoriesParamsWithContext(ctx context.Context) *GetUsersUsernameRepositoriesParams
- func NewGetUsersUsernameRepositoriesParamsWithHTTPClient(client *http.Client) *GetUsersUsernameRepositoriesParams
- func NewGetUsersUsernameRepositoriesParamsWithTimeout(timeout time.Duration) *GetUsersUsernameRepositoriesParams
- func (o *GetUsersUsernameRepositoriesParams) SetContext(ctx context.Context)
- func (o *GetUsersUsernameRepositoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersUsernameRepositoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersUsernameRepositoriesParams) SetUsername(username string)
- func (o *GetUsersUsernameRepositoriesParams) WithContext(ctx context.Context) *GetUsersUsernameRepositoriesParams
- func (o *GetUsersUsernameRepositoriesParams) WithHTTPClient(client *http.Client) *GetUsersUsernameRepositoriesParams
- func (o *GetUsersUsernameRepositoriesParams) WithTimeout(timeout time.Duration) *GetUsersUsernameRepositoriesParams
- func (o *GetUsersUsernameRepositoriesParams) WithUsername(username string) *GetUsersUsernameRepositoriesParams
- func (o *GetUsersUsernameRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersUsernameRepositoriesReader
- type PostUsersUsernameHooksCreated
- type PostUsersUsernameHooksForbidden
- type PostUsersUsernameHooksNotFound
- type PostUsersUsernameHooksParams
- func NewPostUsersUsernameHooksParams() *PostUsersUsernameHooksParams
- func NewPostUsersUsernameHooksParamsWithContext(ctx context.Context) *PostUsersUsernameHooksParams
- func NewPostUsersUsernameHooksParamsWithHTTPClient(client *http.Client) *PostUsersUsernameHooksParams
- func NewPostUsersUsernameHooksParamsWithTimeout(timeout time.Duration) *PostUsersUsernameHooksParams
- func (o *PostUsersUsernameHooksParams) SetContext(ctx context.Context)
- func (o *PostUsersUsernameHooksParams) SetHTTPClient(client *http.Client)
- func (o *PostUsersUsernameHooksParams) SetTimeout(timeout time.Duration)
- func (o *PostUsersUsernameHooksParams) SetUsername(username string)
- func (o *PostUsersUsernameHooksParams) WithContext(ctx context.Context) *PostUsersUsernameHooksParams
- func (o *PostUsersUsernameHooksParams) WithHTTPClient(client *http.Client) *PostUsersUsernameHooksParams
- func (o *PostUsersUsernameHooksParams) WithTimeout(timeout time.Duration) *PostUsersUsernameHooksParams
- func (o *PostUsersUsernameHooksParams) WithUsername(username string) *PostUsersUsernameHooksParams
- func (o *PostUsersUsernameHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUsersUsernameHooksReader
- type PutUsersUsernameHooksUIDForbidden
- type PutUsersUsernameHooksUIDNotFound
- type PutUsersUsernameHooksUIDOK
- type PutUsersUsernameHooksUIDParams
- func NewPutUsersUsernameHooksUIDParams() *PutUsersUsernameHooksUIDParams
- func NewPutUsersUsernameHooksUIDParamsWithContext(ctx context.Context) *PutUsersUsernameHooksUIDParams
- func NewPutUsersUsernameHooksUIDParamsWithHTTPClient(client *http.Client) *PutUsersUsernameHooksUIDParams
- func NewPutUsersUsernameHooksUIDParamsWithTimeout(timeout time.Duration) *PutUsersUsernameHooksUIDParams
- func (o *PutUsersUsernameHooksUIDParams) SetContext(ctx context.Context)
- func (o *PutUsersUsernameHooksUIDParams) SetHTTPClient(client *http.Client)
- func (o *PutUsersUsernameHooksUIDParams) SetTimeout(timeout time.Duration)
- func (o *PutUsersUsernameHooksUIDParams) SetUID(uid string)
- func (o *PutUsersUsernameHooksUIDParams) SetUsername(username string)
- func (o *PutUsersUsernameHooksUIDParams) WithContext(ctx context.Context) *PutUsersUsernameHooksUIDParams
- func (o *PutUsersUsernameHooksUIDParams) WithHTTPClient(client *http.Client) *PutUsersUsernameHooksUIDParams
- func (o *PutUsersUsernameHooksUIDParams) WithTimeout(timeout time.Duration) *PutUsersUsernameHooksUIDParams
- func (o *PutUsersUsernameHooksUIDParams) WithUID(uid string) *PutUsersUsernameHooksUIDParams
- func (o *PutUsersUsernameHooksUIDParams) WithUsername(username string) *PutUsersUsernameHooksUIDParams
- func (o *PutUsersUsernameHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUsersUsernameHooksUIDReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) DeleteUsersUsernameHooksUID ¶
func (a *Client) DeleteUsersUsernameHooksUID(params *DeleteUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersUsernameHooksUIDNoContent, error)
DeleteUsersUsernameHooksUID Deletes the specified webhook subscription from the given user
account.
Note that the username path parameter has been deprecated due to [privacy changes](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#removal-of-usernames-from-user-referencing-apis). Use the account's UUID or account_id instead.
func (*Client) GetTeamsUsernameRepositories ¶
func (a *Client) GetTeamsUsernameRepositories(params *GetTeamsUsernameRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) error
GetTeamsUsernameRepositories All repositories owned by a user/team. This includes private
repositories, but filtered down to the ones that the calling user has access to.
The teams and users endpoint have been deprecated, and you should ensure you are using the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)
GetUser Returns the currently logged in user.
func (*Client) GetUserEmails ¶
func (a *Client) GetUserEmails(params *GetUserEmailsParams, authInfo runtime.ClientAuthInfoWriter) error
GetUserEmails Returns all the authenticated user's email addresses. Both
confirmed and unconfirmed.
func (*Client) GetUserEmailsEmail ¶
func (a *Client) GetUserEmailsEmail(params *GetUserEmailsEmailParams, authInfo runtime.ClientAuthInfoWriter) error
GetUserEmailsEmail Returns details about a specific one of the authenticated user's
email addresses.
Details describe whether the address has been confirmed by the user and whether it is the user's primary address or not.
func (*Client) GetUsersSelectedUser ¶
func (a *Client) GetUsersSelectedUser(params *GetUsersSelectedUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersSelectedUserOK, error)
GetUsersSelectedUser Gets the public information associated with a user account.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
If the user's profile is private, `location`, `website` and `created_on` elements are omitted.
Note that the user object returned by this operation is changing significantly, due to privacy changes. See the [announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#changes-to-bitbucket-user-objects) for details.
func (*Client) GetUsersUsernameHooks ¶
func (a *Client) GetUsersUsernameHooks(params *GetUsersUsernameHooksParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameHooksOK, error)
GetUsersUsernameHooks Returns a paginated list of webhooks installed on this user account.
Note that the username path parameter has been deprecated due to [privacy changes](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#removal-of-usernames-from-user-referencing-apis). Use the account's UUID or account_id instead.
Also note that the users endpoint has been deprecated, and the workspaces endpoint should be used instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) GetUsersUsernameHooksUID ¶
func (a *Client) GetUsersUsernameHooksUID(params *GetUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameHooksUIDOK, error)
GetUsersUsernameHooksUID Returns the webhook with the specified id installed on the given
user account.
Note that the username path parameter has been deprecated due to [privacy changes](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#removal-of-usernames-from-user-referencing-apis). Use the account's UUID or account_id instead.
func (*Client) GetUsersUsernameMembers ¶
func (a *Client) GetUsersUsernameMembers(params *GetUsersUsernameMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameMembersOK, error)
GetUsersUsernameMembers get users username members API
func (*Client) GetUsersUsernameRepositories ¶
func (a *Client) GetUsersUsernameRepositories(params *GetUsersUsernameRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) error
GetUsersUsernameRepositories All repositories owned by a user/team. This includes private
repositories, but filtered down to the ones that the calling user has access to.
The teams and users endpoint have been deprecated, and you should ensure you are using the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) PostUsersUsernameHooks ¶
func (a *Client) PostUsersUsernameHooks(params *PostUsersUsernameHooksParams, authInfo runtime.ClientAuthInfoWriter) (*PostUsersUsernameHooksCreated, error)
PostUsersUsernameHooks Creates a new webhook on the specified user account.
Account-level webhooks are fired for events from all repositories belonging to that account.
Note that one can only register webhooks on one's own account, not that of others.
Also, note that the username path parameter has been deprecated due to [privacy changes](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#removal-of-usernames-from-user-referencing-apis). Use the account's UUID or account_id instead.
The users endpoints have been deprecated, and the workspaces endpoint should be used instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) PutUsersUsernameHooksUID ¶
func (a *Client) PutUsersUsernameHooksUID(params *PutUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUsernameHooksUIDOK, error)
PutUsersUsernameHooksUID Updates the specified webhook subscription.
The following properties can be mutated:
* `description` * `url` * `active` * `events`
Note that the username path parameter has been deprecated due to [privacy changes](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#removal-of-usernames-from-user-referencing-apis). Use the account's UUID or account_id instead.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteUsersUsernameHooksUID(params *DeleteUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUsersUsernameHooksUIDNoContent, error) GetTeamsUsernameRepositories(params *GetTeamsUsernameRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) error GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error) GetUserEmails(params *GetUserEmailsParams, authInfo runtime.ClientAuthInfoWriter) error GetUserEmailsEmail(params *GetUserEmailsEmailParams, authInfo runtime.ClientAuthInfoWriter) error GetUsersSelectedUser(params *GetUsersSelectedUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersSelectedUserOK, error) GetUsersUsernameHooks(params *GetUsersUsernameHooksParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameHooksOK, error) GetUsersUsernameHooksUID(params *GetUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameHooksUIDOK, error) GetUsersUsernameMembers(params *GetUsersUsernameMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersUsernameMembersOK, error) GetUsersUsernameRepositories(params *GetUsersUsernameRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) error PostUsersUsernameHooks(params *PostUsersUsernameHooksParams, authInfo runtime.ClientAuthInfoWriter) (*PostUsersUsernameHooksCreated, error) PutUsersUsernameHooksUID(params *PutUsersUsernameHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUsersUsernameHooksUIDOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new users API client.
type DeleteUsersUsernameHooksUIDForbidden ¶
DeleteUsersUsernameHooksUIDForbidden handles this case with default header values.
If the authenticated user does not have permission to delete the webhook.
func NewDeleteUsersUsernameHooksUIDForbidden ¶
func NewDeleteUsersUsernameHooksUIDForbidden() *DeleteUsersUsernameHooksUIDForbidden
NewDeleteUsersUsernameHooksUIDForbidden creates a DeleteUsersUsernameHooksUIDForbidden with default headers values
func (*DeleteUsersUsernameHooksUIDForbidden) Error ¶
func (o *DeleteUsersUsernameHooksUIDForbidden) Error() string
func (*DeleteUsersUsernameHooksUIDForbidden) GetPayload ¶
func (o *DeleteUsersUsernameHooksUIDForbidden) GetPayload() *models.Error
type DeleteUsersUsernameHooksUIDNoContent ¶
type DeleteUsersUsernameHooksUIDNoContent struct { }
DeleteUsersUsernameHooksUIDNoContent handles this case with default header values.
When the webhook was deleted successfully
func NewDeleteUsersUsernameHooksUIDNoContent ¶
func NewDeleteUsersUsernameHooksUIDNoContent() *DeleteUsersUsernameHooksUIDNoContent
NewDeleteUsersUsernameHooksUIDNoContent creates a DeleteUsersUsernameHooksUIDNoContent with default headers values
func (*DeleteUsersUsernameHooksUIDNoContent) Error ¶
func (o *DeleteUsersUsernameHooksUIDNoContent) Error() string
type DeleteUsersUsernameHooksUIDNotFound ¶
DeleteUsersUsernameHooksUIDNotFound handles this case with default header values.
If the webhook or user does not exist.
func NewDeleteUsersUsernameHooksUIDNotFound ¶
func NewDeleteUsersUsernameHooksUIDNotFound() *DeleteUsersUsernameHooksUIDNotFound
NewDeleteUsersUsernameHooksUIDNotFound creates a DeleteUsersUsernameHooksUIDNotFound with default headers values
func (*DeleteUsersUsernameHooksUIDNotFound) Error ¶
func (o *DeleteUsersUsernameHooksUIDNotFound) Error() string
func (*DeleteUsersUsernameHooksUIDNotFound) GetPayload ¶
func (o *DeleteUsersUsernameHooksUIDNotFound) GetPayload() *models.Error
type DeleteUsersUsernameHooksUIDParams ¶
type DeleteUsersUsernameHooksUIDParams struct { /*UID The installed webhook's id */ UID string /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUsersUsernameHooksUIDParams contains all the parameters to send to the API endpoint for the delete users username hooks UID operation typically these are written to a http.Request
func NewDeleteUsersUsernameHooksUIDParams ¶
func NewDeleteUsersUsernameHooksUIDParams() *DeleteUsersUsernameHooksUIDParams
NewDeleteUsersUsernameHooksUIDParams creates a new DeleteUsersUsernameHooksUIDParams object with the default values initialized.
func NewDeleteUsersUsernameHooksUIDParamsWithContext ¶
func NewDeleteUsersUsernameHooksUIDParamsWithContext(ctx context.Context) *DeleteUsersUsernameHooksUIDParams
NewDeleteUsersUsernameHooksUIDParamsWithContext creates a new DeleteUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUsersUsernameHooksUIDParamsWithHTTPClient ¶
func NewDeleteUsersUsernameHooksUIDParamsWithHTTPClient(client *http.Client) *DeleteUsersUsernameHooksUIDParams
NewDeleteUsersUsernameHooksUIDParamsWithHTTPClient creates a new DeleteUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUsersUsernameHooksUIDParamsWithTimeout ¶
func NewDeleteUsersUsernameHooksUIDParamsWithTimeout(timeout time.Duration) *DeleteUsersUsernameHooksUIDParams
NewDeleteUsersUsernameHooksUIDParamsWithTimeout creates a new DeleteUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUsersUsernameHooksUIDParams) SetContext ¶
func (o *DeleteUsersUsernameHooksUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) SetHTTPClient ¶
func (o *DeleteUsersUsernameHooksUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) SetTimeout ¶
func (o *DeleteUsersUsernameHooksUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) SetUID ¶
func (o *DeleteUsersUsernameHooksUIDParams) SetUID(uid string)
SetUID adds the uid to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) SetUsername ¶
func (o *DeleteUsersUsernameHooksUIDParams) SetUsername(username string)
SetUsername adds the username to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) WithContext ¶
func (o *DeleteUsersUsernameHooksUIDParams) WithContext(ctx context.Context) *DeleteUsersUsernameHooksUIDParams
WithContext adds the context to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) WithHTTPClient ¶
func (o *DeleteUsersUsernameHooksUIDParams) WithHTTPClient(client *http.Client) *DeleteUsersUsernameHooksUIDParams
WithHTTPClient adds the HTTPClient to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) WithTimeout ¶
func (o *DeleteUsersUsernameHooksUIDParams) WithTimeout(timeout time.Duration) *DeleteUsersUsernameHooksUIDParams
WithTimeout adds the timeout to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) WithUID ¶
func (o *DeleteUsersUsernameHooksUIDParams) WithUID(uid string) *DeleteUsersUsernameHooksUIDParams
WithUID adds the uid to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) WithUsername ¶
func (o *DeleteUsersUsernameHooksUIDParams) WithUsername(username string) *DeleteUsersUsernameHooksUIDParams
WithUsername adds the username to the delete users username hooks UID params
func (*DeleteUsersUsernameHooksUIDParams) WriteToRequest ¶
func (o *DeleteUsersUsernameHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUsersUsernameHooksUIDReader ¶
type DeleteUsersUsernameHooksUIDReader struct {
// contains filtered or unexported fields
}
DeleteUsersUsernameHooksUIDReader is a Reader for the DeleteUsersUsernameHooksUID structure.
func (*DeleteUsersUsernameHooksUIDReader) ReadResponse ¶
func (o *DeleteUsersUsernameHooksUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeamsUsernameRepositoriesDefault ¶
type GetTeamsUsernameRepositoriesDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetTeamsUsernameRepositoriesDefault handles this case with default header values.
Unexpected error.
func NewGetTeamsUsernameRepositoriesDefault ¶
func NewGetTeamsUsernameRepositoriesDefault(code int) *GetTeamsUsernameRepositoriesDefault
NewGetTeamsUsernameRepositoriesDefault creates a GetTeamsUsernameRepositoriesDefault with default headers values
func (*GetTeamsUsernameRepositoriesDefault) Code ¶
func (o *GetTeamsUsernameRepositoriesDefault) Code() int
Code gets the status code for the get teams username repositories default response
func (*GetTeamsUsernameRepositoriesDefault) Error ¶
func (o *GetTeamsUsernameRepositoriesDefault) Error() string
func (*GetTeamsUsernameRepositoriesDefault) GetPayload ¶
func (o *GetTeamsUsernameRepositoriesDefault) GetPayload() *models.Error
type GetTeamsUsernameRepositoriesParams ¶
type GetTeamsUsernameRepositoriesParams struct { /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeamsUsernameRepositoriesParams contains all the parameters to send to the API endpoint for the get teams username repositories operation typically these are written to a http.Request
func NewGetTeamsUsernameRepositoriesParams ¶
func NewGetTeamsUsernameRepositoriesParams() *GetTeamsUsernameRepositoriesParams
NewGetTeamsUsernameRepositoriesParams creates a new GetTeamsUsernameRepositoriesParams object with the default values initialized.
func NewGetTeamsUsernameRepositoriesParamsWithContext ¶
func NewGetTeamsUsernameRepositoriesParamsWithContext(ctx context.Context) *GetTeamsUsernameRepositoriesParams
NewGetTeamsUsernameRepositoriesParamsWithContext creates a new GetTeamsUsernameRepositoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetTeamsUsernameRepositoriesParamsWithHTTPClient ¶
func NewGetTeamsUsernameRepositoriesParamsWithHTTPClient(client *http.Client) *GetTeamsUsernameRepositoriesParams
NewGetTeamsUsernameRepositoriesParamsWithHTTPClient creates a new GetTeamsUsernameRepositoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTeamsUsernameRepositoriesParamsWithTimeout ¶
func NewGetTeamsUsernameRepositoriesParamsWithTimeout(timeout time.Duration) *GetTeamsUsernameRepositoriesParams
NewGetTeamsUsernameRepositoriesParamsWithTimeout creates a new GetTeamsUsernameRepositoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTeamsUsernameRepositoriesParams) SetContext ¶
func (o *GetTeamsUsernameRepositoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) SetHTTPClient ¶
func (o *GetTeamsUsernameRepositoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) SetTimeout ¶
func (o *GetTeamsUsernameRepositoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) SetUsername ¶
func (o *GetTeamsUsernameRepositoriesParams) SetUsername(username string)
SetUsername adds the username to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) WithContext ¶
func (o *GetTeamsUsernameRepositoriesParams) WithContext(ctx context.Context) *GetTeamsUsernameRepositoriesParams
WithContext adds the context to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) WithHTTPClient ¶
func (o *GetTeamsUsernameRepositoriesParams) WithHTTPClient(client *http.Client) *GetTeamsUsernameRepositoriesParams
WithHTTPClient adds the HTTPClient to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) WithTimeout ¶
func (o *GetTeamsUsernameRepositoriesParams) WithTimeout(timeout time.Duration) *GetTeamsUsernameRepositoriesParams
WithTimeout adds the timeout to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) WithUsername ¶
func (o *GetTeamsUsernameRepositoriesParams) WithUsername(username string) *GetTeamsUsernameRepositoriesParams
WithUsername adds the username to the get teams username repositories params
func (*GetTeamsUsernameRepositoriesParams) WriteToRequest ¶
func (o *GetTeamsUsernameRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeamsUsernameRepositoriesReader ¶
type GetTeamsUsernameRepositoriesReader struct {
// contains filtered or unexported fields
}
GetTeamsUsernameRepositoriesReader is a Reader for the GetTeamsUsernameRepositories structure.
func (*GetTeamsUsernameRepositoriesReader) ReadResponse ¶
func (o *GetTeamsUsernameRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEmailsDefault ¶
type GetUserEmailsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetUserEmailsDefault handles this case with default header values.
Unexpected error.
func NewGetUserEmailsDefault ¶
func NewGetUserEmailsDefault(code int) *GetUserEmailsDefault
NewGetUserEmailsDefault creates a GetUserEmailsDefault with default headers values
func (*GetUserEmailsDefault) Code ¶
func (o *GetUserEmailsDefault) Code() int
Code gets the status code for the get user emails default response
func (*GetUserEmailsDefault) Error ¶
func (o *GetUserEmailsDefault) Error() string
func (*GetUserEmailsDefault) GetPayload ¶
func (o *GetUserEmailsDefault) GetPayload() *models.Error
type GetUserEmailsEmailDefault ¶
type GetUserEmailsEmailDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetUserEmailsEmailDefault handles this case with default header values.
Unexpected error.
func NewGetUserEmailsEmailDefault ¶
func NewGetUserEmailsEmailDefault(code int) *GetUserEmailsEmailDefault
NewGetUserEmailsEmailDefault creates a GetUserEmailsEmailDefault with default headers values
func (*GetUserEmailsEmailDefault) Code ¶
func (o *GetUserEmailsEmailDefault) Code() int
Code gets the status code for the get user emails email default response
func (*GetUserEmailsEmailDefault) Error ¶
func (o *GetUserEmailsEmailDefault) Error() string
func (*GetUserEmailsEmailDefault) GetPayload ¶
func (o *GetUserEmailsEmailDefault) GetPayload() *models.Error
type GetUserEmailsEmailParams ¶
type GetUserEmailsEmailParams struct { /*Email*/ Email string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserEmailsEmailParams contains all the parameters to send to the API endpoint for the get user emails email operation typically these are written to a http.Request
func NewGetUserEmailsEmailParams ¶
func NewGetUserEmailsEmailParams() *GetUserEmailsEmailParams
NewGetUserEmailsEmailParams creates a new GetUserEmailsEmailParams object with the default values initialized.
func NewGetUserEmailsEmailParamsWithContext ¶
func NewGetUserEmailsEmailParamsWithContext(ctx context.Context) *GetUserEmailsEmailParams
NewGetUserEmailsEmailParamsWithContext creates a new GetUserEmailsEmailParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEmailsEmailParamsWithHTTPClient ¶
func NewGetUserEmailsEmailParamsWithHTTPClient(client *http.Client) *GetUserEmailsEmailParams
NewGetUserEmailsEmailParamsWithHTTPClient creates a new GetUserEmailsEmailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEmailsEmailParamsWithTimeout ¶
func NewGetUserEmailsEmailParamsWithTimeout(timeout time.Duration) *GetUserEmailsEmailParams
NewGetUserEmailsEmailParamsWithTimeout creates a new GetUserEmailsEmailParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEmailsEmailParams) SetContext ¶
func (o *GetUserEmailsEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the get user emails email params
func (*GetUserEmailsEmailParams) SetEmail ¶
func (o *GetUserEmailsEmailParams) SetEmail(email string)
SetEmail adds the email to the get user emails email params
func (*GetUserEmailsEmailParams) SetHTTPClient ¶
func (o *GetUserEmailsEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user emails email params
func (*GetUserEmailsEmailParams) SetTimeout ¶
func (o *GetUserEmailsEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user emails email params
func (*GetUserEmailsEmailParams) WithContext ¶
func (o *GetUserEmailsEmailParams) WithContext(ctx context.Context) *GetUserEmailsEmailParams
WithContext adds the context to the get user emails email params
func (*GetUserEmailsEmailParams) WithEmail ¶
func (o *GetUserEmailsEmailParams) WithEmail(email string) *GetUserEmailsEmailParams
WithEmail adds the email to the get user emails email params
func (*GetUserEmailsEmailParams) WithHTTPClient ¶
func (o *GetUserEmailsEmailParams) WithHTTPClient(client *http.Client) *GetUserEmailsEmailParams
WithHTTPClient adds the HTTPClient to the get user emails email params
func (*GetUserEmailsEmailParams) WithTimeout ¶
func (o *GetUserEmailsEmailParams) WithTimeout(timeout time.Duration) *GetUserEmailsEmailParams
WithTimeout adds the timeout to the get user emails email params
func (*GetUserEmailsEmailParams) WriteToRequest ¶
func (o *GetUserEmailsEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEmailsEmailReader ¶
type GetUserEmailsEmailReader struct {
// contains filtered or unexported fields
}
GetUserEmailsEmailReader is a Reader for the GetUserEmailsEmail structure.
func (*GetUserEmailsEmailReader) ReadResponse ¶
func (o *GetUserEmailsEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEmailsParams ¶
type GetUserEmailsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserEmailsParams contains all the parameters to send to the API endpoint for the get user emails operation typically these are written to a http.Request
func NewGetUserEmailsParams ¶
func NewGetUserEmailsParams() *GetUserEmailsParams
NewGetUserEmailsParams creates a new GetUserEmailsParams object with the default values initialized.
func NewGetUserEmailsParamsWithContext ¶
func NewGetUserEmailsParamsWithContext(ctx context.Context) *GetUserEmailsParams
NewGetUserEmailsParamsWithContext creates a new GetUserEmailsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEmailsParamsWithHTTPClient ¶
func NewGetUserEmailsParamsWithHTTPClient(client *http.Client) *GetUserEmailsParams
NewGetUserEmailsParamsWithHTTPClient creates a new GetUserEmailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEmailsParamsWithTimeout ¶
func NewGetUserEmailsParamsWithTimeout(timeout time.Duration) *GetUserEmailsParams
NewGetUserEmailsParamsWithTimeout creates a new GetUserEmailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEmailsParams) SetContext ¶
func (o *GetUserEmailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user emails params
func (*GetUserEmailsParams) SetHTTPClient ¶
func (o *GetUserEmailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user emails params
func (*GetUserEmailsParams) SetTimeout ¶
func (o *GetUserEmailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user emails params
func (*GetUserEmailsParams) WithContext ¶
func (o *GetUserEmailsParams) WithContext(ctx context.Context) *GetUserEmailsParams
WithContext adds the context to the get user emails params
func (*GetUserEmailsParams) WithHTTPClient ¶
func (o *GetUserEmailsParams) WithHTTPClient(client *http.Client) *GetUserEmailsParams
WithHTTPClient adds the HTTPClient to the get user emails params
func (*GetUserEmailsParams) WithTimeout ¶
func (o *GetUserEmailsParams) WithTimeout(timeout time.Duration) *GetUserEmailsParams
WithTimeout adds the timeout to the get user emails params
func (*GetUserEmailsParams) WriteToRequest ¶
func (o *GetUserEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEmailsReader ¶
type GetUserEmailsReader struct {
// contains filtered or unexported fields
}
GetUserEmailsReader is a Reader for the GetUserEmails structure.
func (*GetUserEmailsReader) ReadResponse ¶
func (o *GetUserEmailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserOK ¶
GetUserOK handles this case with default header values.
The current user.
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) GetPayload ¶
type GetUserParams ¶
type GetUserParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserParams contains all the parameters to send to the API endpoint for the get user operation typically these are written to a http.Request
func NewGetUserParams ¶
func NewGetUserParams() *GetUserParams
NewGetUserParams creates a new GetUserParams object with the default values initialized.
func NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserParamsWithHTTPClient ¶
func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams
NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserParamsWithTimeout ¶
func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams
NewGetUserParamsWithTimeout creates a new GetUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserParams) SetContext ¶
func (o *GetUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get user params
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetTimeout ¶
func (o *GetUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user params
func (*GetUserParams) WithContext ¶
func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
WithContext adds the context to the get user params
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithTimeout ¶
func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
WithTimeout adds the timeout to the get user params
func (*GetUserParams) WriteToRequest ¶
func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserReader ¶
type GetUserReader struct {
// contains filtered or unexported fields
}
GetUserReader is a Reader for the GetUser structure.
func (*GetUserReader) ReadResponse ¶
func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserUnauthorized ¶
type GetUserUnauthorized struct {
}GetUserUnauthorized handles this case with default header values.
When the request wasn't authenticated.
func NewGetUserUnauthorized ¶
func NewGetUserUnauthorized() *GetUserUnauthorized
NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values
func (*GetUserUnauthorized) Error ¶
func (o *GetUserUnauthorized) Error() string
func (*GetUserUnauthorized) GetPayload ¶
func (o *GetUserUnauthorized) GetPayload() *models.Error
type GetUsersSelectedUserNotFound ¶
GetUsersSelectedUserNotFound handles this case with default header values.
If no user exists for the specified UUID, or if the specified account is a team account, not a personal account.
func NewGetUsersSelectedUserNotFound ¶
func NewGetUsersSelectedUserNotFound() *GetUsersSelectedUserNotFound
NewGetUsersSelectedUserNotFound creates a GetUsersSelectedUserNotFound with default headers values
func (*GetUsersSelectedUserNotFound) Error ¶
func (o *GetUsersSelectedUserNotFound) Error() string
func (*GetUsersSelectedUserNotFound) GetPayload ¶
func (o *GetUsersSelectedUserNotFound) GetPayload() *models.Error
type GetUsersSelectedUserOK ¶
GetUsersSelectedUserOK handles this case with default header values.
The user object
func NewGetUsersSelectedUserOK ¶
func NewGetUsersSelectedUserOK() *GetUsersSelectedUserOK
NewGetUsersSelectedUserOK creates a GetUsersSelectedUserOK with default headers values
func (*GetUsersSelectedUserOK) Error ¶
func (o *GetUsersSelectedUserOK) Error() string
func (*GetUsersSelectedUserOK) GetPayload ¶
func (o *GetUsersSelectedUserOK) GetPayload() *models.User
type GetUsersSelectedUserParams ¶
type GetUsersSelectedUserParams struct { /*SelectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID. */ SelectedUser string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersSelectedUserParams contains all the parameters to send to the API endpoint for the get users selected user operation typically these are written to a http.Request
func NewGetUsersSelectedUserParams ¶
func NewGetUsersSelectedUserParams() *GetUsersSelectedUserParams
NewGetUsersSelectedUserParams creates a new GetUsersSelectedUserParams object with the default values initialized.
func NewGetUsersSelectedUserParamsWithContext ¶
func NewGetUsersSelectedUserParamsWithContext(ctx context.Context) *GetUsersSelectedUserParams
NewGetUsersSelectedUserParamsWithContext creates a new GetUsersSelectedUserParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsersSelectedUserParamsWithHTTPClient ¶
func NewGetUsersSelectedUserParamsWithHTTPClient(client *http.Client) *GetUsersSelectedUserParams
NewGetUsersSelectedUserParamsWithHTTPClient creates a new GetUsersSelectedUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsersSelectedUserParamsWithTimeout ¶
func NewGetUsersSelectedUserParamsWithTimeout(timeout time.Duration) *GetUsersSelectedUserParams
NewGetUsersSelectedUserParamsWithTimeout creates a new GetUsersSelectedUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsersSelectedUserParams) SetContext ¶
func (o *GetUsersSelectedUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get users selected user params
func (*GetUsersSelectedUserParams) SetHTTPClient ¶
func (o *GetUsersSelectedUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users selected user params
func (*GetUsersSelectedUserParams) SetSelectedUser ¶
func (o *GetUsersSelectedUserParams) SetSelectedUser(selectedUser string)
SetSelectedUser adds the selectedUser to the get users selected user params
func (*GetUsersSelectedUserParams) SetTimeout ¶
func (o *GetUsersSelectedUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users selected user params
func (*GetUsersSelectedUserParams) WithContext ¶
func (o *GetUsersSelectedUserParams) WithContext(ctx context.Context) *GetUsersSelectedUserParams
WithContext adds the context to the get users selected user params
func (*GetUsersSelectedUserParams) WithHTTPClient ¶
func (o *GetUsersSelectedUserParams) WithHTTPClient(client *http.Client) *GetUsersSelectedUserParams
WithHTTPClient adds the HTTPClient to the get users selected user params
func (*GetUsersSelectedUserParams) WithSelectedUser ¶
func (o *GetUsersSelectedUserParams) WithSelectedUser(selectedUser string) *GetUsersSelectedUserParams
WithSelectedUser adds the selectedUser to the get users selected user params
func (*GetUsersSelectedUserParams) WithTimeout ¶
func (o *GetUsersSelectedUserParams) WithTimeout(timeout time.Duration) *GetUsersSelectedUserParams
WithTimeout adds the timeout to the get users selected user params
func (*GetUsersSelectedUserParams) WriteToRequest ¶
func (o *GetUsersSelectedUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersSelectedUserReader ¶
type GetUsersSelectedUserReader struct {
// contains filtered or unexported fields
}
GetUsersSelectedUserReader is a Reader for the GetUsersSelectedUser structure.
func (*GetUsersSelectedUserReader) ReadResponse ¶
func (o *GetUsersSelectedUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersUsernameHooksForbidden ¶
GetUsersUsernameHooksForbidden handles this case with default header values.
If the authenticated user is accessing an account other than their own.
func NewGetUsersUsernameHooksForbidden ¶
func NewGetUsersUsernameHooksForbidden() *GetUsersUsernameHooksForbidden
NewGetUsersUsernameHooksForbidden creates a GetUsersUsernameHooksForbidden with default headers values
func (*GetUsersUsernameHooksForbidden) Error ¶
func (o *GetUsersUsernameHooksForbidden) Error() string
func (*GetUsersUsernameHooksForbidden) GetPayload ¶
func (o *GetUsersUsernameHooksForbidden) GetPayload() *models.Error
type GetUsersUsernameHooksNotFound ¶
GetUsersUsernameHooksNotFound handles this case with default header values.
If the specified account does not exist.
func NewGetUsersUsernameHooksNotFound ¶
func NewGetUsersUsernameHooksNotFound() *GetUsersUsernameHooksNotFound
NewGetUsersUsernameHooksNotFound creates a GetUsersUsernameHooksNotFound with default headers values
func (*GetUsersUsernameHooksNotFound) Error ¶
func (o *GetUsersUsernameHooksNotFound) Error() string
func (*GetUsersUsernameHooksNotFound) GetPayload ¶
func (o *GetUsersUsernameHooksNotFound) GetPayload() *models.Error
type GetUsersUsernameHooksOK ¶
type GetUsersUsernameHooksOK struct {
Payload *models.PaginatedWebhookSubscriptions
}
GetUsersUsernameHooksOK handles this case with default header values.
The paginated list of installed webhooks.
func NewGetUsersUsernameHooksOK ¶
func NewGetUsersUsernameHooksOK() *GetUsersUsernameHooksOK
NewGetUsersUsernameHooksOK creates a GetUsersUsernameHooksOK with default headers values
func (*GetUsersUsernameHooksOK) Error ¶
func (o *GetUsersUsernameHooksOK) Error() string
func (*GetUsersUsernameHooksOK) GetPayload ¶
func (o *GetUsersUsernameHooksOK) GetPayload() *models.PaginatedWebhookSubscriptions
type GetUsersUsernameHooksParams ¶
type GetUsersUsernameHooksParams struct { /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersUsernameHooksParams contains all the parameters to send to the API endpoint for the get users username hooks operation typically these are written to a http.Request
func NewGetUsersUsernameHooksParams ¶
func NewGetUsersUsernameHooksParams() *GetUsersUsernameHooksParams
NewGetUsersUsernameHooksParams creates a new GetUsersUsernameHooksParams object with the default values initialized.
func NewGetUsersUsernameHooksParamsWithContext ¶
func NewGetUsersUsernameHooksParamsWithContext(ctx context.Context) *GetUsersUsernameHooksParams
NewGetUsersUsernameHooksParamsWithContext creates a new GetUsersUsernameHooksParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsersUsernameHooksParamsWithHTTPClient ¶
func NewGetUsersUsernameHooksParamsWithHTTPClient(client *http.Client) *GetUsersUsernameHooksParams
NewGetUsersUsernameHooksParamsWithHTTPClient creates a new GetUsersUsernameHooksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsersUsernameHooksParamsWithTimeout ¶
func NewGetUsersUsernameHooksParamsWithTimeout(timeout time.Duration) *GetUsersUsernameHooksParams
NewGetUsersUsernameHooksParamsWithTimeout creates a new GetUsersUsernameHooksParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsersUsernameHooksParams) SetContext ¶
func (o *GetUsersUsernameHooksParams) SetContext(ctx context.Context)
SetContext adds the context to the get users username hooks params
func (*GetUsersUsernameHooksParams) SetHTTPClient ¶
func (o *GetUsersUsernameHooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users username hooks params
func (*GetUsersUsernameHooksParams) SetTimeout ¶
func (o *GetUsersUsernameHooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users username hooks params
func (*GetUsersUsernameHooksParams) SetUsername ¶
func (o *GetUsersUsernameHooksParams) SetUsername(username string)
SetUsername adds the username to the get users username hooks params
func (*GetUsersUsernameHooksParams) WithContext ¶
func (o *GetUsersUsernameHooksParams) WithContext(ctx context.Context) *GetUsersUsernameHooksParams
WithContext adds the context to the get users username hooks params
func (*GetUsersUsernameHooksParams) WithHTTPClient ¶
func (o *GetUsersUsernameHooksParams) WithHTTPClient(client *http.Client) *GetUsersUsernameHooksParams
WithHTTPClient adds the HTTPClient to the get users username hooks params
func (*GetUsersUsernameHooksParams) WithTimeout ¶
func (o *GetUsersUsernameHooksParams) WithTimeout(timeout time.Duration) *GetUsersUsernameHooksParams
WithTimeout adds the timeout to the get users username hooks params
func (*GetUsersUsernameHooksParams) WithUsername ¶
func (o *GetUsersUsernameHooksParams) WithUsername(username string) *GetUsersUsernameHooksParams
WithUsername adds the username to the get users username hooks params
func (*GetUsersUsernameHooksParams) WriteToRequest ¶
func (o *GetUsersUsernameHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersUsernameHooksReader ¶
type GetUsersUsernameHooksReader struct {
// contains filtered or unexported fields
}
GetUsersUsernameHooksReader is a Reader for the GetUsersUsernameHooks structure.
func (*GetUsersUsernameHooksReader) ReadResponse ¶
func (o *GetUsersUsernameHooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersUsernameHooksUIDNotFound ¶
GetUsersUsernameHooksUIDNotFound handles this case with default header values.
If the webhook or user does not exist.
func NewGetUsersUsernameHooksUIDNotFound ¶
func NewGetUsersUsernameHooksUIDNotFound() *GetUsersUsernameHooksUIDNotFound
NewGetUsersUsernameHooksUIDNotFound creates a GetUsersUsernameHooksUIDNotFound with default headers values
func (*GetUsersUsernameHooksUIDNotFound) Error ¶
func (o *GetUsersUsernameHooksUIDNotFound) Error() string
func (*GetUsersUsernameHooksUIDNotFound) GetPayload ¶
func (o *GetUsersUsernameHooksUIDNotFound) GetPayload() *models.Error
type GetUsersUsernameHooksUIDOK ¶
type GetUsersUsernameHooksUIDOK struct {
Payload *models.WebhookSubscription
}
GetUsersUsernameHooksUIDOK handles this case with default header values.
The webhook subscription object.
func NewGetUsersUsernameHooksUIDOK ¶
func NewGetUsersUsernameHooksUIDOK() *GetUsersUsernameHooksUIDOK
NewGetUsersUsernameHooksUIDOK creates a GetUsersUsernameHooksUIDOK with default headers values
func (*GetUsersUsernameHooksUIDOK) Error ¶
func (o *GetUsersUsernameHooksUIDOK) Error() string
func (*GetUsersUsernameHooksUIDOK) GetPayload ¶
func (o *GetUsersUsernameHooksUIDOK) GetPayload() *models.WebhookSubscription
type GetUsersUsernameHooksUIDParams ¶
type GetUsersUsernameHooksUIDParams struct { /*UID The installed webhook's id. */ UID string /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersUsernameHooksUIDParams contains all the parameters to send to the API endpoint for the get users username hooks UID operation typically these are written to a http.Request
func NewGetUsersUsernameHooksUIDParams ¶
func NewGetUsersUsernameHooksUIDParams() *GetUsersUsernameHooksUIDParams
NewGetUsersUsernameHooksUIDParams creates a new GetUsersUsernameHooksUIDParams object with the default values initialized.
func NewGetUsersUsernameHooksUIDParamsWithContext ¶
func NewGetUsersUsernameHooksUIDParamsWithContext(ctx context.Context) *GetUsersUsernameHooksUIDParams
NewGetUsersUsernameHooksUIDParamsWithContext creates a new GetUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsersUsernameHooksUIDParamsWithHTTPClient ¶
func NewGetUsersUsernameHooksUIDParamsWithHTTPClient(client *http.Client) *GetUsersUsernameHooksUIDParams
NewGetUsersUsernameHooksUIDParamsWithHTTPClient creates a new GetUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsersUsernameHooksUIDParamsWithTimeout ¶
func NewGetUsersUsernameHooksUIDParamsWithTimeout(timeout time.Duration) *GetUsersUsernameHooksUIDParams
NewGetUsersUsernameHooksUIDParamsWithTimeout creates a new GetUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsersUsernameHooksUIDParams) SetContext ¶
func (o *GetUsersUsernameHooksUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) SetHTTPClient ¶
func (o *GetUsersUsernameHooksUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) SetTimeout ¶
func (o *GetUsersUsernameHooksUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) SetUID ¶
func (o *GetUsersUsernameHooksUIDParams) SetUID(uid string)
SetUID adds the uid to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) SetUsername ¶
func (o *GetUsersUsernameHooksUIDParams) SetUsername(username string)
SetUsername adds the username to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) WithContext ¶
func (o *GetUsersUsernameHooksUIDParams) WithContext(ctx context.Context) *GetUsersUsernameHooksUIDParams
WithContext adds the context to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) WithHTTPClient ¶
func (o *GetUsersUsernameHooksUIDParams) WithHTTPClient(client *http.Client) *GetUsersUsernameHooksUIDParams
WithHTTPClient adds the HTTPClient to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) WithTimeout ¶
func (o *GetUsersUsernameHooksUIDParams) WithTimeout(timeout time.Duration) *GetUsersUsernameHooksUIDParams
WithTimeout adds the timeout to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) WithUID ¶
func (o *GetUsersUsernameHooksUIDParams) WithUID(uid string) *GetUsersUsernameHooksUIDParams
WithUID adds the uid to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) WithUsername ¶
func (o *GetUsersUsernameHooksUIDParams) WithUsername(username string) *GetUsersUsernameHooksUIDParams
WithUsername adds the username to the get users username hooks UID params
func (*GetUsersUsernameHooksUIDParams) WriteToRequest ¶
func (o *GetUsersUsernameHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersUsernameHooksUIDReader ¶
type GetUsersUsernameHooksUIDReader struct {
// contains filtered or unexported fields
}
GetUsersUsernameHooksUIDReader is a Reader for the GetUsersUsernameHooksUID structure.
func (*GetUsersUsernameHooksUIDReader) ReadResponse ¶
func (o *GetUsersUsernameHooksUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersUsernameMembersNotFound ¶
GetUsersUsernameMembersNotFound handles this case with default header values.
When the team does not exist, or multiple teams with the same name exist that differ only in casing and the URL did not match the exact casing of a particular one.
func NewGetUsersUsernameMembersNotFound ¶
func NewGetUsersUsernameMembersNotFound() *GetUsersUsernameMembersNotFound
NewGetUsersUsernameMembersNotFound creates a GetUsersUsernameMembersNotFound with default headers values
func (*GetUsersUsernameMembersNotFound) Error ¶
func (o *GetUsersUsernameMembersNotFound) Error() string
func (*GetUsersUsernameMembersNotFound) GetPayload ¶
func (o *GetUsersUsernameMembersNotFound) GetPayload() *models.Error
type GetUsersUsernameMembersOK ¶
GetUsersUsernameMembersOK handles this case with default header values.
All members
func NewGetUsersUsernameMembersOK ¶
func NewGetUsersUsernameMembersOK() *GetUsersUsernameMembersOK
NewGetUsersUsernameMembersOK creates a GetUsersUsernameMembersOK with default headers values
func (*GetUsersUsernameMembersOK) Error ¶
func (o *GetUsersUsernameMembersOK) Error() string
func (*GetUsersUsernameMembersOK) GetPayload ¶
func (o *GetUsersUsernameMembersOK) GetPayload() *models.User
type GetUsersUsernameMembersParams ¶
type GetUsersUsernameMembersParams struct { /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersUsernameMembersParams contains all the parameters to send to the API endpoint for the get users username members operation typically these are written to a http.Request
func NewGetUsersUsernameMembersParams ¶
func NewGetUsersUsernameMembersParams() *GetUsersUsernameMembersParams
NewGetUsersUsernameMembersParams creates a new GetUsersUsernameMembersParams object with the default values initialized.
func NewGetUsersUsernameMembersParamsWithContext ¶
func NewGetUsersUsernameMembersParamsWithContext(ctx context.Context) *GetUsersUsernameMembersParams
NewGetUsersUsernameMembersParamsWithContext creates a new GetUsersUsernameMembersParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsersUsernameMembersParamsWithHTTPClient ¶
func NewGetUsersUsernameMembersParamsWithHTTPClient(client *http.Client) *GetUsersUsernameMembersParams
NewGetUsersUsernameMembersParamsWithHTTPClient creates a new GetUsersUsernameMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsersUsernameMembersParamsWithTimeout ¶
func NewGetUsersUsernameMembersParamsWithTimeout(timeout time.Duration) *GetUsersUsernameMembersParams
NewGetUsersUsernameMembersParamsWithTimeout creates a new GetUsersUsernameMembersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsersUsernameMembersParams) SetContext ¶
func (o *GetUsersUsernameMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the get users username members params
func (*GetUsersUsernameMembersParams) SetHTTPClient ¶
func (o *GetUsersUsernameMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users username members params
func (*GetUsersUsernameMembersParams) SetTimeout ¶
func (o *GetUsersUsernameMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users username members params
func (*GetUsersUsernameMembersParams) SetUsername ¶
func (o *GetUsersUsernameMembersParams) SetUsername(username string)
SetUsername adds the username to the get users username members params
func (*GetUsersUsernameMembersParams) WithContext ¶
func (o *GetUsersUsernameMembersParams) WithContext(ctx context.Context) *GetUsersUsernameMembersParams
WithContext adds the context to the get users username members params
func (*GetUsersUsernameMembersParams) WithHTTPClient ¶
func (o *GetUsersUsernameMembersParams) WithHTTPClient(client *http.Client) *GetUsersUsernameMembersParams
WithHTTPClient adds the HTTPClient to the get users username members params
func (*GetUsersUsernameMembersParams) WithTimeout ¶
func (o *GetUsersUsernameMembersParams) WithTimeout(timeout time.Duration) *GetUsersUsernameMembersParams
WithTimeout adds the timeout to the get users username members params
func (*GetUsersUsernameMembersParams) WithUsername ¶
func (o *GetUsersUsernameMembersParams) WithUsername(username string) *GetUsersUsernameMembersParams
WithUsername adds the username to the get users username members params
func (*GetUsersUsernameMembersParams) WriteToRequest ¶
func (o *GetUsersUsernameMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersUsernameMembersReader ¶
type GetUsersUsernameMembersReader struct {
// contains filtered or unexported fields
}
GetUsersUsernameMembersReader is a Reader for the GetUsersUsernameMembers structure.
func (*GetUsersUsernameMembersReader) ReadResponse ¶
func (o *GetUsersUsernameMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersUsernameRepositoriesDefault ¶
type GetUsersUsernameRepositoriesDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetUsersUsernameRepositoriesDefault handles this case with default header values.
Unexpected error.
func NewGetUsersUsernameRepositoriesDefault ¶
func NewGetUsersUsernameRepositoriesDefault(code int) *GetUsersUsernameRepositoriesDefault
NewGetUsersUsernameRepositoriesDefault creates a GetUsersUsernameRepositoriesDefault with default headers values
func (*GetUsersUsernameRepositoriesDefault) Code ¶
func (o *GetUsersUsernameRepositoriesDefault) Code() int
Code gets the status code for the get users username repositories default response
func (*GetUsersUsernameRepositoriesDefault) Error ¶
func (o *GetUsersUsernameRepositoriesDefault) Error() string
func (*GetUsersUsernameRepositoriesDefault) GetPayload ¶
func (o *GetUsersUsernameRepositoriesDefault) GetPayload() *models.Error
type GetUsersUsernameRepositoriesParams ¶
type GetUsersUsernameRepositoriesParams struct { /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersUsernameRepositoriesParams contains all the parameters to send to the API endpoint for the get users username repositories operation typically these are written to a http.Request
func NewGetUsersUsernameRepositoriesParams ¶
func NewGetUsersUsernameRepositoriesParams() *GetUsersUsernameRepositoriesParams
NewGetUsersUsernameRepositoriesParams creates a new GetUsersUsernameRepositoriesParams object with the default values initialized.
func NewGetUsersUsernameRepositoriesParamsWithContext ¶
func NewGetUsersUsernameRepositoriesParamsWithContext(ctx context.Context) *GetUsersUsernameRepositoriesParams
NewGetUsersUsernameRepositoriesParamsWithContext creates a new GetUsersUsernameRepositoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsersUsernameRepositoriesParamsWithHTTPClient ¶
func NewGetUsersUsernameRepositoriesParamsWithHTTPClient(client *http.Client) *GetUsersUsernameRepositoriesParams
NewGetUsersUsernameRepositoriesParamsWithHTTPClient creates a new GetUsersUsernameRepositoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsersUsernameRepositoriesParamsWithTimeout ¶
func NewGetUsersUsernameRepositoriesParamsWithTimeout(timeout time.Duration) *GetUsersUsernameRepositoriesParams
NewGetUsersUsernameRepositoriesParamsWithTimeout creates a new GetUsersUsernameRepositoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsersUsernameRepositoriesParams) SetContext ¶
func (o *GetUsersUsernameRepositoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) SetHTTPClient ¶
func (o *GetUsersUsernameRepositoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) SetTimeout ¶
func (o *GetUsersUsernameRepositoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) SetUsername ¶
func (o *GetUsersUsernameRepositoriesParams) SetUsername(username string)
SetUsername adds the username to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) WithContext ¶
func (o *GetUsersUsernameRepositoriesParams) WithContext(ctx context.Context) *GetUsersUsernameRepositoriesParams
WithContext adds the context to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) WithHTTPClient ¶
func (o *GetUsersUsernameRepositoriesParams) WithHTTPClient(client *http.Client) *GetUsersUsernameRepositoriesParams
WithHTTPClient adds the HTTPClient to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) WithTimeout ¶
func (o *GetUsersUsernameRepositoriesParams) WithTimeout(timeout time.Duration) *GetUsersUsernameRepositoriesParams
WithTimeout adds the timeout to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) WithUsername ¶
func (o *GetUsersUsernameRepositoriesParams) WithUsername(username string) *GetUsersUsernameRepositoriesParams
WithUsername adds the username to the get users username repositories params
func (*GetUsersUsernameRepositoriesParams) WriteToRequest ¶
func (o *GetUsersUsernameRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersUsernameRepositoriesReader ¶
type GetUsersUsernameRepositoriesReader struct {
// contains filtered or unexported fields
}
GetUsersUsernameRepositoriesReader is a Reader for the GetUsersUsernameRepositories structure.
func (*GetUsersUsernameRepositoriesReader) ReadResponse ¶
func (o *GetUsersUsernameRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUsersUsernameHooksCreated ¶
type PostUsersUsernameHooksCreated struct { /*The URL of new newly created webhook. */ Location string Payload *models.WebhookSubscription }
PostUsersUsernameHooksCreated handles this case with default header values.
The newly installed webhook.
func NewPostUsersUsernameHooksCreated ¶
func NewPostUsersUsernameHooksCreated() *PostUsersUsernameHooksCreated
NewPostUsersUsernameHooksCreated creates a PostUsersUsernameHooksCreated with default headers values
func (*PostUsersUsernameHooksCreated) Error ¶
func (o *PostUsersUsernameHooksCreated) Error() string
func (*PostUsersUsernameHooksCreated) GetPayload ¶
func (o *PostUsersUsernameHooksCreated) GetPayload() *models.WebhookSubscription
type PostUsersUsernameHooksForbidden ¶
PostUsersUsernameHooksForbidden handles this case with default header values.
If the authenticated user is accessing an account other than their own.
func NewPostUsersUsernameHooksForbidden ¶
func NewPostUsersUsernameHooksForbidden() *PostUsersUsernameHooksForbidden
NewPostUsersUsernameHooksForbidden creates a PostUsersUsernameHooksForbidden with default headers values
func (*PostUsersUsernameHooksForbidden) Error ¶
func (o *PostUsersUsernameHooksForbidden) Error() string
func (*PostUsersUsernameHooksForbidden) GetPayload ¶
func (o *PostUsersUsernameHooksForbidden) GetPayload() *models.Error
type PostUsersUsernameHooksNotFound ¶
PostUsersUsernameHooksNotFound handles this case with default header values.
If the specified account does not exist.
func NewPostUsersUsernameHooksNotFound ¶
func NewPostUsersUsernameHooksNotFound() *PostUsersUsernameHooksNotFound
NewPostUsersUsernameHooksNotFound creates a PostUsersUsernameHooksNotFound with default headers values
func (*PostUsersUsernameHooksNotFound) Error ¶
func (o *PostUsersUsernameHooksNotFound) Error() string
func (*PostUsersUsernameHooksNotFound) GetPayload ¶
func (o *PostUsersUsernameHooksNotFound) GetPayload() *models.Error
type PostUsersUsernameHooksParams ¶
type PostUsersUsernameHooksParams struct { /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUsersUsernameHooksParams contains all the parameters to send to the API endpoint for the post users username hooks operation typically these are written to a http.Request
func NewPostUsersUsernameHooksParams ¶
func NewPostUsersUsernameHooksParams() *PostUsersUsernameHooksParams
NewPostUsersUsernameHooksParams creates a new PostUsersUsernameHooksParams object with the default values initialized.
func NewPostUsersUsernameHooksParamsWithContext ¶
func NewPostUsersUsernameHooksParamsWithContext(ctx context.Context) *PostUsersUsernameHooksParams
NewPostUsersUsernameHooksParamsWithContext creates a new PostUsersUsernameHooksParams object with the default values initialized, and the ability to set a context for a request
func NewPostUsersUsernameHooksParamsWithHTTPClient ¶
func NewPostUsersUsernameHooksParamsWithHTTPClient(client *http.Client) *PostUsersUsernameHooksParams
NewPostUsersUsernameHooksParamsWithHTTPClient creates a new PostUsersUsernameHooksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostUsersUsernameHooksParamsWithTimeout ¶
func NewPostUsersUsernameHooksParamsWithTimeout(timeout time.Duration) *PostUsersUsernameHooksParams
NewPostUsersUsernameHooksParamsWithTimeout creates a new PostUsersUsernameHooksParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostUsersUsernameHooksParams) SetContext ¶
func (o *PostUsersUsernameHooksParams) SetContext(ctx context.Context)
SetContext adds the context to the post users username hooks params
func (*PostUsersUsernameHooksParams) SetHTTPClient ¶
func (o *PostUsersUsernameHooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post users username hooks params
func (*PostUsersUsernameHooksParams) SetTimeout ¶
func (o *PostUsersUsernameHooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post users username hooks params
func (*PostUsersUsernameHooksParams) SetUsername ¶
func (o *PostUsersUsernameHooksParams) SetUsername(username string)
SetUsername adds the username to the post users username hooks params
func (*PostUsersUsernameHooksParams) WithContext ¶
func (o *PostUsersUsernameHooksParams) WithContext(ctx context.Context) *PostUsersUsernameHooksParams
WithContext adds the context to the post users username hooks params
func (*PostUsersUsernameHooksParams) WithHTTPClient ¶
func (o *PostUsersUsernameHooksParams) WithHTTPClient(client *http.Client) *PostUsersUsernameHooksParams
WithHTTPClient adds the HTTPClient to the post users username hooks params
func (*PostUsersUsernameHooksParams) WithTimeout ¶
func (o *PostUsersUsernameHooksParams) WithTimeout(timeout time.Duration) *PostUsersUsernameHooksParams
WithTimeout adds the timeout to the post users username hooks params
func (*PostUsersUsernameHooksParams) WithUsername ¶
func (o *PostUsersUsernameHooksParams) WithUsername(username string) *PostUsersUsernameHooksParams
WithUsername adds the username to the post users username hooks params
func (*PostUsersUsernameHooksParams) WriteToRequest ¶
func (o *PostUsersUsernameHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUsersUsernameHooksReader ¶
type PostUsersUsernameHooksReader struct {
// contains filtered or unexported fields
}
PostUsersUsernameHooksReader is a Reader for the PostUsersUsernameHooks structure.
func (*PostUsersUsernameHooksReader) ReadResponse ¶
func (o *PostUsersUsernameHooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutUsersUsernameHooksUIDForbidden ¶
PutUsersUsernameHooksUIDForbidden handles this case with default header values.
If the authenticated user does not have permission to update the webhook.
func NewPutUsersUsernameHooksUIDForbidden ¶
func NewPutUsersUsernameHooksUIDForbidden() *PutUsersUsernameHooksUIDForbidden
NewPutUsersUsernameHooksUIDForbidden creates a PutUsersUsernameHooksUIDForbidden with default headers values
func (*PutUsersUsernameHooksUIDForbidden) Error ¶
func (o *PutUsersUsernameHooksUIDForbidden) Error() string
func (*PutUsersUsernameHooksUIDForbidden) GetPayload ¶
func (o *PutUsersUsernameHooksUIDForbidden) GetPayload() *models.Error
type PutUsersUsernameHooksUIDNotFound ¶
PutUsersUsernameHooksUIDNotFound handles this case with default header values.
If the webhook or user does not exist.
func NewPutUsersUsernameHooksUIDNotFound ¶
func NewPutUsersUsernameHooksUIDNotFound() *PutUsersUsernameHooksUIDNotFound
NewPutUsersUsernameHooksUIDNotFound creates a PutUsersUsernameHooksUIDNotFound with default headers values
func (*PutUsersUsernameHooksUIDNotFound) Error ¶
func (o *PutUsersUsernameHooksUIDNotFound) Error() string
func (*PutUsersUsernameHooksUIDNotFound) GetPayload ¶
func (o *PutUsersUsernameHooksUIDNotFound) GetPayload() *models.Error
type PutUsersUsernameHooksUIDOK ¶
type PutUsersUsernameHooksUIDOK struct {
Payload *models.WebhookSubscription
}
PutUsersUsernameHooksUIDOK handles this case with default header values.
The webhook subscription object.
func NewPutUsersUsernameHooksUIDOK ¶
func NewPutUsersUsernameHooksUIDOK() *PutUsersUsernameHooksUIDOK
NewPutUsersUsernameHooksUIDOK creates a PutUsersUsernameHooksUIDOK with default headers values
func (*PutUsersUsernameHooksUIDOK) Error ¶
func (o *PutUsersUsernameHooksUIDOK) Error() string
func (*PutUsersUsernameHooksUIDOK) GetPayload ¶
func (o *PutUsersUsernameHooksUIDOK) GetPayload() *models.WebhookSubscription
type PutUsersUsernameHooksUIDParams ¶
type PutUsersUsernameHooksUIDParams struct { /*UID The installed webhook's id */ UID string /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutUsersUsernameHooksUIDParams contains all the parameters to send to the API endpoint for the put users username hooks UID operation typically these are written to a http.Request
func NewPutUsersUsernameHooksUIDParams ¶
func NewPutUsersUsernameHooksUIDParams() *PutUsersUsernameHooksUIDParams
NewPutUsersUsernameHooksUIDParams creates a new PutUsersUsernameHooksUIDParams object with the default values initialized.
func NewPutUsersUsernameHooksUIDParamsWithContext ¶
func NewPutUsersUsernameHooksUIDParamsWithContext(ctx context.Context) *PutUsersUsernameHooksUIDParams
NewPutUsersUsernameHooksUIDParamsWithContext creates a new PutUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutUsersUsernameHooksUIDParamsWithHTTPClient ¶
func NewPutUsersUsernameHooksUIDParamsWithHTTPClient(client *http.Client) *PutUsersUsernameHooksUIDParams
NewPutUsersUsernameHooksUIDParamsWithHTTPClient creates a new PutUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutUsersUsernameHooksUIDParamsWithTimeout ¶
func NewPutUsersUsernameHooksUIDParamsWithTimeout(timeout time.Duration) *PutUsersUsernameHooksUIDParams
NewPutUsersUsernameHooksUIDParamsWithTimeout creates a new PutUsersUsernameHooksUIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutUsersUsernameHooksUIDParams) SetContext ¶
func (o *PutUsersUsernameHooksUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) SetHTTPClient ¶
func (o *PutUsersUsernameHooksUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) SetTimeout ¶
func (o *PutUsersUsernameHooksUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) SetUID ¶
func (o *PutUsersUsernameHooksUIDParams) SetUID(uid string)
SetUID adds the uid to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) SetUsername ¶
func (o *PutUsersUsernameHooksUIDParams) SetUsername(username string)
SetUsername adds the username to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) WithContext ¶
func (o *PutUsersUsernameHooksUIDParams) WithContext(ctx context.Context) *PutUsersUsernameHooksUIDParams
WithContext adds the context to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) WithHTTPClient ¶
func (o *PutUsersUsernameHooksUIDParams) WithHTTPClient(client *http.Client) *PutUsersUsernameHooksUIDParams
WithHTTPClient adds the HTTPClient to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) WithTimeout ¶
func (o *PutUsersUsernameHooksUIDParams) WithTimeout(timeout time.Duration) *PutUsersUsernameHooksUIDParams
WithTimeout adds the timeout to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) WithUID ¶
func (o *PutUsersUsernameHooksUIDParams) WithUID(uid string) *PutUsersUsernameHooksUIDParams
WithUID adds the uid to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) WithUsername ¶
func (o *PutUsersUsernameHooksUIDParams) WithUsername(username string) *PutUsersUsernameHooksUIDParams
WithUsername adds the username to the put users username hooks UID params
func (*PutUsersUsernameHooksUIDParams) WriteToRequest ¶
func (o *PutUsersUsernameHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutUsersUsernameHooksUIDReader ¶
type PutUsersUsernameHooksUIDReader struct {
// contains filtered or unexported fields
}
PutUsersUsernameHooksUIDReader is a Reader for the PutUsersUsernameHooksUID structure.
func (*PutUsersUsernameHooksUIDReader) ReadResponse ¶
func (o *PutUsersUsernameHooksUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_users_username_hooks_uid_parameters.go
- delete_users_username_hooks_uid_responses.go
- get_teams_username_repositories_parameters.go
- get_teams_username_repositories_responses.go
- get_user_emails_email_parameters.go
- get_user_emails_email_responses.go
- get_user_emails_parameters.go
- get_user_emails_responses.go
- get_user_parameters.go
- get_user_responses.go
- get_users_selected_user_parameters.go
- get_users_selected_user_responses.go
- get_users_username_hooks_parameters.go
- get_users_username_hooks_responses.go
- get_users_username_hooks_uid_parameters.go
- get_users_username_hooks_uid_responses.go
- get_users_username_members_parameters.go
- get_users_username_members_responses.go
- get_users_username_repositories_parameters.go
- get_users_username_repositories_responses.go
- post_users_username_hooks_parameters.go
- post_users_username_hooks_responses.go
- put_users_username_hooks_uid_parameters.go
- put_users_username_hooks_uid_responses.go
- users_client.go