Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListIssueBadRequest
- type ListIssueConflict
- type ListIssueForbidden
- type ListIssueInternalServerError
- type ListIssueNotFound
- type ListIssueOK
- type ListIssueParams
- func (o *ListIssueParams) SetContext(ctx context.Context)
- func (o *ListIssueParams) SetFields(fields *string)
- func (o *ListIssueParams) SetFulltextsearch(fulltextsearch string)
- func (o *ListIssueParams) SetHTTPClient(client *http.Client)
- func (o *ListIssueParams) SetLimit(limit *int32)
- func (o *ListIssueParams) SetQ(q string)
- func (o *ListIssueParams) SetStart(start *int32)
- func (o *ListIssueParams) SetTimeout(timeout time.Duration)
- func (o *ListIssueParams) WithContext(ctx context.Context) *ListIssueParams
- func (o *ListIssueParams) WithFields(fields *string) *ListIssueParams
- func (o *ListIssueParams) WithFulltextsearch(fulltextsearch string) *ListIssueParams
- func (o *ListIssueParams) WithHTTPClient(client *http.Client) *ListIssueParams
- func (o *ListIssueParams) WithLimit(limit *int32) *ListIssueParams
- func (o *ListIssueParams) WithQ(q string) *ListIssueParams
- func (o *ListIssueParams) WithStart(start *int32) *ListIssueParams
- func (o *ListIssueParams) WithTimeout(timeout time.Duration) *ListIssueParams
- func (o *ListIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListIssueReader
- type ListIssueUnauthorized
- type ReadIssueBadRequest
- type ReadIssueConflict
- type ReadIssueForbidden
- type ReadIssueInternalServerError
- type ReadIssueNotFound
- type ReadIssueOK
- type ReadIssueParams
- func (o *ReadIssueParams) SetContext(ctx context.Context)
- func (o *ReadIssueParams) SetFields(fields *string)
- func (o *ReadIssueParams) SetHTTPClient(client *http.Client)
- func (o *ReadIssueParams) SetID(id int64)
- func (o *ReadIssueParams) SetTimeout(timeout time.Duration)
- func (o *ReadIssueParams) WithContext(ctx context.Context) *ReadIssueParams
- func (o *ReadIssueParams) WithFields(fields *string) *ReadIssueParams
- func (o *ReadIssueParams) WithHTTPClient(client *http.Client) *ReadIssueParams
- func (o *ReadIssueParams) WithID(id int64) *ReadIssueParams
- func (o *ReadIssueParams) WithTimeout(timeout time.Duration) *ReadIssueParams
- func (o *ReadIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadIssueReader
- type ReadIssueUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for issue controller API
func (*Client) ListIssue ¶
func (a *Client) ListIssue(params *ListIssueParams, authInfo runtime.ClientAuthInfoWriter) (*ListIssueOK, error)
ListIssue lists
func (*Client) ReadIssue ¶
func (a *Client) ReadIssue(params *ReadIssueParams, authInfo runtime.ClientAuthInfoWriter) (*ReadIssueOK, error)
ReadIssue reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListIssue(params *ListIssueParams, authInfo runtime.ClientAuthInfoWriter) (*ListIssueOK, error) ReadIssue(params *ReadIssueParams, authInfo runtime.ClientAuthInfoWriter) (*ReadIssueOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new issue controller API client.
type ListIssueBadRequest ¶
ListIssueBadRequest handles this case with default header values.
Bad Request
func NewListIssueBadRequest ¶
func NewListIssueBadRequest() *ListIssueBadRequest
NewListIssueBadRequest creates a ListIssueBadRequest with default headers values
func (*ListIssueBadRequest) Error ¶
func (o *ListIssueBadRequest) Error() string
func (*ListIssueBadRequest) GetPayload ¶
func (o *ListIssueBadRequest) GetPayload() *models.APIResult
type ListIssueConflict ¶
ListIssueConflict handles this case with default header values.
Conflict
func NewListIssueConflict ¶
func NewListIssueConflict() *ListIssueConflict
NewListIssueConflict creates a ListIssueConflict with default headers values
func (*ListIssueConflict) Error ¶
func (o *ListIssueConflict) Error() string
func (*ListIssueConflict) GetPayload ¶
func (o *ListIssueConflict) GetPayload() *models.APIResult
type ListIssueForbidden ¶
ListIssueForbidden handles this case with default header values.
Forbidden
func NewListIssueForbidden ¶
func NewListIssueForbidden() *ListIssueForbidden
NewListIssueForbidden creates a ListIssueForbidden with default headers values
func (*ListIssueForbidden) Error ¶
func (o *ListIssueForbidden) Error() string
func (*ListIssueForbidden) GetPayload ¶
func (o *ListIssueForbidden) GetPayload() *models.APIResult
type ListIssueInternalServerError ¶
ListIssueInternalServerError handles this case with default header values.
Internal Server Error
func NewListIssueInternalServerError ¶
func NewListIssueInternalServerError() *ListIssueInternalServerError
NewListIssueInternalServerError creates a ListIssueInternalServerError with default headers values
func (*ListIssueInternalServerError) Error ¶
func (o *ListIssueInternalServerError) Error() string
func (*ListIssueInternalServerError) GetPayload ¶
func (o *ListIssueInternalServerError) GetPayload() *models.APIResult
type ListIssueNotFound ¶
ListIssueNotFound handles this case with default header values.
Not Found
func NewListIssueNotFound ¶
func NewListIssueNotFound() *ListIssueNotFound
NewListIssueNotFound creates a ListIssueNotFound with default headers values
func (*ListIssueNotFound) Error ¶
func (o *ListIssueNotFound) Error() string
func (*ListIssueNotFound) GetPayload ¶
func (o *ListIssueNotFound) GetPayload() *models.APIResult
type ListIssueOK ¶
type ListIssueOK struct {
Payload *models.APIResultListProjectVersionIssue
}
ListIssueOK handles this case with default header values.
OK
func NewListIssueOK ¶
func NewListIssueOK() *ListIssueOK
NewListIssueOK creates a ListIssueOK with default headers values
func (*ListIssueOK) Error ¶
func (o *ListIssueOK) Error() string
func (*ListIssueOK) GetPayload ¶
func (o *ListIssueOK) GetPayload() *models.APIResultListProjectVersionIssue
type ListIssueParams ¶
type ListIssueParams struct { /*Fields Output fields */ Fields *string /*Fulltextsearch Only 'true' is supported */ Fulltextsearch string /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Q A full text search query */ Q string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListIssueParams contains all the parameters to send to the API endpoint for the list issue operation typically these are written to a http.Request
func NewListIssueParams ¶
func NewListIssueParams() *ListIssueParams
NewListIssueParams creates a new ListIssueParams object with the default values initialized.
func NewListIssueParamsWithContext ¶
func NewListIssueParamsWithContext(ctx context.Context) *ListIssueParams
NewListIssueParamsWithContext creates a new ListIssueParams object with the default values initialized, and the ability to set a context for a request
func NewListIssueParamsWithHTTPClient ¶
func NewListIssueParamsWithHTTPClient(client *http.Client) *ListIssueParams
NewListIssueParamsWithHTTPClient creates a new ListIssueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListIssueParamsWithTimeout ¶
func NewListIssueParamsWithTimeout(timeout time.Duration) *ListIssueParams
NewListIssueParamsWithTimeout creates a new ListIssueParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListIssueParams) SetContext ¶
func (o *ListIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the list issue params
func (*ListIssueParams) SetFields ¶
func (o *ListIssueParams) SetFields(fields *string)
SetFields adds the fields to the list issue params
func (*ListIssueParams) SetFulltextsearch ¶
func (o *ListIssueParams) SetFulltextsearch(fulltextsearch string)
SetFulltextsearch adds the fulltextsearch to the list issue params
func (*ListIssueParams) SetHTTPClient ¶
func (o *ListIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list issue params
func (*ListIssueParams) SetLimit ¶
func (o *ListIssueParams) SetLimit(limit *int32)
SetLimit adds the limit to the list issue params
func (*ListIssueParams) SetQ ¶
func (o *ListIssueParams) SetQ(q string)
SetQ adds the q to the list issue params
func (*ListIssueParams) SetStart ¶
func (o *ListIssueParams) SetStart(start *int32)
SetStart adds the start to the list issue params
func (*ListIssueParams) SetTimeout ¶
func (o *ListIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list issue params
func (*ListIssueParams) WithContext ¶
func (o *ListIssueParams) WithContext(ctx context.Context) *ListIssueParams
WithContext adds the context to the list issue params
func (*ListIssueParams) WithFields ¶
func (o *ListIssueParams) WithFields(fields *string) *ListIssueParams
WithFields adds the fields to the list issue params
func (*ListIssueParams) WithFulltextsearch ¶
func (o *ListIssueParams) WithFulltextsearch(fulltextsearch string) *ListIssueParams
WithFulltextsearch adds the fulltextsearch to the list issue params
func (*ListIssueParams) WithHTTPClient ¶
func (o *ListIssueParams) WithHTTPClient(client *http.Client) *ListIssueParams
WithHTTPClient adds the HTTPClient to the list issue params
func (*ListIssueParams) WithLimit ¶
func (o *ListIssueParams) WithLimit(limit *int32) *ListIssueParams
WithLimit adds the limit to the list issue params
func (*ListIssueParams) WithQ ¶
func (o *ListIssueParams) WithQ(q string) *ListIssueParams
WithQ adds the q to the list issue params
func (*ListIssueParams) WithStart ¶
func (o *ListIssueParams) WithStart(start *int32) *ListIssueParams
WithStart adds the start to the list issue params
func (*ListIssueParams) WithTimeout ¶
func (o *ListIssueParams) WithTimeout(timeout time.Duration) *ListIssueParams
WithTimeout adds the timeout to the list issue params
func (*ListIssueParams) WriteToRequest ¶
func (o *ListIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListIssueReader ¶
type ListIssueReader struct {
// contains filtered or unexported fields
}
ListIssueReader is a Reader for the ListIssue structure.
func (*ListIssueReader) ReadResponse ¶
func (o *ListIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListIssueUnauthorized ¶
type ListIssueUnauthorized struct {
}ListIssueUnauthorized handles this case with default header values.
Unauthorized
func NewListIssueUnauthorized ¶
func NewListIssueUnauthorized() *ListIssueUnauthorized
NewListIssueUnauthorized creates a ListIssueUnauthorized with default headers values
func (*ListIssueUnauthorized) Error ¶
func (o *ListIssueUnauthorized) Error() string
func (*ListIssueUnauthorized) GetPayload ¶
func (o *ListIssueUnauthorized) GetPayload() *models.APIResult
type ReadIssueBadRequest ¶
ReadIssueBadRequest handles this case with default header values.
Bad Request
func NewReadIssueBadRequest ¶
func NewReadIssueBadRequest() *ReadIssueBadRequest
NewReadIssueBadRequest creates a ReadIssueBadRequest with default headers values
func (*ReadIssueBadRequest) Error ¶
func (o *ReadIssueBadRequest) Error() string
func (*ReadIssueBadRequest) GetPayload ¶
func (o *ReadIssueBadRequest) GetPayload() *models.APIResult
type ReadIssueConflict ¶
ReadIssueConflict handles this case with default header values.
Conflict
func NewReadIssueConflict ¶
func NewReadIssueConflict() *ReadIssueConflict
NewReadIssueConflict creates a ReadIssueConflict with default headers values
func (*ReadIssueConflict) Error ¶
func (o *ReadIssueConflict) Error() string
func (*ReadIssueConflict) GetPayload ¶
func (o *ReadIssueConflict) GetPayload() *models.APIResult
type ReadIssueForbidden ¶
ReadIssueForbidden handles this case with default header values.
Forbidden
func NewReadIssueForbidden ¶
func NewReadIssueForbidden() *ReadIssueForbidden
NewReadIssueForbidden creates a ReadIssueForbidden with default headers values
func (*ReadIssueForbidden) Error ¶
func (o *ReadIssueForbidden) Error() string
func (*ReadIssueForbidden) GetPayload ¶
func (o *ReadIssueForbidden) GetPayload() *models.APIResult
type ReadIssueInternalServerError ¶
ReadIssueInternalServerError handles this case with default header values.
Internal Server Error
func NewReadIssueInternalServerError ¶
func NewReadIssueInternalServerError() *ReadIssueInternalServerError
NewReadIssueInternalServerError creates a ReadIssueInternalServerError with default headers values
func (*ReadIssueInternalServerError) Error ¶
func (o *ReadIssueInternalServerError) Error() string
func (*ReadIssueInternalServerError) GetPayload ¶
func (o *ReadIssueInternalServerError) GetPayload() *models.APIResult
type ReadIssueNotFound ¶
ReadIssueNotFound handles this case with default header values.
Not Found
func NewReadIssueNotFound ¶
func NewReadIssueNotFound() *ReadIssueNotFound
NewReadIssueNotFound creates a ReadIssueNotFound with default headers values
func (*ReadIssueNotFound) Error ¶
func (o *ReadIssueNotFound) Error() string
func (*ReadIssueNotFound) GetPayload ¶
func (o *ReadIssueNotFound) GetPayload() *models.APIResult
type ReadIssueOK ¶
type ReadIssueOK struct {
Payload *models.APIResultProjectVersionIssue
}
ReadIssueOK handles this case with default header values.
OK
func NewReadIssueOK ¶
func NewReadIssueOK() *ReadIssueOK
NewReadIssueOK creates a ReadIssueOK with default headers values
func (*ReadIssueOK) Error ¶
func (o *ReadIssueOK) Error() string
func (*ReadIssueOK) GetPayload ¶
func (o *ReadIssueOK) GetPayload() *models.APIResultProjectVersionIssue
type ReadIssueParams ¶
type ReadIssueParams struct { /*Fields Output fields */ Fields *string /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadIssueParams contains all the parameters to send to the API endpoint for the read issue operation typically these are written to a http.Request
func NewReadIssueParams ¶
func NewReadIssueParams() *ReadIssueParams
NewReadIssueParams creates a new ReadIssueParams object with the default values initialized.
func NewReadIssueParamsWithContext ¶
func NewReadIssueParamsWithContext(ctx context.Context) *ReadIssueParams
NewReadIssueParamsWithContext creates a new ReadIssueParams object with the default values initialized, and the ability to set a context for a request
func NewReadIssueParamsWithHTTPClient ¶
func NewReadIssueParamsWithHTTPClient(client *http.Client) *ReadIssueParams
NewReadIssueParamsWithHTTPClient creates a new ReadIssueParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadIssueParamsWithTimeout ¶
func NewReadIssueParamsWithTimeout(timeout time.Duration) *ReadIssueParams
NewReadIssueParamsWithTimeout creates a new ReadIssueParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadIssueParams) SetContext ¶
func (o *ReadIssueParams) SetContext(ctx context.Context)
SetContext adds the context to the read issue params
func (*ReadIssueParams) SetFields ¶
func (o *ReadIssueParams) SetFields(fields *string)
SetFields adds the fields to the read issue params
func (*ReadIssueParams) SetHTTPClient ¶
func (o *ReadIssueParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read issue params
func (*ReadIssueParams) SetID ¶
func (o *ReadIssueParams) SetID(id int64)
SetID adds the id to the read issue params
func (*ReadIssueParams) SetTimeout ¶
func (o *ReadIssueParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read issue params
func (*ReadIssueParams) WithContext ¶
func (o *ReadIssueParams) WithContext(ctx context.Context) *ReadIssueParams
WithContext adds the context to the read issue params
func (*ReadIssueParams) WithFields ¶
func (o *ReadIssueParams) WithFields(fields *string) *ReadIssueParams
WithFields adds the fields to the read issue params
func (*ReadIssueParams) WithHTTPClient ¶
func (o *ReadIssueParams) WithHTTPClient(client *http.Client) *ReadIssueParams
WithHTTPClient adds the HTTPClient to the read issue params
func (*ReadIssueParams) WithID ¶
func (o *ReadIssueParams) WithID(id int64) *ReadIssueParams
WithID adds the id to the read issue params
func (*ReadIssueParams) WithTimeout ¶
func (o *ReadIssueParams) WithTimeout(timeout time.Duration) *ReadIssueParams
WithTimeout adds the timeout to the read issue params
func (*ReadIssueParams) WriteToRequest ¶
func (o *ReadIssueParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadIssueReader ¶
type ReadIssueReader struct {
// contains filtered or unexported fields
}
ReadIssueReader is a Reader for the ReadIssue structure.
func (*ReadIssueReader) ReadResponse ¶
func (o *ReadIssueReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadIssueUnauthorized ¶
type ReadIssueUnauthorized struct {
}ReadIssueUnauthorized handles this case with default header values.
Unauthorized
func NewReadIssueUnauthorized ¶
func NewReadIssueUnauthorized() *ReadIssueUnauthorized
NewReadIssueUnauthorized creates a ReadIssueUnauthorized with default headers values
func (*ReadIssueUnauthorized) Error ¶
func (o *ReadIssueUnauthorized) Error() string
func (*ReadIssueUnauthorized) GetPayload ¶
func (o *ReadIssueUnauthorized) GetPayload() *models.APIResult