test_occurrence

package
v0.0.0-...-a39a1f1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

WithContext adds the context to the get test occurrences params

func (*GetTestOccurrencesParams) WithFields

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

WithTimeout adds the timeout to the get test occurrences params

func (*GetTestOccurrencesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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