Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetTestOccurrencesOK
- type GetTestOccurrencesParams
- func NewGetTestOccurrencesParams() *GetTestOccurrencesParams
- func NewGetTestOccurrencesParamsWithContext(ctx context.Context) *GetTestOccurrencesParams
- func NewGetTestOccurrencesParamsWithHTTPClient(client *http.Client) *GetTestOccurrencesParams
- func NewGetTestOccurrencesParamsWithTimeout(timeout time.Duration) *GetTestOccurrencesParams
- func (o *GetTestOccurrencesParams) SetContext(ctx context.Context)
- func (o *GetTestOccurrencesParams) SetFields(fields *string)
- func (o *GetTestOccurrencesParams) SetHTTPClient(client *http.Client)
- func (o *GetTestOccurrencesParams) SetLocator(locator *string)
- func (o *GetTestOccurrencesParams) SetTimeout(timeout time.Duration)
- func (o *GetTestOccurrencesParams) WithContext(ctx context.Context) *GetTestOccurrencesParams
- func (o *GetTestOccurrencesParams) WithFields(fields *string) *GetTestOccurrencesParams
- func (o *GetTestOccurrencesParams) WithHTTPClient(client *http.Client) *GetTestOccurrencesParams
- func (o *GetTestOccurrencesParams) WithLocator(locator *string) *GetTestOccurrencesParams
- func (o *GetTestOccurrencesParams) WithTimeout(timeout time.Duration) *GetTestOccurrencesParams
- func (o *GetTestOccurrencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTestOccurrencesReader
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 test occurrence API
func (*Client) GetTestOccurrences ¶
func (a *Client) GetTestOccurrences(params *GetTestOccurrencesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTestOccurrencesOK, error)
GetTestOccurrences get test occurrences API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetTestOccurrences(params *GetTestOccurrencesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTestOccurrencesOK, 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 test occurrence API client.
type GetTestOccurrencesOK ¶
type GetTestOccurrencesOK struct {
Payload *models.TestOccurrences
}
GetTestOccurrencesOK handles this case with default header values.
successful operation
func NewGetTestOccurrencesOK ¶
func NewGetTestOccurrencesOK() *GetTestOccurrencesOK
NewGetTestOccurrencesOK creates a GetTestOccurrencesOK with default headers values
func (*GetTestOccurrencesOK) Error ¶
func (o *GetTestOccurrencesOK) Error() string
func (*GetTestOccurrencesOK) GetPayload ¶
func (o *GetTestOccurrencesOK) GetPayload() *models.TestOccurrences
type GetTestOccurrencesParams ¶
type GetTestOccurrencesParams struct { /*Fields*/ Fields *string /*Locator*/ Locator *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTestOccurrencesParams contains all the parameters to send to the API endpoint for the get test occurrences operation typically these are written to a http.Request
func NewGetTestOccurrencesParams ¶
func NewGetTestOccurrencesParams() *GetTestOccurrencesParams
NewGetTestOccurrencesParams creates a new GetTestOccurrencesParams object with the default values initialized.
func NewGetTestOccurrencesParamsWithContext ¶
func NewGetTestOccurrencesParamsWithContext(ctx context.Context) *GetTestOccurrencesParams
NewGetTestOccurrencesParamsWithContext creates a new GetTestOccurrencesParams object with the default values initialized, and the ability to set a context for a request
func NewGetTestOccurrencesParamsWithHTTPClient ¶
func NewGetTestOccurrencesParamsWithHTTPClient(client *http.Client) *GetTestOccurrencesParams
NewGetTestOccurrencesParamsWithHTTPClient creates a new GetTestOccurrencesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTestOccurrencesParamsWithTimeout ¶
func NewGetTestOccurrencesParamsWithTimeout(timeout time.Duration) *GetTestOccurrencesParams
NewGetTestOccurrencesParamsWithTimeout creates a new GetTestOccurrencesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTestOccurrencesParams) SetContext ¶
func (o *GetTestOccurrencesParams) SetContext(ctx context.Context)
SetContext adds the context to the get test occurrences params
func (*GetTestOccurrencesParams) SetFields ¶
func (o *GetTestOccurrencesParams) SetFields(fields *string)
SetFields adds the fields to the get test occurrences params
func (*GetTestOccurrencesParams) SetHTTPClient ¶
func (o *GetTestOccurrencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get test occurrences params
func (*GetTestOccurrencesParams) SetLocator ¶
func (o *GetTestOccurrencesParams) SetLocator(locator *string)
SetLocator adds the locator to the get test occurrences params
func (*GetTestOccurrencesParams) SetTimeout ¶
func (o *GetTestOccurrencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get test occurrences params
func (*GetTestOccurrencesParams) WithContext ¶
func (o *GetTestOccurrencesParams) WithContext(ctx context.Context) *GetTestOccurrencesParams
WithContext adds the context to the get test occurrences params
func (*GetTestOccurrencesParams) WithFields ¶
func (o *GetTestOccurrencesParams) WithFields(fields *string) *GetTestOccurrencesParams
WithFields adds the fields to the get test occurrences params
func (*GetTestOccurrencesParams) WithHTTPClient ¶
func (o *GetTestOccurrencesParams) WithHTTPClient(client *http.Client) *GetTestOccurrencesParams
WithHTTPClient adds the HTTPClient to the get test occurrences params
func (*GetTestOccurrencesParams) WithLocator ¶
func (o *GetTestOccurrencesParams) WithLocator(locator *string) *GetTestOccurrencesParams
WithLocator adds the locator to the get test occurrences params
func (*GetTestOccurrencesParams) WithTimeout ¶
func (o *GetTestOccurrencesParams) WithTimeout(timeout time.Duration) *GetTestOccurrencesParams
WithTimeout adds the timeout to the get test occurrences params
func (*GetTestOccurrencesParams) WriteToRequest ¶
func (o *GetTestOccurrencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTestOccurrencesReader ¶
type GetTestOccurrencesReader struct {
// contains filtered or unexported fields
}
GetTestOccurrencesReader is a Reader for the GetTestOccurrences structure.
func (*GetTestOccurrencesReader) ReadResponse ¶
func (o *GetTestOccurrencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.