Documentation ¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by unknown module path version unknown version DO NOT EDIT.
Index ¶
- func NewAdminPingRequest(server string) (*http.Request, error)
- func NewCreateWorkitemCommentRequest(server string, id Serial, body CreateWorkitemCommentJSONRequestBody) (*http.Request, error)
- func NewCreateWorkitemCommentRequestWithBody(server string, id Serial, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkitemRequest(server string, body CreateWorkitemJSONRequestBody) (*http.Request, error)
- func NewCreateWorkitemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkitemTagRequest(server string, projectName ProjectName, body CreateWorkitemTagJSONRequestBody) (*http.Request, error)
- func NewCreateWorkitemTagRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteUserRequest(server string, id uuid.UUID) (*http.Request, error)
- func NewDeleteWorkitemRequest(server string, id Serial) (*http.Request, error)
- func NewEventsRequest(server string, params *EventsParams) (*http.Request, error)
- func NewGetCurrentUserRequest(server string) (*http.Request, error)
- func NewGetProjectBoardRequest(server string, projectName ProjectName) (*http.Request, error)
- func NewGetProjectConfigRequest(server string, projectName ProjectName) (*http.Request, error)
- func NewGetProjectRequest(server string, projectName ProjectName) (*http.Request, error)
- func NewGetProjectWorkitemsRequest(server string, projectName ProjectName, params *GetProjectWorkitemsParams) (*http.Request, error)
- func NewGetWorkitemRequest(server string, id Serial) (*http.Request, error)
- func NewInitializeProjectRequest(server string, projectName ProjectName, body InitializeProjectJSONRequestBody) (*http.Request, error)
- func NewInitializeProjectRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)
- func NewMyProviderCallbackRequest(server string) (*http.Request, error)
- func NewMyProviderLoginRequest(server string) (*http.Request, error)
- func NewOpenapiYamlGetRequest(server string) (*http.Request, error)
- func NewPingRequest(server string) (*http.Request, error)
- func NewUpdateProjectConfigRequest(server string, projectName ProjectName, ...) (*http.Request, error)
- func NewUpdateProjectConfigRequestWithBody(server string, projectName ProjectName, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUserAuthorizationRequest(server string, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody) (*http.Request, error)
- func NewUpdateUserAuthorizationRequestWithBody(server string, id uuid.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUserRequest(server string, id uuid.UUID, body UpdateUserJSONRequestBody) (*http.Request, error)
- func NewUpdateUserRequestWithBody(server string, id uuid.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkitemRequest(server string, id Serial) (*http.Request, error)
- type AdminPingResponse
- type Client
- func (c *Client) AdminPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateWorkitem(ctx context.Context, body CreateWorkitemJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkitemComment(ctx context.Context, id Serial, body CreateWorkitemCommentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkitemCommentWithBody(ctx context.Context, id Serial, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkitemTag(ctx context.Context, projectName ProjectName, ...) (*http.Response, error)
- func (c *Client) CreateWorkitemTagWithBody(ctx context.Context, projectName ProjectName, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateWorkitemWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkitem(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Events(ctx context.Context, params *EventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProject(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectBoard(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectConfig(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectWorkitems(ctx context.Context, projectName ProjectName, ...) (*http.Response, error)
- func (c *Client) GetWorkitem(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InitializeProject(ctx context.Context, projectName ProjectName, ...) (*http.Response, error)
- func (c *Client) InitializeProjectWithBody(ctx context.Context, projectName ProjectName, contentType string, ...) (*http.Response, error)
- func (c *Client) MyProviderCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MyProviderLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OpenapiYamlGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Ping(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateProjectConfig(ctx context.Context, projectName ProjectName, ...) (*http.Response, error)
- func (c *Client) UpdateProjectConfigWithBody(ctx context.Context, projectName ProjectName, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateUser(ctx context.Context, id uuid.UUID, body UpdateUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateUserAuthorization(ctx context.Context, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateUserAuthorizationWithBody(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateUserWithBody(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkitem(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AdminPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminPingResponse, error)
- func (c *ClientWithResponses) CreateWorkitemCommentWithBodyWithResponse(ctx context.Context, id Serial, contentType string, body io.Reader, ...) (*CreateWorkitemCommentResponse, error)
- func (c *ClientWithResponses) CreateWorkitemCommentWithResponse(ctx context.Context, id Serial, body CreateWorkitemCommentJSONRequestBody, ...) (*CreateWorkitemCommentResponse, error)
- func (c *ClientWithResponses) CreateWorkitemTagWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, ...) (*CreateWorkitemTagResponse, error)
- func (c *ClientWithResponses) CreateWorkitemTagWithResponse(ctx context.Context, projectName ProjectName, ...) (*CreateWorkitemTagResponse, error)
- func (c *ClientWithResponses) CreateWorkitemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorkitemResponse, error)
- func (c *ClientWithResponses) CreateWorkitemWithResponse(ctx context.Context, body CreateWorkitemJSONRequestBody, ...) (*CreateWorkitemResponse, error)
- func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
- func (c *ClientWithResponses) DeleteWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*DeleteWorkitemResponse, error)
- func (c *ClientWithResponses) EventsWithResponse(ctx context.Context, params *EventsParams, reqEditors ...RequestEditorFn) (*EventsResponse, error)
- func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
- func (c *ClientWithResponses) GetProjectBoardWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectBoardResponse, error)
- func (c *ClientWithResponses) GetProjectConfigWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectConfigResponse, error)
- func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectName ProjectName, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
- func (c *ClientWithResponses) GetProjectWorkitemsWithResponse(ctx context.Context, projectName ProjectName, ...) (*GetProjectWorkitemsResponse, error)
- func (c *ClientWithResponses) GetWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*GetWorkitemResponse, error)
- func (c *ClientWithResponses) InitializeProjectWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, ...) (*InitializeProjectResponse, error)
- func (c *ClientWithResponses) InitializeProjectWithResponse(ctx context.Context, projectName ProjectName, ...) (*InitializeProjectResponse, error)
- func (c *ClientWithResponses) MyProviderCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MyProviderCallbackResponse, error)
- func (c *ClientWithResponses) MyProviderLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MyProviderLoginResponse, error)
- func (c *ClientWithResponses) OpenapiYamlGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OpenapiYamlGetResponse, error)
- func (c *ClientWithResponses) PingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PingResponse, error)
- func (c *ClientWithResponses) UpdateProjectConfigWithBodyWithResponse(ctx context.Context, projectName ProjectName, contentType string, ...) (*UpdateProjectConfigResponse, error)
- func (c *ClientWithResponses) UpdateProjectConfigWithResponse(ctx context.Context, projectName ProjectName, ...) (*UpdateProjectConfigResponse, error)
- func (c *ClientWithResponses) UpdateUserAuthorizationWithBodyWithResponse(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, ...) (*UpdateUserAuthorizationResponse, error)
- func (c *ClientWithResponses) UpdateUserAuthorizationWithResponse(ctx context.Context, id uuid.UUID, body UpdateUserAuthorizationJSONRequestBody, ...) (*UpdateUserAuthorizationResponse, error)
- func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, id uuid.UUID, contentType string, body io.Reader, ...) (*UpdateUserResponse, error)
- func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, id uuid.UUID, body UpdateUserJSONRequestBody, ...) (*UpdateUserResponse, error)
- func (c *ClientWithResponses) UpdateWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*UpdateWorkitemResponse, error)
- type ClientWithResponsesInterface
- type CreateWorkitemCommentResponse
- type CreateWorkitemResponse
- type CreateWorkitemTagResponse
- type DeleteUserResponse
- type DeleteWorkitemResponse
- type EventsResponse
- type GetCurrentUserResponse
- type GetProjectBoardResponse
- type GetProjectConfigResponse
- type GetProjectResponse
- type GetProjectWorkitemsResponse
- type GetWorkitemResponse
- type HttpRequestDoer
- type InitializeProjectResponse
- type MyProviderCallbackResponse
- type MyProviderLoginResponse
- type OpenapiYamlGetResponse
- type PingResponse
- type RequestEditorFn
- type UpdateProjectConfigResponse
- type UpdateUserAuthorizationResponse
- type UpdateUserResponse
- type UpdateWorkitemResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminPingRequest ¶
NewAdminPingRequest generates requests for AdminPing
func NewCreateWorkitemCommentRequest ¶
func NewCreateWorkitemCommentRequest(server string, id Serial, body CreateWorkitemCommentJSONRequestBody) (*http.Request, error)
NewCreateWorkitemCommentRequest calls the generic CreateWorkitemComment builder with application/json body
func NewCreateWorkitemCommentRequestWithBody ¶
func NewCreateWorkitemCommentRequestWithBody(server string, id Serial, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkitemCommentRequestWithBody generates requests for CreateWorkitemComment 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 NewCreateWorkitemTagRequest ¶
func NewCreateWorkitemTagRequest(server string, projectName ProjectName, body CreateWorkitemTagJSONRequestBody) (*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 NewDeleteUserRequest ¶
NewDeleteUserRequest generates requests for DeleteUser
func NewDeleteWorkitemRequest ¶
NewDeleteWorkitemRequest generates requests for DeleteWorkitem
func NewEventsRequest ¶
NewEventsRequest generates requests for Events
func NewGetCurrentUserRequest ¶
NewGetCurrentUserRequest generates requests for GetCurrentUser
func NewGetProjectBoardRequest ¶
NewGetProjectBoardRequest generates requests for GetProjectBoard
func NewGetProjectConfigRequest ¶
NewGetProjectConfigRequest generates requests for GetProjectConfig
func NewGetProjectRequest ¶
NewGetProjectRequest generates requests for GetProject
func NewGetProjectWorkitemsRequest ¶
func NewGetProjectWorkitemsRequest(server string, projectName ProjectName, params *GetProjectWorkitemsParams) (*http.Request, error)
NewGetProjectWorkitemsRequest generates requests for GetProjectWorkitems
func NewGetWorkitemRequest ¶
NewGetWorkitemRequest generates requests for GetWorkitem
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 ¶
NewMyProviderCallbackRequest generates requests for MyProviderCallback
func NewMyProviderLoginRequest ¶
NewMyProviderLoginRequest generates requests for MyProviderLogin
func NewOpenapiYamlGetRequest ¶
NewOpenapiYamlGetRequest generates requests for OpenapiYamlGet
func NewPingRequest ¶
NewPingRequest generates requests for Ping
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 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
Types ¶
type AdminPingResponse ¶
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) CreateWorkitem ¶
func (*Client) CreateWorkitemComment ¶
func (*Client) CreateWorkitemCommentWithBody ¶
func (*Client) CreateWorkitemTag ¶
func (*Client) CreateWorkitemTagWithBody ¶
func (*Client) CreateWorkitemWithBody ¶
func (*Client) DeleteUser ¶
func (*Client) DeleteWorkitem ¶
func (*Client) GetCurrentUser ¶
func (*Client) GetProject ¶
func (*Client) GetProjectBoard ¶
func (*Client) GetProjectConfig ¶
func (*Client) GetProjectWorkitems ¶
func (*Client) GetWorkitem ¶
func (*Client) InitializeProject ¶
func (*Client) InitializeProjectWithBody ¶
func (*Client) MyProviderCallback ¶
func (*Client) MyProviderLogin ¶
func (*Client) OpenapiYamlGet ¶
func (*Client) UpdateProjectConfig ¶
func (*Client) UpdateProjectConfigWithBody ¶
func (*Client) UpdateUser ¶
func (*Client) UpdateUserAuthorization ¶
func (*Client) UpdateUserAuthorizationWithBody ¶
func (*Client) UpdateUserWithBody ¶
func (*Client) UpdateWorkitem ¶
type ClientInterface ¶
type ClientInterface interface { // 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, reqEditors ...RequestEditorFn) (*http.Response, error) // Events request Events(ctx context.Context, params *EventsParams, 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) // 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) // 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 CreateWorkitemTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProjectWorkitems request GetProjectWorkitems(ctx context.Context, projectName ProjectName, params *GetProjectWorkitemsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCurrentUser request GetCurrentUser(ctx context.Context, 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) // 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) // DeleteWorkitem request DeleteWorkitem(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*http.Response, error) // GetWorkitem request GetWorkitem(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateWorkitem request UpdateWorkitem(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateWorkitemComment request with any body CreateWorkitemCommentWithBody(ctx context.Context, id Serial, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateWorkitemComment(ctx context.Context, id Serial, body CreateWorkitemCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) CreateWorkitemCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkitemCommentWithBodyWithResponse(ctx context.Context, id Serial, 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, id Serial, body CreateWorkitemCommentJSONRequestBody, 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 CreateWorkitemTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkitemTagResponse, 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) DeleteUserWithResponse ¶
func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, id uuid.UUID, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
DeleteUserWithResponse request returning *DeleteUserResponse
func (*ClientWithResponses) DeleteWorkitemWithResponse ¶
func (c *ClientWithResponses) DeleteWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*DeleteWorkitemResponse, error)
DeleteWorkitemWithResponse request returning *DeleteWorkitemResponse
func (*ClientWithResponses) EventsWithResponse ¶
func (c *ClientWithResponses) EventsWithResponse(ctx context.Context, params *EventsParams, reqEditors ...RequestEditorFn) (*EventsResponse, error)
EventsWithResponse request returning *EventsResponse
func (*ClientWithResponses) GetCurrentUserWithResponse ¶
func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
GetCurrentUserWithResponse request returning *GetCurrentUserResponse
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) GetWorkitemWithResponse ¶
func (c *ClientWithResponses) GetWorkitemWithResponse(ctx context.Context, id Serial, 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, 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) 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) 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) UpdateWorkitemWithResponse ¶
func (c *ClientWithResponses) UpdateWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*UpdateWorkitemResponse, error)
UpdateWorkitemWithResponse request returning *UpdateWorkitemResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // 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, reqEditors ...RequestEditorFn) (*MyProviderLoginResponse, error) // Events request EventsWithResponse(ctx context.Context, params *EventsParams, reqEditors ...RequestEditorFn) (*EventsResponse, 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) // 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) // 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 CreateWorkitemTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkitemTagResponse, error) // GetProjectWorkitems request GetProjectWorkitemsWithResponse(ctx context.Context, projectName ProjectName, params *GetProjectWorkitemsParams, reqEditors ...RequestEditorFn) (*GetProjectWorkitemsResponse, error) // GetCurrentUser request GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, 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) // 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) // DeleteWorkitem request DeleteWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*DeleteWorkitemResponse, error) // GetWorkitem request GetWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*GetWorkitemResponse, error) // UpdateWorkitem request UpdateWorkitemWithResponse(ctx context.Context, id Serial, reqEditors ...RequestEditorFn) (*UpdateWorkitemResponse, error) // CreateWorkitemComment request with any body CreateWorkitemCommentWithBodyWithResponse(ctx context.Context, id Serial, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkitemCommentResponse, error) CreateWorkitemCommentWithResponse(ctx context.Context, id Serial, body CreateWorkitemCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkitemCommentResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateWorkitemCommentResponse ¶
type CreateWorkitemCommentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { // contains filtered or unexported fields } }
func ParseCreateWorkitemCommentResponse ¶
func ParseCreateWorkitemCommentResponse(rsp *http.Response) (*CreateWorkitemCommentResponse, error)
ParseCreateWorkitemCommentResponse parses an HTTP response from a CreateWorkitemCommentWithResponse call
func (CreateWorkitemCommentResponse) Status ¶
func (r CreateWorkitemCommentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkitemCommentResponse) StatusCode ¶
func (r CreateWorkitemCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkitemResponse ¶
type CreateWorkitemResponse struct { Body []byte HTTPResponse *http.Response JSON201 *struct { // contains filtered or unexported fields } }
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 CreateWorkitemTagResponse ¶
type CreateWorkitemTagResponse struct { Body []byte HTTPResponse *http.Response JSON201 *DbWorkItemTag }
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 DeleteUserResponse ¶
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 DeleteWorkitemResponse ¶
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 ¶
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 GetCurrentUserResponse ¶
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 GetProjectBoardResponse ¶
type GetProjectBoardResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectBoardResponse }
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 ¶
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 *struct { // contains filtered or unexported fields } }
func ParseGetProjectWorkitemsResponse ¶
func ParseGetProjectWorkitemsResponse(rsp *http.Response) (*GetProjectWorkitemsResponse, error)
ParseGetProjectWorkitemsResponse parses an HTTP response from a GetProjectWorkitemsWithResponse call
func (GetProjectWorkitemsResponse) Status ¶
func (r GetProjectWorkitemsResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectWorkitemsResponse) StatusCode ¶
func (r GetProjectWorkitemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkitemResponse ¶
type GetWorkitemResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { // contains filtered or unexported fields } }
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 HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InitializeProjectResponse ¶
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 ¶
func ParseMyProviderCallbackResponse ¶
func ParseMyProviderCallbackResponse(rsp *http.Response) (*MyProviderCallbackResponse, error)
ParseMyProviderCallbackResponse parses an HTTP response from a MyProviderCallbackWithResponse call
func (MyProviderCallbackResponse) Status ¶
func (r MyProviderCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (MyProviderCallbackResponse) StatusCode ¶
func (r MyProviderCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MyProviderLoginResponse ¶
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 ¶
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 ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type UpdateProjectConfigResponse ¶
func ParseUpdateProjectConfigResponse ¶
func ParseUpdateProjectConfigResponse(rsp *http.Response) (*UpdateProjectConfigResponse, error)
ParseUpdateProjectConfigResponse parses an HTTP response from a UpdateProjectConfigWithResponse call
func (UpdateProjectConfigResponse) Status ¶
func (r UpdateProjectConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectConfigResponse) StatusCode ¶
func (r UpdateProjectConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserAuthorizationResponse ¶
func ParseUpdateUserAuthorizationResponse ¶
func ParseUpdateUserAuthorizationResponse(rsp *http.Response) (*UpdateUserAuthorizationResponse, error)
ParseUpdateUserAuthorizationResponse parses an HTTP response from a UpdateUserAuthorizationWithResponse call
func (UpdateUserAuthorizationResponse) Status ¶
func (r UpdateUserAuthorizationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUserAuthorizationResponse) StatusCode ¶
func (r UpdateUserAuthorizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserResponse ¶
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 UpdateWorkitemResponse ¶
type UpdateWorkitemResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { // contains filtered or unexported fields } }
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