Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
APIError wraps an error model and captures the status code
func NewAPIError ¶
NewAPIError creates a new API error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) GetSearch ¶
func (a *Client) GetSearch(params GetSearchParams) (*GetSearchOK, error)
Returns Jira Issues that match the query
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
type GetSearchBadRequest ¶
type GetSearchBadRequest struct {
Payload *models.BadRequest
}
GetSearchBadRequest
Bad Request
type GetSearchParams ¶
type GetSearchParams struct { /*Expand A comma-separated list of the parameters to expand */ Expand string /*Fields The list of fields to return for each issue. By default, all navigable fields are returned */ Fields string /*Jql*/ Jql string /*MaxResults The maximum number of issues to return (defaults to 50). The maximum allowable value is dictated by the JIRA property 'jira.search.views.default.max'. If you specify a value that is higher than this number, your search results will be truncated. */ MaxResults int64 /*StartAt the index of the first issue to return (0-based) */ StartAt int64 }
GetSearchParams contains all the parameters to send to the API endpoint for the get search operation typically these are written to a http.Request
func (*GetSearchParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetSearchReader ¶
type GetSearchReader struct {
// contains filtered or unexported fields
}
func (*GetSearchReader) ReadResponse ¶
Click to show internal directories.
Click to hide internal directories.