users

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

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

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

type DeleteUsersUsernameHooksUIDForbidden struct {
	Payload *models.Error
}

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 (*DeleteUsersUsernameHooksUIDForbidden) GetPayload

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

type DeleteUsersUsernameHooksUIDNotFound

type DeleteUsersUsernameHooksUIDNotFound struct {
	Payload *models.Error
}

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 (*DeleteUsersUsernameHooksUIDNotFound) GetPayload

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

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

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

WithContext adds the context to the delete users username hooks UID params

func (*DeleteUsersUsernameHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete users username hooks UID params

func (*DeleteUsersUsernameHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the delete users username hooks UID params

func (*DeleteUsersUsernameHooksUIDParams) WithUID

WithUID adds the uid to the delete users username hooks UID params

func (*DeleteUsersUsernameHooksUIDParams) WithUsername

WithUsername adds the username to the delete users username hooks UID params

func (*DeleteUsersUsernameHooksUIDParams) WriteToRequest

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

Code gets the status code for the get teams username repositories default response

func (*GetTeamsUsernameRepositoriesDefault) Error

func (*GetTeamsUsernameRepositoriesDefault) GetPayload

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

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

WithContext adds the context to the get teams username repositories params

func (*GetTeamsUsernameRepositoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get teams username repositories params

func (*GetTeamsUsernameRepositoriesParams) WithTimeout

WithTimeout adds the timeout to the get teams username repositories params

func (*GetTeamsUsernameRepositoriesParams) WithUsername

WithUsername adds the username to the get teams username repositories params

func (*GetTeamsUsernameRepositoriesParams) WriteToRequest

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

WithContext adds the context to the get user emails email params

func (*GetUserEmailsEmailParams) WithEmail

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

WithTimeout adds the timeout to the get user emails email params

func (*GetUserEmailsEmailParams) WriteToRequest

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

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

type GetUserOK struct {
	Payload *models.User
}

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) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.User

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 {
	Payload *models.Error
}

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

type GetUsersSelectedUserNotFound struct {
	Payload *models.Error
}

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 (*GetUsersSelectedUserNotFound) GetPayload

func (o *GetUsersSelectedUserNotFound) GetPayload() *models.Error

type GetUsersSelectedUserOK

type GetUsersSelectedUserOK struct {
	Payload *models.User
}

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

WithContext adds the context to the get users selected user params

func (*GetUsersSelectedUserParams) WithHTTPClient

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

WithTimeout adds the timeout to the get users selected user params

func (*GetUsersSelectedUserParams) WriteToRequest

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

type GetUsersUsernameHooksForbidden struct {
	Payload *models.Error
}

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 (*GetUsersUsernameHooksForbidden) GetPayload

func (o *GetUsersUsernameHooksForbidden) GetPayload() *models.Error

type GetUsersUsernameHooksNotFound

type GetUsersUsernameHooksNotFound struct {
	Payload *models.Error
}

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 (*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

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

WithContext adds the context to the get users username hooks params

func (*GetUsersUsernameHooksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get users username hooks params

func (*GetUsersUsernameHooksParams) WithTimeout

WithTimeout adds the timeout to the get users username hooks params

func (*GetUsersUsernameHooksParams) WithUsername

WithUsername adds the username to the get users username hooks params

func (*GetUsersUsernameHooksParams) WriteToRequest

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

type GetUsersUsernameHooksUIDNotFound struct {
	Payload *models.Error
}

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 (*GetUsersUsernameHooksUIDNotFound) GetPayload

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 (*GetUsersUsernameHooksUIDOK) GetPayload

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

WithContext adds the context to the get users username hooks UID params

func (*GetUsersUsernameHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get users username hooks UID params

func (*GetUsersUsernameHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the get users username hooks UID params

func (*GetUsersUsernameHooksUIDParams) WithUID

WithUID adds the uid to the get users username hooks UID params

func (*GetUsersUsernameHooksUIDParams) WithUsername

WithUsername adds the username to the get users username hooks UID params

func (*GetUsersUsernameHooksUIDParams) WriteToRequest

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

type GetUsersUsernameMembersNotFound struct {
	Payload *models.Error
}

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 (*GetUsersUsernameMembersNotFound) GetPayload

func (o *GetUsersUsernameMembersNotFound) GetPayload() *models.Error

type GetUsersUsernameMembersOK

type GetUsersUsernameMembersOK struct {
	Payload *models.User
}

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

WithContext adds the context to the get users username members params

func (*GetUsersUsernameMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get users username members params

func (*GetUsersUsernameMembersParams) WithTimeout

WithTimeout adds the timeout to the get users username members params

func (*GetUsersUsernameMembersParams) WithUsername

WithUsername adds the username to the get users username members params

func (*GetUsersUsernameMembersParams) WriteToRequest

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

Code gets the status code for the get users username repositories default response

func (*GetUsersUsernameRepositoriesDefault) Error

func (*GetUsersUsernameRepositoriesDefault) GetPayload

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

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

WithContext adds the context to the get users username repositories params

func (*GetUsersUsernameRepositoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get users username repositories params

func (*GetUsersUsernameRepositoriesParams) WithTimeout

WithTimeout adds the timeout to the get users username repositories params

func (*GetUsersUsernameRepositoriesParams) WithUsername

WithUsername adds the username to the get users username repositories params

func (*GetUsersUsernameRepositoriesParams) WriteToRequest

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 (*PostUsersUsernameHooksCreated) GetPayload

type PostUsersUsernameHooksForbidden

type PostUsersUsernameHooksForbidden struct {
	Payload *models.Error
}

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 (*PostUsersUsernameHooksForbidden) GetPayload

func (o *PostUsersUsernameHooksForbidden) GetPayload() *models.Error

type PostUsersUsernameHooksNotFound

type PostUsersUsernameHooksNotFound struct {
	Payload *models.Error
}

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 (*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

WithContext adds the context to the post users username hooks params

func (*PostUsersUsernameHooksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post users username hooks params

func (*PostUsersUsernameHooksParams) WithTimeout

WithTimeout adds the timeout to the post users username hooks params

func (*PostUsersUsernameHooksParams) WithUsername

WithUsername adds the username to the post users username hooks params

func (*PostUsersUsernameHooksParams) WriteToRequest

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

type PutUsersUsernameHooksUIDForbidden struct {
	Payload *models.Error
}

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 (*PutUsersUsernameHooksUIDForbidden) GetPayload

type PutUsersUsernameHooksUIDNotFound

type PutUsersUsernameHooksUIDNotFound struct {
	Payload *models.Error
}

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 (*PutUsersUsernameHooksUIDNotFound) GetPayload

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 (*PutUsersUsernameHooksUIDOK) GetPayload

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

WithContext adds the context to the put users username hooks UID params

func (*PutUsersUsernameHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put users username hooks UID params

func (*PutUsersUsernameHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the put users username hooks UID params

func (*PutUsersUsernameHooksUIDParams) WithUID

WithUID adds the uid to the put users username hooks UID params

func (*PutUsersUsernameHooksUIDParams) WithUsername

WithUsername adds the username to the put users username hooks UID params

func (*PutUsersUsernameHooksUIDParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL