resttesting

package
v0.0.0-...-77c9f96 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package resttesting provides primitives to interact with the openapi HTTP API.

Code generated by unknown module path version unknown version DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminPingRequest

func NewAdminPingRequest(server string) (*http.Request, error)

NewAdminPingRequest generates requests for AdminPing

func NewCreateActivityRequest

func NewCreateActivityRequest(server string, projectName ProjectName, body rest.CreateActivityRequest) (*http.Request, error)

NewCreateActivityRequest calls the generic CreateActivity builder with application/json body

func NewCreateActivityRequestWithBody

func NewCreateActivityRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)

NewCreateActivityRequestWithBody generates requests for CreateActivity with any type of body

func NewCreateTeamRequest

func NewCreateTeamRequest(server string, projectName ProjectName, body rest.CreateTeamRequest) (*http.Request, error)

NewCreateTeamRequest calls the generic CreateTeam builder with application/json body

func NewCreateTeamRequestWithBody

func NewCreateTeamRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)

NewCreateTeamRequestWithBody generates requests for CreateTeam with any type of body

func NewCreateTimeEntryRequest

func NewCreateTimeEntryRequest(server string, body rest.CreateTimeEntryRequest) (*http.Request, error)

NewCreateTimeEntryRequest calls the generic CreateTimeEntry builder with application/json body

func NewCreateTimeEntryRequestWithBody

func NewCreateTimeEntryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateTimeEntryRequestWithBody generates requests for CreateTimeEntry with any type of body

func NewCreateWorkItemCommentRequest

func NewCreateWorkItemCommentRequest(server string, workItemID int, body rest.CreateWorkItemCommentRequest) (*http.Request, error)

NewCreateWorkItemCommentRequest calls the generic CreateWorkItemComment builder with application/json body

func NewCreateWorkItemCommentRequestWithBody

func NewCreateWorkItemCommentRequestWithBody(server string, workItemID int, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkItemCommentRequestWithBody generates requests for CreateWorkItemComment with any type of body

func NewCreateWorkItemTagRequest

func NewCreateWorkItemTagRequest(server string, projectName ProjectName, body rest.CreateWorkItemTagRequest) (*http.Request, error)

NewCreateWorkItemTagRequest calls the generic CreateWorkItemTag builder with application/json body

func NewCreateWorkItemTagRequestWithBody

func NewCreateWorkItemTagRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkItemTagRequestWithBody generates requests for CreateWorkItemTag with any type of body

func NewCreateWorkItemTypeRequest

func NewCreateWorkItemTypeRequest(server string, projectName ProjectName, body rest.CreateWorkItemTypeRequest) (*http.Request, error)

NewCreateWorkItemTypeRequest calls the generic CreateWorkItemType builder with application/json body

func NewCreateWorkItemTypeRequestWithBody

func NewCreateWorkItemTypeRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkItemTypeRequestWithBody generates requests for CreateWorkItemType with any type of body

func NewCreateWorkitemRequest

func NewCreateWorkitemRequest(server string, body CreateWorkitemJSONRequestBody) (*http.Request, error)

NewCreateWorkitemRequest calls the generic CreateWorkitem builder with application/json body

func NewCreateWorkitemRequestWithBody

func NewCreateWorkitemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkitemRequestWithBody generates requests for CreateWorkitem with any type of body

func NewDeleteActivityRequest

func NewDeleteActivityRequest(server string, activityID models.ActivityID) (*http.Request, error)

NewDeleteActivityRequest generates requests for DeleteActivity

func NewDeleteTeamRequest

func NewDeleteTeamRequest(server string, teamID models.TeamID) (*http.Request, error)

NewDeleteTeamRequest generates requests for DeleteTeam

func NewDeleteTimeEntryRequest

func NewDeleteTimeEntryRequest(server string, timeEntryID models.TimeEntryID) (*http.Request, error)

NewDeleteTimeEntryRequest generates requests for DeleteTimeEntry

func NewDeleteUserRequest

func NewDeleteUserRequest(server string, id uuid.UUID) (*http.Request, error)

NewDeleteUserRequest generates requests for DeleteUser

func NewDeleteWorkItemCommentRequest

func NewDeleteWorkItemCommentRequest(server string, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID) (*http.Request, error)

NewDeleteWorkItemCommentRequest generates requests for DeleteWorkItemComment

func NewDeleteWorkItemTagRequest

func NewDeleteWorkItemTagRequest(server string, workItemTagID models.WorkItemTagID) (*http.Request, error)

NewDeleteWorkItemTagRequest generates requests for DeleteWorkItemTag

func NewDeleteWorkItemTypeRequest

func NewDeleteWorkItemTypeRequest(server string, workItemTypeID models.WorkItemTypeID) (*http.Request, error)

NewDeleteWorkItemTypeRequest generates requests for DeleteWorkItemType

func NewDeleteWorkitemRequest

func NewDeleteWorkitemRequest(server string, workItemID models.WorkItemID) (*http.Request, error)

NewDeleteWorkitemRequest generates requests for DeleteWorkitem

func NewEventsRequest

func NewEventsRequest(server string, params *EventsParams) (*http.Request, error)

NewEventsRequest generates requests for Events

func NewGetActivityRequest

func NewGetActivityRequest(server string, activityID models.ActivityID) (*http.Request, error)

NewGetActivityRequest generates requests for GetActivity

func NewGetCurrentUserRequest

func NewGetCurrentUserRequest(server string) (*http.Request, error)

NewGetCurrentUserRequest generates requests for GetCurrentUser

func NewGetPaginatedNotificationsRequest

func NewGetPaginatedNotificationsRequest(server string, params *GetPaginatedNotificationsParams) (*http.Request, error)

NewGetPaginatedNotificationsRequest generates requests for GetPaginatedNotifications

func NewGetPaginatedUsersRequest

func NewGetPaginatedUsersRequest(server string, params *GetPaginatedUsersParams) (*http.Request, error)

NewGetPaginatedUsersRequest generates requests for GetPaginatedUsers

func NewGetPaginatedWorkItemRequest

func NewGetPaginatedWorkItemRequest(server string, params *GetPaginatedWorkItemParams) (*http.Request, error)

NewGetPaginatedWorkItemRequest generates requests for GetPaginatedWorkItem

func NewGetProjectBoardRequest

func NewGetProjectBoardRequest(server string, projectName ProjectName) (*http.Request, error)

NewGetProjectBoardRequest generates requests for GetProjectBoard

func NewGetProjectConfigRequest

func NewGetProjectConfigRequest(server string, projectName ProjectName) (*http.Request, error)

NewGetProjectConfigRequest generates requests for GetProjectConfig

func NewGetProjectRequest

func NewGetProjectRequest(server string, projectName ProjectName) (*http.Request, error)

NewGetProjectRequest generates requests for GetProject

func NewGetProjectWorkitemsRequest

func NewGetProjectWorkitemsRequest(server string, projectName ProjectName, params *GetProjectWorkitemsParams) (*http.Request, error)

NewGetProjectWorkitemsRequest generates requests for GetProjectWorkitems

func NewGetTeamRequest

func NewGetTeamRequest(server string, teamID models.TeamID) (*http.Request, error)

NewGetTeamRequest generates requests for GetTeam

func NewGetTimeEntryRequest

func NewGetTimeEntryRequest(server string, timeEntryID models.TimeEntryID) (*http.Request, error)

NewGetTimeEntryRequest generates requests for GetTimeEntry

func NewGetWorkItemCommentRequest

func NewGetWorkItemCommentRequest(server string, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID) (*http.Request, error)

NewGetWorkItemCommentRequest generates requests for GetWorkItemComment

func NewGetWorkItemRequest

func NewGetWorkItemRequest(server string, workItemID models.WorkItemID) (*http.Request, error)

NewGetWorkItemRequest generates requests for GetWorkItem

func NewGetWorkItemTagRequest

func NewGetWorkItemTagRequest(server string, workItemTagID models.WorkItemTagID) (*http.Request, error)

NewGetWorkItemTagRequest generates requests for GetWorkItemTag

func NewGetWorkItemTypeRequest

func NewGetWorkItemTypeRequest(server string, workItemTypeID models.WorkItemTypeID) (*http.Request, error)

NewGetWorkItemTypeRequest generates requests for GetWorkItemType

func NewInitializeProjectRequest

func NewInitializeProjectRequest(server string, projectName ProjectName, body InitializeProjectJSONRequestBody) (*http.Request, error)

NewInitializeProjectRequest calls the generic InitializeProject builder with application/json body

func NewInitializeProjectRequestWithBody

func NewInitializeProjectRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)

NewInitializeProjectRequestWithBody generates requests for InitializeProject with any type of body

func NewMyProviderCallbackRequest

func NewMyProviderCallbackRequest(server string) (*http.Request, error)

NewMyProviderCallbackRequest generates requests for MyProviderCallback

func NewMyProviderLoginRequest

func NewMyProviderLoginRequest(server string, params *MyProviderLoginParams) (*http.Request, error)

NewMyProviderLoginRequest generates requests for MyProviderLogin

func NewOpenapiYamlGetRequest

func NewOpenapiYamlGetRequest(server string) (*http.Request, error)

NewOpenapiYamlGetRequest generates requests for OpenapiYamlGet

func NewPingRequest

func NewPingRequest(server string) (*http.Request, error)

NewPingRequest generates requests for Ping

func NewUpdateActivityRequest

func NewUpdateActivityRequest(server string, activityID models.ActivityID, body rest.UpdateActivityRequest) (*http.Request, error)

NewUpdateActivityRequest calls the generic UpdateActivity builder with application/json body

func NewUpdateActivityRequestWithBody

func NewUpdateActivityRequestWithBody(server string, activityID models.ActivityID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateActivityRequestWithBody generates requests for UpdateActivity with any type of body

func NewUpdateProjectConfigRequest

func NewUpdateProjectConfigRequest(server string, projectName ProjectName, body UpdateProjectConfigJSONRequestBody) (*http.Request, error)

NewUpdateProjectConfigRequest calls the generic UpdateProjectConfig builder with application/json body

func NewUpdateProjectConfigRequestWithBody

func NewUpdateProjectConfigRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProjectConfigRequestWithBody generates requests for UpdateProjectConfig with any type of body

func NewUpdateTeamRequest

func NewUpdateTeamRequest(server string, teamID models.TeamID, body rest.UpdateTeamRequest) (*http.Request, error)

NewUpdateTeamRequest calls the generic UpdateTeam builder with application/json body

func NewUpdateTeamRequestWithBody

func NewUpdateTeamRequestWithBody(server string, teamID models.TeamID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTeamRequestWithBody generates requests for UpdateTeam with any type of body

func NewUpdateTimeEntryRequest

func NewUpdateTimeEntryRequest(server string, timeEntryID models.TimeEntryID, body rest.UpdateTimeEntryRequest) (*http.Request, error)

NewUpdateTimeEntryRequest calls the generic UpdateTimeEntry builder with application/json body

func NewUpdateTimeEntryRequestWithBody

func NewUpdateTimeEntryRequestWithBody(server string, timeEntryID models.TimeEntryID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTimeEntryRequestWithBody generates requests for UpdateTimeEntry with any type of body

func NewUpdateUserAuthorizationRequest

func NewUpdateUserAuthorizationRequest(server string, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody) (*http.Request, error)

NewUpdateUserAuthorizationRequest calls the generic UpdateUserAuthorization builder with application/json body

func NewUpdateUserAuthorizationRequestWithBody

func NewUpdateUserAuthorizationRequestWithBody(server string, id uuid.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserAuthorizationRequestWithBody generates requests for UpdateUserAuthorization with any type of body

func NewUpdateUserRequest

func NewUpdateUserRequest(server string, id uuid.UUID, body UpdateUserJSONRequestBody) (*http.Request, error)

NewUpdateUserRequest calls the generic UpdateUser builder with application/json body

func NewUpdateUserRequestWithBody

func NewUpdateUserRequestWithBody(server string, id uuid.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserRequestWithBody generates requests for UpdateUser with any type of body

func NewUpdateWorkItemCommentRequest

func NewUpdateWorkItemCommentRequest(server string, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, body rest.UpdateWorkItemCommentRequest) (*http.Request, error)

NewUpdateWorkItemCommentRequest calls the generic UpdateWorkItemComment builder with application/json body

func NewUpdateWorkItemCommentRequestWithBody

func NewUpdateWorkItemCommentRequestWithBody(server string, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWorkItemCommentRequestWithBody generates requests for UpdateWorkItemComment with any type of body

func NewUpdateWorkItemTagRequest

func NewUpdateWorkItemTagRequest(server string, workItemTagID models.WorkItemTagID, body rest.UpdateWorkItemTagRequest) (*http.Request, error)

NewUpdateWorkItemTagRequest calls the generic UpdateWorkItemTag builder with application/json body

func NewUpdateWorkItemTagRequestWithBody

func NewUpdateWorkItemTagRequestWithBody(server string, workItemTagID models.WorkItemTagID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWorkItemTagRequestWithBody generates requests for UpdateWorkItemTag with any type of body

func NewUpdateWorkItemTypeRequest

func NewUpdateWorkItemTypeRequest(server string, workItemTypeID models.WorkItemTypeID, body rest.UpdateWorkItemTypeRequest) (*http.Request, error)

NewUpdateWorkItemTypeRequest calls the generic UpdateWorkItemType builder with application/json body

func NewUpdateWorkItemTypeRequestWithBody

func NewUpdateWorkItemTypeRequestWithBody(server string, workItemTypeID models.WorkItemTypeID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWorkItemTypeRequestWithBody generates requests for UpdateWorkItemType with any type of body

func NewUpdateWorkitemRequest

func NewUpdateWorkitemRequest(server string, workItemID models.WorkItemID) (*http.Request, error)

NewUpdateWorkitemRequest generates requests for UpdateWorkitem

Types

type AdminPingResponse

type AdminPingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseAdminPingResponse

func ParseAdminPingResponse(rsp *http.Response) (*AdminPingResponse, error)

ParseAdminPingResponse parses an HTTP response from a AdminPingWithResponse call

func (AdminPingResponse) Status

func (r AdminPingResponse) Status() string

Status returns HTTPResponse.Status

func (AdminPingResponse) StatusCode

func (r AdminPingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
	// contains filtered or unexported fields
}

Client which conforms to the OpenAPI3 specification for this service.

func (*Client) AdminPing

func (c *Client) AdminPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateActivity

func (c *Client) CreateActivity(ctx context.Context, projectName ProjectName, body rest.CreateActivityRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateActivityWithBody

func (c *Client) CreateActivityWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTeam

func (c *Client) CreateTeam(ctx context.Context, projectName ProjectName, body rest.CreateTeamRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTeamWithBody

func (c *Client) CreateTeamWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTimeEntry

func (c *Client) CreateTimeEntry(ctx context.Context, body rest.CreateTimeEntryRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTimeEntryWithBody

func (c *Client) CreateTimeEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkItemComment

func (c *Client) CreateWorkItemComment(ctx context.Context, workItemID int, body rest.CreateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkItemCommentWithBody

func (c *Client) CreateWorkItemCommentWithBody(ctx context.Context, workItemID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkItemTag

func (c *Client) CreateWorkItemTag(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkItemTagWithBody

func (c *Client) CreateWorkItemTagWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkItemType

func (c *Client) CreateWorkItemType(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkItemTypeWithBody

func (c *Client) CreateWorkItemTypeWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkitem

func (c *Client) CreateWorkitem(ctx context.Context, body CreateWorkitemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkitemWithBody

func (c *Client) CreateWorkitemWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteActivity

func (c *Client) DeleteActivity(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTeam

func (c *Client) DeleteTeam(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTimeEntry

func (c *Client) DeleteTimeEntry(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWorkItemComment

func (c *Client) DeleteWorkItemComment(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWorkItemTag

func (c *Client) DeleteWorkItemTag(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWorkItemType

func (c *Client) DeleteWorkItemType(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWorkitem

func (c *Client) DeleteWorkitem(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Events

func (c *Client) Events(ctx context.Context, recorder ResponseRecorder, params *EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetActivity

func (c *Client) GetActivity(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCurrentUser

func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaginatedNotifications

func (c *Client) GetPaginatedNotifications(ctx context.Context, params *GetPaginatedNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaginatedUsers

func (c *Client) GetPaginatedUsers(ctx context.Context, params *GetPaginatedUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPaginatedWorkItem

func (c *Client) GetPaginatedWorkItem(ctx context.Context, params *GetPaginatedWorkItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjectBoard

func (c *Client) GetProjectBoard(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjectConfig

func (c *Client) GetProjectConfig(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjectWorkitems

func (c *Client) GetProjectWorkitems(ctx context.Context, projectName ProjectName, params *GetProjectWorkitemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeam

func (c *Client) GetTeam(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTimeEntry

func (c *Client) GetTimeEntry(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkItem

func (c *Client) GetWorkItem(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkItemComment

func (c *Client) GetWorkItemComment(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkItemTag

func (c *Client) GetWorkItemTag(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkItemType

func (c *Client) GetWorkItemType(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InitializeProject

func (c *Client) InitializeProject(ctx context.Context, projectName ProjectName, body InitializeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InitializeProjectWithBody

func (c *Client) InitializeProjectWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MyProviderCallback

func (c *Client) MyProviderCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MyProviderLogin

func (c *Client) MyProviderLogin(ctx context.Context, params *MyProviderLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) OpenapiYamlGet

func (c *Client) OpenapiYamlGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Ping

func (c *Client) Ping(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateActivity

func (c *Client) UpdateActivity(ctx context.Context, activityID models.ActivityID, body rest.UpdateActivityRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateActivityWithBody

func (c *Client) UpdateActivityWithBody(ctx context.Context, activityID models.ActivityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProjectConfig

func (c *Client) UpdateProjectConfig(ctx context.Context, projectName ProjectName, body UpdateProjectConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProjectConfigWithBody

func (c *Client) UpdateProjectConfigWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTeam

func (c *Client) UpdateTeam(ctx context.Context, teamID models.TeamID, body rest.UpdateTeamRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTeamWithBody

func (c *Client) UpdateTeamWithBody(ctx context.Context, teamID models.TeamID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTimeEntry

func (c *Client) UpdateTimeEntry(ctx context.Context, timeEntryID models.TimeEntryID, body rest.UpdateTimeEntryRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTimeEntryWithBody

func (c *Client) UpdateTimeEntryWithBody(ctx context.Context, timeEntryID models.TimeEntryID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUser

func (c *Client) UpdateUser(ctx context.Context, id uuid.UUID, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserAuthorization

func (c *Client) UpdateUserAuthorization(ctx context.Context, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserAuthorizationWithBody

func (c *Client) UpdateUserAuthorizationWithBody(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserWithBody

func (c *Client) UpdateUserWithBody(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkItemComment

func (c *Client) UpdateWorkItemComment(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, body rest.UpdateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkItemCommentWithBody

func (c *Client) UpdateWorkItemCommentWithBody(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkItemTag

func (c *Client) UpdateWorkItemTag(ctx context.Context, workItemTagID models.WorkItemTagID, body rest.UpdateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkItemTagWithBody

func (c *Client) UpdateWorkItemTagWithBody(ctx context.Context, workItemTagID models.WorkItemTagID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkItemType

func (c *Client) UpdateWorkItemType(ctx context.Context, workItemTypeID models.WorkItemTypeID, body rest.UpdateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkItemTypeWithBody

func (c *Client) UpdateWorkItemTypeWithBody(ctx context.Context, workItemTypeID models.WorkItemTypeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkitem

func (c *Client) UpdateWorkitem(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// DeleteActivity request
	DeleteActivity(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetActivity request
	GetActivity(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateActivity request with any body
	UpdateActivityWithBody(ctx context.Context, activityID models.ActivityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateActivity(ctx context.Context, activityID models.ActivityID, body rest.UpdateActivityRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminPing request
	AdminPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MyProviderCallback request
	MyProviderCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MyProviderLogin request
	MyProviderLogin(ctx context.Context, params *MyProviderLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Events request
	Events(ctx context.Context, recorder ResponseRecorder, params *EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaginatedNotifications request
	GetPaginatedNotifications(ctx context.Context, params *GetPaginatedNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpenapiYamlGet request
	OpenapiYamlGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Ping request
	Ping(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject request
	GetProject(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateActivity request with any body
	CreateActivityWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateActivity(ctx context.Context, projectName ProjectName, body rest.CreateActivityRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectBoard request
	GetProjectBoard(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectConfig request
	GetProjectConfig(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectConfig request with any body
	UpdateProjectConfigWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateProjectConfig(ctx context.Context, projectName ProjectName, body UpdateProjectConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InitializeProject request with any body
	InitializeProjectWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	InitializeProject(ctx context.Context, projectName ProjectName, body InitializeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeam request with any body
	CreateTeamWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateTeam(ctx context.Context, projectName ProjectName, body rest.CreateTeamRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkItemTag request with any body
	CreateWorkItemTagWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWorkItemTag(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkItemType request with any body
	CreateWorkItemTypeWithBody(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWorkItemType(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectWorkitems request
	GetProjectWorkitems(ctx context.Context, projectName ProjectName, params *GetProjectWorkitemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTeam request
	DeleteTeam(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeam request
	GetTeam(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTeam request with any body
	UpdateTeamWithBody(ctx context.Context, teamID models.TeamID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTeam(ctx context.Context, teamID models.TeamID, body rest.UpdateTeamRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTimeEntry request with any body
	CreateTimeEntryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateTimeEntry(ctx context.Context, body rest.CreateTimeEntryRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTimeEntry request
	DeleteTimeEntry(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTimeEntry request
	GetTimeEntry(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTimeEntry request with any body
	UpdateTimeEntryWithBody(ctx context.Context, timeEntryID models.TimeEntryID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTimeEntry(ctx context.Context, timeEntryID models.TimeEntryID, body rest.UpdateTimeEntryRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentUser request
	GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaginatedUsers request
	GetPaginatedUsers(ctx context.Context, params *GetPaginatedUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUser request
	DeleteUser(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUser request with any body
	UpdateUserWithBody(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateUser(ctx context.Context, id uuid.UUID, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserAuthorization request with any body
	UpdateUserAuthorizationWithBody(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateUserAuthorization(ctx context.Context, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkItemTag request
	DeleteWorkItemTag(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkItemTag request
	GetWorkItemTag(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkItemTag request with any body
	UpdateWorkItemTagWithBody(ctx context.Context, workItemTagID models.WorkItemTagID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWorkItemTag(ctx context.Context, workItemTagID models.WorkItemTagID, body rest.UpdateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkItemType request
	DeleteWorkItemType(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkItemType request
	GetWorkItemType(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkItemType request with any body
	UpdateWorkItemTypeWithBody(ctx context.Context, workItemTypeID models.WorkItemTypeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWorkItemType(ctx context.Context, workItemTypeID models.WorkItemTypeID, body rest.UpdateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkitem request with any body
	CreateWorkitemWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWorkitem(ctx context.Context, body CreateWorkitemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPaginatedWorkItem request
	GetPaginatedWorkItem(ctx context.Context, params *GetPaginatedWorkItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkitem request
	DeleteWorkitem(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkItem request
	GetWorkItem(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkitem request
	UpdateWorkitem(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkItemComment request with any body
	CreateWorkItemCommentWithBody(ctx context.Context, workItemID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWorkItemComment(ctx context.Context, workItemID int, body rest.CreateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkItemComment request
	DeleteWorkItemComment(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkItemComment request
	GetWorkItemComment(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkItemComment request with any body
	UpdateWorkItemCommentWithBody(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWorkItemComment(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, body rest.UpdateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func NewTestClient

func NewTestClient(server string, testHandler http.Handler, opts ...ClientOption) (*ClientWithResponses, error)

NewTestClient creates a new ClientWithResponses for testing.

func (*ClientWithResponses) AdminPingWithResponse

func (c *ClientWithResponses) AdminPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminPingResponse, error)

AdminPingWithResponse request returning *AdminPingResponse

func (*ClientWithResponses) CreateActivityWithBodyWithResponse

func (c *ClientWithResponses) CreateActivityWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateActivityResponse, error)

CreateActivityWithBodyWithResponse request with arbitrary body returning *CreateActivityResponse

func (*ClientWithResponses) CreateActivityWithResponse

func (c *ClientWithResponses) CreateActivityWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateActivityRequest, reqEditors ...RequestEditorFn) (*CreateActivityResponse, error)

func (*ClientWithResponses) CreateTeamWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

CreateTeamWithBodyWithResponse request with arbitrary body returning *CreateTeamResponse

func (*ClientWithResponses) CreateTeamWithResponse

func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateTeamRequest, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

func (*ClientWithResponses) CreateTimeEntryWithBodyWithResponse

func (c *ClientWithResponses) CreateTimeEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTimeEntryResponse, error)

CreateTimeEntryWithBodyWithResponse request with arbitrary body returning *CreateTimeEntryResponse

func (*ClientWithResponses) CreateTimeEntryWithResponse

func (c *ClientWithResponses) CreateTimeEntryWithResponse(ctx context.Context, body rest.CreateTimeEntryRequest, reqEditors ...RequestEditorFn) (*CreateTimeEntryResponse, error)

func (*ClientWithResponses) CreateWorkItemCommentWithBodyWithResponse

func (c *ClientWithResponses) CreateWorkItemCommentWithBodyWithResponse(ctx context.Context, workItemID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkItemCommentResponse, error)

CreateWorkItemCommentWithBodyWithResponse request with arbitrary body returning *CreateWorkItemCommentResponse

func (*ClientWithResponses) CreateWorkItemCommentWithResponse

func (c *ClientWithResponses) CreateWorkItemCommentWithResponse(ctx context.Context, workItemID int, body rest.CreateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*CreateWorkItemCommentResponse, error)

func (*ClientWithResponses) CreateWorkItemTagWithBodyWithResponse

func (c *ClientWithResponses) CreateWorkItemTagWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkItemTagResponse, error)

CreateWorkItemTagWithBodyWithResponse request with arbitrary body returning *CreateWorkItemTagResponse

func (*ClientWithResponses) CreateWorkItemTagWithResponse

func (c *ClientWithResponses) CreateWorkItemTagWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*CreateWorkItemTagResponse, error)

func (*ClientWithResponses) CreateWorkItemTypeWithBodyWithResponse

func (c *ClientWithResponses) CreateWorkItemTypeWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkItemTypeResponse, error)

CreateWorkItemTypeWithBodyWithResponse request with arbitrary body returning *CreateWorkItemTypeResponse

func (*ClientWithResponses) CreateWorkItemTypeWithResponse

func (c *ClientWithResponses) CreateWorkItemTypeWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*CreateWorkItemTypeResponse, error)

func (*ClientWithResponses) CreateWorkitemWithBodyWithResponse

func (c *ClientWithResponses) CreateWorkitemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkitemResponse, error)

CreateWorkitemWithBodyWithResponse request with arbitrary body returning *CreateWorkitemResponse

func (*ClientWithResponses) CreateWorkitemWithResponse

func (c *ClientWithResponses) CreateWorkitemWithResponse(ctx context.Context, body CreateWorkitemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkitemResponse, error)

func (*ClientWithResponses) DeleteActivityWithResponse

func (c *ClientWithResponses) DeleteActivityWithResponse(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*DeleteActivityResponse, error)

DeleteActivityWithResponse request returning *DeleteActivityResponse

func (*ClientWithResponses) DeleteTeamWithResponse

func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)

DeleteTeamWithResponse request returning *DeleteTeamResponse

func (*ClientWithResponses) DeleteTimeEntryWithResponse

func (c *ClientWithResponses) DeleteTimeEntryWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*DeleteTimeEntryResponse, error)

DeleteTimeEntryWithResponse request returning *DeleteTimeEntryResponse

func (*ClientWithResponses) DeleteUserWithResponse

func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)

DeleteUserWithResponse request returning *DeleteUserResponse

func (*ClientWithResponses) DeleteWorkItemCommentWithResponse

func (c *ClientWithResponses) DeleteWorkItemCommentWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*DeleteWorkItemCommentResponse, error)

DeleteWorkItemCommentWithResponse request returning *DeleteWorkItemCommentResponse

func (*ClientWithResponses) DeleteWorkItemTagWithResponse

func (c *ClientWithResponses) DeleteWorkItemTagWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*DeleteWorkItemTagResponse, error)

DeleteWorkItemTagWithResponse request returning *DeleteWorkItemTagResponse

func (*ClientWithResponses) DeleteWorkItemTypeWithResponse

func (c *ClientWithResponses) DeleteWorkItemTypeWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*DeleteWorkItemTypeResponse, error)

DeleteWorkItemTypeWithResponse request returning *DeleteWorkItemTypeResponse

func (*ClientWithResponses) DeleteWorkitemWithResponse

func (c *ClientWithResponses) DeleteWorkitemWithResponse(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*DeleteWorkitemResponse, error)

DeleteWorkitemWithResponse request returning *DeleteWorkitemResponse

func (*ClientWithResponses) EventsWithResponse

func (c *ClientWithResponses) EventsWithResponse(ctx context.Context, recorder ResponseRecorder, params *EventsParams, reqEditors ...RequestEditorFn) (*EventsResponse, error)

EventsWithResponse request returning *EventsResponse

func (*ClientWithResponses) GetActivityWithResponse

func (c *ClientWithResponses) GetActivityWithResponse(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*GetActivityResponse, error)

GetActivityWithResponse request returning *GetActivityResponse

func (*ClientWithResponses) GetCurrentUserWithResponse

func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

GetCurrentUserWithResponse request returning *GetCurrentUserResponse

func (*ClientWithResponses) GetPaginatedNotificationsWithResponse

func (c *ClientWithResponses) GetPaginatedNotificationsWithResponse(ctx context.Context, params *GetPaginatedNotificationsParams, reqEditors ...RequestEditorFn) (*GetPaginatedNotificationsResponse, error)

GetPaginatedNotificationsWithResponse request returning *GetPaginatedNotificationsResponse

func (*ClientWithResponses) GetPaginatedUsersWithResponse

func (c *ClientWithResponses) GetPaginatedUsersWithResponse(ctx context.Context, params *GetPaginatedUsersParams, reqEditors ...RequestEditorFn) (*GetPaginatedUsersResponse, error)

GetPaginatedUsersWithResponse request returning *GetPaginatedUsersResponse

func (*ClientWithResponses) GetPaginatedWorkItemWithResponse

func (c *ClientWithResponses) GetPaginatedWorkItemWithResponse(ctx context.Context, params *GetPaginatedWorkItemParams, reqEditors ...RequestEditorFn) (*GetPaginatedWorkItemResponse, error)

GetPaginatedWorkItemWithResponse request returning *GetPaginatedWorkItemResponse

func (*ClientWithResponses) GetProjectBoardWithResponse

func (c *ClientWithResponses) GetProjectBoardWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectBoardResponse, error)

GetProjectBoardWithResponse request returning *GetProjectBoardResponse

func (*ClientWithResponses) GetProjectConfigWithResponse

func (c *ClientWithResponses) GetProjectConfigWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectConfigResponse, error)

GetProjectConfigWithResponse request returning *GetProjectConfigResponse

func (*ClientWithResponses) GetProjectWithResponse

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse request returning *GetProjectResponse

func (*ClientWithResponses) GetProjectWorkitemsWithResponse

func (c *ClientWithResponses) GetProjectWorkitemsWithResponse(ctx context.Context, projectName ProjectName, params *GetProjectWorkitemsParams, reqEditors ...RequestEditorFn) (*GetProjectWorkitemsResponse, error)

GetProjectWorkitemsWithResponse request returning *GetProjectWorkitemsResponse

func (*ClientWithResponses) GetTeamWithResponse

func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

GetTeamWithResponse request returning *GetTeamResponse

func (*ClientWithResponses) GetTimeEntryWithResponse

func (c *ClientWithResponses) GetTimeEntryWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*GetTimeEntryResponse, error)

GetTimeEntryWithResponse request returning *GetTimeEntryResponse

func (*ClientWithResponses) GetWorkItemCommentWithResponse

func (c *ClientWithResponses) GetWorkItemCommentWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*GetWorkItemCommentResponse, error)

GetWorkItemCommentWithResponse request returning *GetWorkItemCommentResponse

func (*ClientWithResponses) GetWorkItemTagWithResponse

func (c *ClientWithResponses) GetWorkItemTagWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*GetWorkItemTagResponse, error)

GetWorkItemTagWithResponse request returning *GetWorkItemTagResponse

func (*ClientWithResponses) GetWorkItemTypeWithResponse

func (c *ClientWithResponses) GetWorkItemTypeWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*GetWorkItemTypeResponse, error)

GetWorkItemTypeWithResponse request returning *GetWorkItemTypeResponse

func (*ClientWithResponses) GetWorkItemWithResponse

func (c *ClientWithResponses) GetWorkItemWithResponse(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*GetWorkItemResponse, error)

GetWorkItemWithResponse request returning *GetWorkItemResponse

func (*ClientWithResponses) InitializeProjectWithBodyWithResponse

func (c *ClientWithResponses) InitializeProjectWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InitializeProjectResponse, error)

InitializeProjectWithBodyWithResponse request with arbitrary body returning *InitializeProjectResponse

func (*ClientWithResponses) InitializeProjectWithResponse

func (c *ClientWithResponses) InitializeProjectWithResponse(ctx context.Context, projectName ProjectName, body InitializeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*InitializeProjectResponse, error)

func (*ClientWithResponses) MyProviderCallbackWithResponse

func (c *ClientWithResponses) MyProviderCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MyProviderCallbackResponse, error)

MyProviderCallbackWithResponse request returning *MyProviderCallbackResponse

func (*ClientWithResponses) MyProviderLoginWithResponse

func (c *ClientWithResponses) MyProviderLoginWithResponse(ctx context.Context, params *MyProviderLoginParams, reqEditors ...RequestEditorFn) (*MyProviderLoginResponse, error)

MyProviderLoginWithResponse request returning *MyProviderLoginResponse

func (*ClientWithResponses) OpenapiYamlGetWithResponse

func (c *ClientWithResponses) OpenapiYamlGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OpenapiYamlGetResponse, error)

OpenapiYamlGetWithResponse request returning *OpenapiYamlGetResponse

func (*ClientWithResponses) PingWithResponse

func (c *ClientWithResponses) PingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PingResponse, error)

PingWithResponse request returning *PingResponse

func (*ClientWithResponses) UpdateActivityWithBodyWithResponse

func (c *ClientWithResponses) UpdateActivityWithBodyWithResponse(ctx context.Context, activityID models.ActivityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActivityResponse, error)

UpdateActivityWithBodyWithResponse request with arbitrary body returning *UpdateActivityResponse

func (*ClientWithResponses) UpdateActivityWithResponse

func (c *ClientWithResponses) UpdateActivityWithResponse(ctx context.Context, activityID models.ActivityID, body rest.UpdateActivityRequest, reqEditors ...RequestEditorFn) (*UpdateActivityResponse, error)

func (*ClientWithResponses) UpdateProjectConfigWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectConfigWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectConfigResponse, error)

UpdateProjectConfigWithBodyWithResponse request with arbitrary body returning *UpdateProjectConfigResponse

func (*ClientWithResponses) UpdateProjectConfigWithResponse

func (c *ClientWithResponses) UpdateProjectConfigWithResponse(ctx context.Context, projectName ProjectName, body UpdateProjectConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectConfigResponse, error)

func (*ClientWithResponses) UpdateTeamWithBodyWithResponse

func (c *ClientWithResponses) UpdateTeamWithBodyWithResponse(ctx context.Context, teamID models.TeamID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

UpdateTeamWithBodyWithResponse request with arbitrary body returning *UpdateTeamResponse

func (*ClientWithResponses) UpdateTeamWithResponse

func (c *ClientWithResponses) UpdateTeamWithResponse(ctx context.Context, teamID models.TeamID, body rest.UpdateTeamRequest, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

func (*ClientWithResponses) UpdateTimeEntryWithBodyWithResponse

func (c *ClientWithResponses) UpdateTimeEntryWithBodyWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTimeEntryResponse, error)

UpdateTimeEntryWithBodyWithResponse request with arbitrary body returning *UpdateTimeEntryResponse

func (*ClientWithResponses) UpdateTimeEntryWithResponse

func (c *ClientWithResponses) UpdateTimeEntryWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, body rest.UpdateTimeEntryRequest, reqEditors ...RequestEditorFn) (*UpdateTimeEntryResponse, error)

func (*ClientWithResponses) UpdateUserAuthorizationWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserAuthorizationWithBodyWithResponse(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserAuthorizationResponse, error)

UpdateUserAuthorizationWithBodyWithResponse request with arbitrary body returning *UpdateUserAuthorizationResponse

func (*ClientWithResponses) UpdateUserAuthorizationWithResponse

func (c *ClientWithResponses) UpdateUserAuthorizationWithResponse(ctx context.Context, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserAuthorizationResponse, error)

func (*ClientWithResponses) UpdateUserWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

UpdateUserWithBodyWithResponse request with arbitrary body returning *UpdateUserResponse

func (*ClientWithResponses) UpdateUserWithResponse

func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, id uuid.UUID, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

func (*ClientWithResponses) UpdateWorkItemCommentWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkItemCommentWithBodyWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkItemCommentResponse, error)

UpdateWorkItemCommentWithBodyWithResponse request with arbitrary body returning *UpdateWorkItemCommentResponse

func (*ClientWithResponses) UpdateWorkItemCommentWithResponse

func (c *ClientWithResponses) UpdateWorkItemCommentWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, body rest.UpdateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*UpdateWorkItemCommentResponse, error)

func (*ClientWithResponses) UpdateWorkItemTagWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkItemTagWithBodyWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkItemTagResponse, error)

UpdateWorkItemTagWithBodyWithResponse request with arbitrary body returning *UpdateWorkItemTagResponse

func (*ClientWithResponses) UpdateWorkItemTagWithResponse

func (c *ClientWithResponses) UpdateWorkItemTagWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, body rest.UpdateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*UpdateWorkItemTagResponse, error)

func (*ClientWithResponses) UpdateWorkItemTypeWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkItemTypeWithBodyWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkItemTypeResponse, error)

UpdateWorkItemTypeWithBodyWithResponse request with arbitrary body returning *UpdateWorkItemTypeResponse

func (*ClientWithResponses) UpdateWorkItemTypeWithResponse

func (c *ClientWithResponses) UpdateWorkItemTypeWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, body rest.UpdateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*UpdateWorkItemTypeResponse, error)

func (*ClientWithResponses) UpdateWorkitemWithResponse

func (c *ClientWithResponses) UpdateWorkitemWithResponse(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*UpdateWorkitemResponse, error)

UpdateWorkitemWithResponse request returning *UpdateWorkitemResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// DeleteActivity request
	DeleteActivityWithResponse(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*DeleteActivityResponse, error)

	// GetActivity request
	GetActivityWithResponse(ctx context.Context, activityID models.ActivityID, reqEditors ...RequestEditorFn) (*GetActivityResponse, error)

	// UpdateActivity request with any body
	UpdateActivityWithBodyWithResponse(ctx context.Context, activityID models.ActivityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActivityResponse, error)

	UpdateActivityWithResponse(ctx context.Context, activityID models.ActivityID, body rest.UpdateActivityRequest, reqEditors ...RequestEditorFn) (*UpdateActivityResponse, error)

	// AdminPing request
	AdminPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminPingResponse, error)

	// MyProviderCallback request
	MyProviderCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MyProviderCallbackResponse, error)

	// MyProviderLogin request
	MyProviderLoginWithResponse(ctx context.Context, params *MyProviderLoginParams, reqEditors ...RequestEditorFn) (*MyProviderLoginResponse, error)

	// Events request
	EventsWithResponse(ctx context.Context, params *EventsParams, reqEditors ...RequestEditorFn) (*EventsResponse, error)

	// GetPaginatedNotifications request
	GetPaginatedNotificationsWithResponse(ctx context.Context, params *GetPaginatedNotificationsParams, reqEditors ...RequestEditorFn) (*GetPaginatedNotificationsResponse, error)

	// OpenapiYamlGet request
	OpenapiYamlGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OpenapiYamlGetResponse, error)

	// Ping request
	PingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PingResponse, error)

	// GetProject request
	GetProjectWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// CreateActivity request with any body
	CreateActivityWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateActivityResponse, error)

	CreateActivityWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateActivityRequest, reqEditors ...RequestEditorFn) (*CreateActivityResponse, error)

	// GetProjectBoard request
	GetProjectBoardWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectBoardResponse, error)

	// GetProjectConfig request
	GetProjectConfigWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectConfigResponse, error)

	// UpdateProjectConfig request with any body
	UpdateProjectConfigWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectConfigResponse, error)

	UpdateProjectConfigWithResponse(ctx context.Context, projectName ProjectName, body UpdateProjectConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectConfigResponse, error)

	// InitializeProject request with any body
	InitializeProjectWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InitializeProjectResponse, error)

	InitializeProjectWithResponse(ctx context.Context, projectName ProjectName, body InitializeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*InitializeProjectResponse, error)

	// CreateTeam request with any body
	CreateTeamWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	CreateTeamWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateTeamRequest, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// CreateWorkItemTag request with any body
	CreateWorkItemTagWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkItemTagResponse, error)

	CreateWorkItemTagWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*CreateWorkItemTagResponse, error)

	// CreateWorkItemType request with any body
	CreateWorkItemTypeWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkItemTypeResponse, error)

	CreateWorkItemTypeWithResponse(ctx context.Context, projectName ProjectName, body rest.CreateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*CreateWorkItemTypeResponse, error)

	// GetProjectWorkitems request
	GetProjectWorkitemsWithResponse(ctx context.Context, projectName ProjectName, params *GetProjectWorkitemsParams, reqEditors ...RequestEditorFn) (*GetProjectWorkitemsResponse, error)

	// DeleteTeam request
	DeleteTeamWithResponse(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)

	// GetTeam request
	GetTeamWithResponse(ctx context.Context, teamID models.TeamID, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)

	// UpdateTeam request with any body
	UpdateTeamWithBodyWithResponse(ctx context.Context, teamID models.TeamID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

	UpdateTeamWithResponse(ctx context.Context, teamID models.TeamID, body rest.UpdateTeamRequest, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

	// CreateTimeEntry request with any body
	CreateTimeEntryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTimeEntryResponse, error)

	CreateTimeEntryWithResponse(ctx context.Context, body rest.CreateTimeEntryRequest, reqEditors ...RequestEditorFn) (*CreateTimeEntryResponse, error)

	// DeleteTimeEntry request
	DeleteTimeEntryWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*DeleteTimeEntryResponse, error)

	// GetTimeEntry request
	GetTimeEntryWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, reqEditors ...RequestEditorFn) (*GetTimeEntryResponse, error)

	// UpdateTimeEntry request with any body
	UpdateTimeEntryWithBodyWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTimeEntryResponse, error)

	UpdateTimeEntryWithResponse(ctx context.Context, timeEntryID models.TimeEntryID, body rest.UpdateTimeEntryRequest, reqEditors ...RequestEditorFn) (*UpdateTimeEntryResponse, error)

	// GetCurrentUser request
	GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

	// GetPaginatedUsers request
	GetPaginatedUsersWithResponse(ctx context.Context, params *GetPaginatedUsersParams, reqEditors ...RequestEditorFn) (*GetPaginatedUsersResponse, error)

	// DeleteUser request
	DeleteUserWithResponse(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)

	// UpdateUser request with any body
	UpdateUserWithBodyWithResponse(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

	UpdateUserWithResponse(ctx context.Context, id uuid.UUID, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

	// UpdateUserAuthorization request with any body
	UpdateUserAuthorizationWithBodyWithResponse(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserAuthorizationResponse, error)

	UpdateUserAuthorizationWithResponse(ctx context.Context, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserAuthorizationResponse, error)

	// DeleteWorkItemTag request
	DeleteWorkItemTagWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*DeleteWorkItemTagResponse, error)

	// GetWorkItemTag request
	GetWorkItemTagWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, reqEditors ...RequestEditorFn) (*GetWorkItemTagResponse, error)

	// UpdateWorkItemTag request with any body
	UpdateWorkItemTagWithBodyWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkItemTagResponse, error)

	UpdateWorkItemTagWithResponse(ctx context.Context, workItemTagID models.WorkItemTagID, body rest.UpdateWorkItemTagRequest, reqEditors ...RequestEditorFn) (*UpdateWorkItemTagResponse, error)

	// DeleteWorkItemType request
	DeleteWorkItemTypeWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*DeleteWorkItemTypeResponse, error)

	// GetWorkItemType request
	GetWorkItemTypeWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, reqEditors ...RequestEditorFn) (*GetWorkItemTypeResponse, error)

	// UpdateWorkItemType request with any body
	UpdateWorkItemTypeWithBodyWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkItemTypeResponse, error)

	UpdateWorkItemTypeWithResponse(ctx context.Context, workItemTypeID models.WorkItemTypeID, body rest.UpdateWorkItemTypeRequest, reqEditors ...RequestEditorFn) (*UpdateWorkItemTypeResponse, error)

	// CreateWorkitem request with any body
	CreateWorkitemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkitemResponse, error)

	CreateWorkitemWithResponse(ctx context.Context, body CreateWorkitemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkitemResponse, error)

	// GetPaginatedWorkItem request
	GetPaginatedWorkItemWithResponse(ctx context.Context, params *GetPaginatedWorkItemParams, reqEditors ...RequestEditorFn) (*GetPaginatedWorkItemResponse, error)

	// DeleteWorkitem request
	DeleteWorkitemWithResponse(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*DeleteWorkitemResponse, error)

	// GetWorkItem request
	GetWorkItemWithResponse(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*GetWorkItemResponse, error)

	// UpdateWorkitem request
	UpdateWorkitemWithResponse(ctx context.Context, workItemID models.WorkItemID, reqEditors ...RequestEditorFn) (*UpdateWorkitemResponse, error)

	// CreateWorkItemComment request with any body
	CreateWorkItemCommentWithBodyWithResponse(ctx context.Context, workItemID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkItemCommentResponse, error)

	CreateWorkItemCommentWithResponse(ctx context.Context, workItemID int, body rest.CreateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*CreateWorkItemCommentResponse, error)

	// DeleteWorkItemComment request
	DeleteWorkItemCommentWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*DeleteWorkItemCommentResponse, error)

	// GetWorkItemComment request
	GetWorkItemCommentWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, reqEditors ...RequestEditorFn) (*GetWorkItemCommentResponse, error)

	// UpdateWorkItemComment request with any body
	UpdateWorkItemCommentWithBodyWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkItemCommentResponse, error)

	UpdateWorkItemCommentWithResponse(ctx context.Context, workItemID models.WorkItemID, workItemCommentID models.WorkItemCommentID, body rest.UpdateWorkItemCommentRequest, reqEditors ...RequestEditorFn) (*UpdateWorkItemCommentResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateActivityResponse

type CreateActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ActivityResponse
	JSON4XX      *HTTPError
}

func ParseCreateActivityResponse

func ParseCreateActivityResponse(rsp *http.Response) (*CreateActivityResponse, error)

ParseCreateActivityResponse parses an HTTP response from a CreateActivityWithResponse call

func (CreateActivityResponse) Status

func (r CreateActivityResponse) Status() string

Status returns HTTPResponse.Status

func (CreateActivityResponse) StatusCode

func (r CreateActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamResponse

type CreateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TeamResponse
	JSON4XX      *HTTPError
}

func ParseCreateTeamResponse

func ParseCreateTeamResponse(rsp *http.Response) (*CreateTeamResponse, error)

ParseCreateTeamResponse parses an HTTP response from a CreateTeamWithResponse call

func (CreateTeamResponse) Status

func (r CreateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamResponse) StatusCode

func (r CreateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTimeEntryResponse

type CreateTimeEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TimeEntryResponse
	JSON4XX      *HTTPError
}

func ParseCreateTimeEntryResponse

func ParseCreateTimeEntryResponse(rsp *http.Response) (*CreateTimeEntryResponse, error)

ParseCreateTimeEntryResponse parses an HTTP response from a CreateTimeEntryWithResponse call

func (CreateTimeEntryResponse) Status

func (r CreateTimeEntryResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTimeEntryResponse) StatusCode

func (r CreateTimeEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkItemCommentResponse

type CreateWorkItemCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WorkItemCommentResponse
	JSON4XX      *HTTPError
}

func ParseCreateWorkItemCommentResponse

func ParseCreateWorkItemCommentResponse(rsp *http.Response) (*CreateWorkItemCommentResponse, error)

ParseCreateWorkItemCommentResponse parses an HTTP response from a CreateWorkItemCommentWithResponse call

func (CreateWorkItemCommentResponse) Status

Status returns HTTPResponse.Status

func (CreateWorkItemCommentResponse) StatusCode

func (r CreateWorkItemCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkItemTagResponse

type CreateWorkItemTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WorkItemTagResponse
	JSON4XX      *HTTPError
}

func ParseCreateWorkItemTagResponse

func ParseCreateWorkItemTagResponse(rsp *http.Response) (*CreateWorkItemTagResponse, error)

ParseCreateWorkItemTagResponse parses an HTTP response from a CreateWorkItemTagWithResponse call

func (CreateWorkItemTagResponse) Status

func (r CreateWorkItemTagResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWorkItemTagResponse) StatusCode

func (r CreateWorkItemTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkItemTypeResponse

type CreateWorkItemTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WorkItemTypeResponse
	JSON4XX      *HTTPError
}

func ParseCreateWorkItemTypeResponse

func ParseCreateWorkItemTypeResponse(rsp *http.Response) (*CreateWorkItemTypeResponse, error)

ParseCreateWorkItemTypeResponse parses an HTTP response from a CreateWorkItemTypeWithResponse call

func (CreateWorkItemTypeResponse) Status

Status returns HTTPResponse.Status

func (CreateWorkItemTypeResponse) StatusCode

func (r CreateWorkItemTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkitemResponse

type CreateWorkitemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WorkItemResponse
}

func ParseCreateWorkitemResponse

func ParseCreateWorkitemResponse(rsp *http.Response) (*CreateWorkitemResponse, error)

ParseCreateWorkitemResponse parses an HTTP response from a CreateWorkitemWithResponse call

func (CreateWorkitemResponse) Status

func (r CreateWorkitemResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWorkitemResponse) StatusCode

func (r CreateWorkitemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteActivityResponse

type DeleteActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteActivityResponse

func ParseDeleteActivityResponse(rsp *http.Response) (*DeleteActivityResponse, error)

ParseDeleteActivityResponse parses an HTTP response from a DeleteActivityWithResponse call

func (DeleteActivityResponse) Status

func (r DeleteActivityResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteActivityResponse) StatusCode

func (r DeleteActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTeamResponse

type DeleteTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteTeamResponse

func ParseDeleteTeamResponse(rsp *http.Response) (*DeleteTeamResponse, error)

ParseDeleteTeamResponse parses an HTTP response from a DeleteTeamWithResponse call

func (DeleteTeamResponse) Status

func (r DeleteTeamResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTeamResponse) StatusCode

func (r DeleteTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTimeEntryResponse

type DeleteTimeEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteTimeEntryResponse

func ParseDeleteTimeEntryResponse(rsp *http.Response) (*DeleteTimeEntryResponse, error)

ParseDeleteTimeEntryResponse parses an HTTP response from a DeleteTimeEntryWithResponse call

func (DeleteTimeEntryResponse) Status

func (r DeleteTimeEntryResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTimeEntryResponse) StatusCode

func (r DeleteTimeEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUserResponse

type DeleteUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteUserResponse

func ParseDeleteUserResponse(rsp *http.Response) (*DeleteUserResponse, error)

ParseDeleteUserResponse parses an HTTP response from a DeleteUserWithResponse call

func (DeleteUserResponse) Status

func (r DeleteUserResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteUserResponse) StatusCode

func (r DeleteUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkItemCommentResponse

type DeleteWorkItemCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteWorkItemCommentResponse

func ParseDeleteWorkItemCommentResponse(rsp *http.Response) (*DeleteWorkItemCommentResponse, error)

ParseDeleteWorkItemCommentResponse parses an HTTP response from a DeleteWorkItemCommentWithResponse call

func (DeleteWorkItemCommentResponse) Status

Status returns HTTPResponse.Status

func (DeleteWorkItemCommentResponse) StatusCode

func (r DeleteWorkItemCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkItemTagResponse

type DeleteWorkItemTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteWorkItemTagResponse

func ParseDeleteWorkItemTagResponse(rsp *http.Response) (*DeleteWorkItemTagResponse, error)

ParseDeleteWorkItemTagResponse parses an HTTP response from a DeleteWorkItemTagWithResponse call

func (DeleteWorkItemTagResponse) Status

func (r DeleteWorkItemTagResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkItemTagResponse) StatusCode

func (r DeleteWorkItemTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkItemTypeResponse

type DeleteWorkItemTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseDeleteWorkItemTypeResponse

func ParseDeleteWorkItemTypeResponse(rsp *http.Response) (*DeleteWorkItemTypeResponse, error)

ParseDeleteWorkItemTypeResponse parses an HTTP response from a DeleteWorkItemTypeWithResponse call

func (DeleteWorkItemTypeResponse) Status

Status returns HTTPResponse.Status

func (DeleteWorkItemTypeResponse) StatusCode

func (r DeleteWorkItemTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkitemResponse

type DeleteWorkitemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteWorkitemResponse

func ParseDeleteWorkitemResponse(rsp *http.Response) (*DeleteWorkitemResponse, error)

ParseDeleteWorkitemResponse parses an HTTP response from a DeleteWorkitemWithResponse call

func (DeleteWorkitemResponse) Status

func (r DeleteWorkitemResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkitemResponse) StatusCode

func (r DeleteWorkitemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EventsResponse

type EventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseEventsResponse

func ParseEventsResponse(rsp *http.Response) (*EventsResponse, error)

ParseEventsResponse parses an HTTP response from a EventsWithResponse call

func (EventsResponse) Status

func (r EventsResponse) Status() string

Status returns HTTPResponse.Status

func (EventsResponse) StatusCode

func (r EventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetActivityResponse

type GetActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActivityResponse
	JSON4XX      *HTTPError
}

func ParseGetActivityResponse

func ParseGetActivityResponse(rsp *http.Response) (*GetActivityResponse, error)

ParseGetActivityResponse parses an HTTP response from a GetActivityWithResponse call

func (GetActivityResponse) Status

func (r GetActivityResponse) Status() string

Status returns HTTPResponse.Status

func (GetActivityResponse) StatusCode

func (r GetActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserResponse
	JSON4XX      *HTTPError
}

func ParseGetCurrentUserResponse

func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)

ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call

func (GetCurrentUserResponse) Status

func (r GetCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetCurrentUserResponse) StatusCode

func (r GetCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPaginatedNotificationsResponse

type GetPaginatedNotificationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedNotificationsResponse
	JSON4XX      *HTTPError
}

func ParseGetPaginatedNotificationsResponse

func ParseGetPaginatedNotificationsResponse(rsp *http.Response) (*GetPaginatedNotificationsResponse, error)

ParseGetPaginatedNotificationsResponse parses an HTTP response from a GetPaginatedNotificationsWithResponse call

func (GetPaginatedNotificationsResponse) Status

Status returns HTTPResponse.Status

func (GetPaginatedNotificationsResponse) StatusCode

func (r GetPaginatedNotificationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPaginatedUsersResponse

type GetPaginatedUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedUsersResponse
	JSON4XX      *HTTPError
}

func ParseGetPaginatedUsersResponse

func ParseGetPaginatedUsersResponse(rsp *http.Response) (*GetPaginatedUsersResponse, error)

ParseGetPaginatedUsersResponse parses an HTTP response from a GetPaginatedUsersWithResponse call

func (GetPaginatedUsersResponse) Status

func (r GetPaginatedUsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetPaginatedUsersResponse) StatusCode

func (r GetPaginatedUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPaginatedWorkItemResponse

type GetPaginatedWorkItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedDemoWorkItemsResponse
	JSON4XX      *HTTPError
}

func ParseGetPaginatedWorkItemResponse

func ParseGetPaginatedWorkItemResponse(rsp *http.Response) (*GetPaginatedWorkItemResponse, error)

ParseGetPaginatedWorkItemResponse parses an HTTP response from a GetPaginatedWorkItemWithResponse call

func (GetPaginatedWorkItemResponse) Status

Status returns HTTPResponse.Status

func (GetPaginatedWorkItemResponse) StatusCode

func (r GetPaginatedWorkItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectBoardResponse

type GetProjectBoardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectBoard
}

func ParseGetProjectBoardResponse

func ParseGetProjectBoardResponse(rsp *http.Response) (*GetProjectBoardResponse, error)

ParseGetProjectBoardResponse parses an HTTP response from a GetProjectBoardWithResponse call

func (GetProjectBoardResponse) Status

func (r GetProjectBoardResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectBoardResponse) StatusCode

func (r GetProjectBoardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectConfigResponse

type GetProjectConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectConfig
}

func ParseGetProjectConfigResponse

func ParseGetProjectConfigResponse(rsp *http.Response) (*GetProjectConfigResponse, error)

ParseGetProjectConfigResponse parses an HTTP response from a GetProjectConfigWithResponse call

func (GetProjectConfigResponse) Status

func (r GetProjectConfigResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectConfigResponse) StatusCode

func (r GetProjectConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectResponse

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelsProject
}

func ParseGetProjectResponse

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) Status

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectWorkitemsResponse

type GetProjectWorkitemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemResponse
}

func ParseGetProjectWorkitemsResponse

func ParseGetProjectWorkitemsResponse(rsp *http.Response) (*GetProjectWorkitemsResponse, error)

ParseGetProjectWorkitemsResponse parses an HTTP response from a GetProjectWorkitemsWithResponse call

func (GetProjectWorkitemsResponse) Status

Status returns HTTPResponse.Status

func (GetProjectWorkitemsResponse) StatusCode

func (r GetProjectWorkitemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamResponse

type GetTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamResponse
	JSON4XX      *HTTPError
}

func ParseGetTeamResponse

func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)

ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call

func (GetTeamResponse) Status

func (r GetTeamResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamResponse) StatusCode

func (r GetTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTimeEntryResponse

type GetTimeEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TimeEntryResponse
	JSON4XX      *HTTPError
}

func ParseGetTimeEntryResponse

func ParseGetTimeEntryResponse(rsp *http.Response) (*GetTimeEntryResponse, error)

ParseGetTimeEntryResponse parses an HTTP response from a GetTimeEntryWithResponse call

func (GetTimeEntryResponse) Status

func (r GetTimeEntryResponse) Status() string

Status returns HTTPResponse.Status

func (GetTimeEntryResponse) StatusCode

func (r GetTimeEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkItemCommentResponse

type GetWorkItemCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemCommentResponse
	JSON4XX      *HTTPError
}

func ParseGetWorkItemCommentResponse

func ParseGetWorkItemCommentResponse(rsp *http.Response) (*GetWorkItemCommentResponse, error)

ParseGetWorkItemCommentResponse parses an HTTP response from a GetWorkItemCommentWithResponse call

func (GetWorkItemCommentResponse) Status

Status returns HTTPResponse.Status

func (GetWorkItemCommentResponse) StatusCode

func (r GetWorkItemCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkItemResponse

type GetWorkItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemResponse
}

func ParseGetWorkItemResponse

func ParseGetWorkItemResponse(rsp *http.Response) (*GetWorkItemResponse, error)

ParseGetWorkItemResponse parses an HTTP response from a GetWorkItemWithResponse call

func (GetWorkItemResponse) Status

func (r GetWorkItemResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkItemResponse) StatusCode

func (r GetWorkItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkItemTagResponse

type GetWorkItemTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemTagResponse
	JSON4XX      *HTTPError
}

func ParseGetWorkItemTagResponse

func ParseGetWorkItemTagResponse(rsp *http.Response) (*GetWorkItemTagResponse, error)

ParseGetWorkItemTagResponse parses an HTTP response from a GetWorkItemTagWithResponse call

func (GetWorkItemTagResponse) Status

func (r GetWorkItemTagResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkItemTagResponse) StatusCode

func (r GetWorkItemTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkItemTypeResponse

type GetWorkItemTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemTypeResponse
	JSON4XX      *HTTPError
}

func ParseGetWorkItemTypeResponse

func ParseGetWorkItemTypeResponse(rsp *http.Response) (*GetWorkItemTypeResponse, error)

ParseGetWorkItemTypeResponse parses an HTTP response from a GetWorkItemTypeWithResponse call

func (GetWorkItemTypeResponse) Status

func (r GetWorkItemTypeResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkItemTypeResponse) StatusCode

func (r GetWorkItemTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InitializeProjectResponse

type InitializeProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseInitializeProjectResponse

func ParseInitializeProjectResponse(rsp *http.Response) (*InitializeProjectResponse, error)

ParseInitializeProjectResponse parses an HTTP response from a InitializeProjectWithResponse call

func (InitializeProjectResponse) Status

func (r InitializeProjectResponse) Status() string

Status returns HTTPResponse.Status

func (InitializeProjectResponse) StatusCode

func (r InitializeProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MyProviderCallbackResponse

type MyProviderCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseMyProviderCallbackResponse

func ParseMyProviderCallbackResponse(rsp *http.Response) (*MyProviderCallbackResponse, error)

ParseMyProviderCallbackResponse parses an HTTP response from a MyProviderCallbackWithResponse call

func (MyProviderCallbackResponse) Status

Status returns HTTPResponse.Status

func (MyProviderCallbackResponse) StatusCode

func (r MyProviderCallbackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MyProviderLoginResponse

type MyProviderLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseMyProviderLoginResponse

func ParseMyProviderLoginResponse(rsp *http.Response) (*MyProviderLoginResponse, error)

ParseMyProviderLoginResponse parses an HTTP response from a MyProviderLoginWithResponse call

func (MyProviderLoginResponse) Status

func (r MyProviderLoginResponse) Status() string

Status returns HTTPResponse.Status

func (MyProviderLoginResponse) StatusCode

func (r MyProviderLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OpenapiYamlGetResponse

type OpenapiYamlGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	YAML200      *openapi_types.File
}

func ParseOpenapiYamlGetResponse

func ParseOpenapiYamlGetResponse(rsp *http.Response) (*OpenapiYamlGetResponse, error)

ParseOpenapiYamlGetResponse parses an HTTP response from a OpenapiYamlGetWithResponse call

func (OpenapiYamlGetResponse) Status

func (r OpenapiYamlGetResponse) Status() string

Status returns HTTPResponse.Status

func (OpenapiYamlGetResponse) StatusCode

func (r OpenapiYamlGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PingResponse

type PingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParsePingResponse

func ParsePingResponse(rsp *http.Response) (*PingResponse, error)

ParsePingResponse parses an HTTP response from a PingWithResponse call

func (PingResponse) Status

func (r PingResponse) Status() string

Status returns HTTPResponse.Status

func (PingResponse) StatusCode

func (r PingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseRecorder

type ResponseRecorder interface {
	http.ResponseWriter
	Result() *http.Response
}

ResponseRecorder records HTTP requests. It is implemented by httptest.ResponseRecorder.

type UpdateActivityResponse

type UpdateActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActivityResponse
	JSON4XX      *HTTPError
}

func ParseUpdateActivityResponse

func ParseUpdateActivityResponse(rsp *http.Response) (*UpdateActivityResponse, error)

ParseUpdateActivityResponse parses an HTTP response from a UpdateActivityWithResponse call

func (UpdateActivityResponse) Status

func (r UpdateActivityResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateActivityResponse) StatusCode

func (r UpdateActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectConfigResponse

type UpdateProjectConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateProjectConfigResponse

func ParseUpdateProjectConfigResponse(rsp *http.Response) (*UpdateProjectConfigResponse, error)

ParseUpdateProjectConfigResponse parses an HTTP response from a UpdateProjectConfigWithResponse call

func (UpdateProjectConfigResponse) Status

Status returns HTTPResponse.Status

func (UpdateProjectConfigResponse) StatusCode

func (r UpdateProjectConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTeamResponse

type UpdateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamResponse
	JSON4XX      *HTTPError
}

func ParseUpdateTeamResponse

func ParseUpdateTeamResponse(rsp *http.Response) (*UpdateTeamResponse, error)

ParseUpdateTeamResponse parses an HTTP response from a UpdateTeamWithResponse call

func (UpdateTeamResponse) Status

func (r UpdateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTeamResponse) StatusCode

func (r UpdateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTimeEntryResponse

type UpdateTimeEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TimeEntryResponse
	JSON4XX      *HTTPError
}

func ParseUpdateTimeEntryResponse

func ParseUpdateTimeEntryResponse(rsp *http.Response) (*UpdateTimeEntryResponse, error)

ParseUpdateTimeEntryResponse parses an HTTP response from a UpdateTimeEntryWithResponse call

func (UpdateTimeEntryResponse) Status

func (r UpdateTimeEntryResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTimeEntryResponse) StatusCode

func (r UpdateTimeEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUserAuthorizationResponse

type UpdateUserAuthorizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON4XX      *HTTPError
}

func ParseUpdateUserAuthorizationResponse

func ParseUpdateUserAuthorizationResponse(rsp *http.Response) (*UpdateUserAuthorizationResponse, error)

ParseUpdateUserAuthorizationResponse parses an HTTP response from a UpdateUserAuthorizationWithResponse call

func (UpdateUserAuthorizationResponse) Status

Status returns HTTPResponse.Status

func (UpdateUserAuthorizationResponse) StatusCode

func (r UpdateUserAuthorizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUserResponse

type UpdateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserResponse
	JSON4XX      *HTTPError
}

func ParseUpdateUserResponse

func ParseUpdateUserResponse(rsp *http.Response) (*UpdateUserResponse, error)

ParseUpdateUserResponse parses an HTTP response from a UpdateUserWithResponse call

func (UpdateUserResponse) Status

func (r UpdateUserResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateUserResponse) StatusCode

func (r UpdateUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkItemCommentResponse

type UpdateWorkItemCommentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemCommentResponse
	JSON4XX      *HTTPError
}

func ParseUpdateWorkItemCommentResponse

func ParseUpdateWorkItemCommentResponse(rsp *http.Response) (*UpdateWorkItemCommentResponse, error)

ParseUpdateWorkItemCommentResponse parses an HTTP response from a UpdateWorkItemCommentWithResponse call

func (UpdateWorkItemCommentResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkItemCommentResponse) StatusCode

func (r UpdateWorkItemCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkItemTagResponse

type UpdateWorkItemTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemTagResponse
	JSON4XX      *HTTPError
}

func ParseUpdateWorkItemTagResponse

func ParseUpdateWorkItemTagResponse(rsp *http.Response) (*UpdateWorkItemTagResponse, error)

ParseUpdateWorkItemTagResponse parses an HTTP response from a UpdateWorkItemTagWithResponse call

func (UpdateWorkItemTagResponse) Status

func (r UpdateWorkItemTagResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWorkItemTagResponse) StatusCode

func (r UpdateWorkItemTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkItemTypeResponse

type UpdateWorkItemTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemTypeResponse
	JSON4XX      *HTTPError
}

func ParseUpdateWorkItemTypeResponse

func ParseUpdateWorkItemTypeResponse(rsp *http.Response) (*UpdateWorkItemTypeResponse, error)

ParseUpdateWorkItemTypeResponse parses an HTTP response from a UpdateWorkItemTypeWithResponse call

func (UpdateWorkItemTypeResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkItemTypeResponse) StatusCode

func (r UpdateWorkItemTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkitemResponse

type UpdateWorkitemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkItemResponse
}

func ParseUpdateWorkitemResponse

func ParseUpdateWorkitemResponse(rsp *http.Response) (*UpdateWorkitemResponse, error)

ParseUpdateWorkitemResponse parses an HTTP response from a UpdateWorkitemWithResponse call

func (UpdateWorkitemResponse) Status

func (r UpdateWorkitemResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWorkitemResponse) StatusCode

func (r UpdateWorkitemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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