investigation

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 investigation API

func (*Client) GetInvestigations

func (a *Client) GetInvestigations(params *GetInvestigationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvestigationsOK, error)

GetInvestigations get investigations API

func (*Client) ReplaceInstance

func (a *Client) ReplaceInstance(params *ReplaceInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceInstanceOK, error)

ReplaceInstance replace instance API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetInvestigations(params *GetInvestigationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetInvestigationsOK, error)

	ReplaceInstance(params *ReplaceInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceInstanceOK, 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 investigation API client.

type GetInvestigationsOK

type GetInvestigationsOK struct {
	Payload *models.Investigations
}

GetInvestigationsOK handles this case with default header values.

successful operation

func NewGetInvestigationsOK

func NewGetInvestigationsOK() *GetInvestigationsOK

NewGetInvestigationsOK creates a GetInvestigationsOK with default headers values

func (*GetInvestigationsOK) Error

func (o *GetInvestigationsOK) Error() string

func (*GetInvestigationsOK) GetPayload

func (o *GetInvestigationsOK) GetPayload() *models.Investigations

type GetInvestigationsParams

type GetInvestigationsParams struct {

	/*Fields*/
	Fields *string
	/*Locator*/
	Locator *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetInvestigationsParams contains all the parameters to send to the API endpoint for the get investigations operation typically these are written to a http.Request

func NewGetInvestigationsParams

func NewGetInvestigationsParams() *GetInvestigationsParams

NewGetInvestigationsParams creates a new GetInvestigationsParams object with the default values initialized.

func NewGetInvestigationsParamsWithContext

func NewGetInvestigationsParamsWithContext(ctx context.Context) *GetInvestigationsParams

NewGetInvestigationsParamsWithContext creates a new GetInvestigationsParams object with the default values initialized, and the ability to set a context for a request

func NewGetInvestigationsParamsWithHTTPClient

func NewGetInvestigationsParamsWithHTTPClient(client *http.Client) *GetInvestigationsParams

NewGetInvestigationsParamsWithHTTPClient creates a new GetInvestigationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInvestigationsParamsWithTimeout

func NewGetInvestigationsParamsWithTimeout(timeout time.Duration) *GetInvestigationsParams

NewGetInvestigationsParamsWithTimeout creates a new GetInvestigationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInvestigationsParams) SetContext

func (o *GetInvestigationsParams) SetContext(ctx context.Context)

SetContext adds the context to the get investigations params

func (*GetInvestigationsParams) SetFields

func (o *GetInvestigationsParams) SetFields(fields *string)

SetFields adds the fields to the get investigations params

func (*GetInvestigationsParams) SetHTTPClient

func (o *GetInvestigationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get investigations params

func (*GetInvestigationsParams) SetLocator

func (o *GetInvestigationsParams) SetLocator(locator *string)

SetLocator adds the locator to the get investigations params

func (*GetInvestigationsParams) SetTimeout

func (o *GetInvestigationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get investigations params

func (*GetInvestigationsParams) WithContext

WithContext adds the context to the get investigations params

func (*GetInvestigationsParams) WithFields

func (o *GetInvestigationsParams) WithFields(fields *string) *GetInvestigationsParams

WithFields adds the fields to the get investigations params

func (*GetInvestigationsParams) WithHTTPClient

func (o *GetInvestigationsParams) WithHTTPClient(client *http.Client) *GetInvestigationsParams

WithHTTPClient adds the HTTPClient to the get investigations params

func (*GetInvestigationsParams) WithLocator

func (o *GetInvestigationsParams) WithLocator(locator *string) *GetInvestigationsParams

WithLocator adds the locator to the get investigations params

func (*GetInvestigationsParams) WithTimeout

WithTimeout adds the timeout to the get investigations params

func (*GetInvestigationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvestigationsReader

type GetInvestigationsReader struct {
	// contains filtered or unexported fields
}

GetInvestigationsReader is a Reader for the GetInvestigations structure.

func (*GetInvestigationsReader) ReadResponse

func (o *GetInvestigationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReplaceInstanceOK

type ReplaceInstanceOK struct {
	Payload *models.Investigation
}

ReplaceInstanceOK handles this case with default header values.

successful operation

func NewReplaceInstanceOK

func NewReplaceInstanceOK() *ReplaceInstanceOK

NewReplaceInstanceOK creates a ReplaceInstanceOK with default headers values

func (*ReplaceInstanceOK) Error

func (o *ReplaceInstanceOK) Error() string

func (*ReplaceInstanceOK) GetPayload

func (o *ReplaceInstanceOK) GetPayload() *models.Investigation

type ReplaceInstanceParams

type ReplaceInstanceParams struct {

	/*Body*/
	Body *models.Investigation
	/*Fields*/
	Fields *string
	/*InvestigationLocator*/
	InvestigationLocator string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReplaceInstanceParams contains all the parameters to send to the API endpoint for the replace instance operation typically these are written to a http.Request

func NewReplaceInstanceParams

func NewReplaceInstanceParams() *ReplaceInstanceParams

NewReplaceInstanceParams creates a new ReplaceInstanceParams object with the default values initialized.

func NewReplaceInstanceParamsWithContext

func NewReplaceInstanceParamsWithContext(ctx context.Context) *ReplaceInstanceParams

NewReplaceInstanceParamsWithContext creates a new ReplaceInstanceParams object with the default values initialized, and the ability to set a context for a request

func NewReplaceInstanceParamsWithHTTPClient

func NewReplaceInstanceParamsWithHTTPClient(client *http.Client) *ReplaceInstanceParams

NewReplaceInstanceParamsWithHTTPClient creates a new ReplaceInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReplaceInstanceParamsWithTimeout

func NewReplaceInstanceParamsWithTimeout(timeout time.Duration) *ReplaceInstanceParams

NewReplaceInstanceParamsWithTimeout creates a new ReplaceInstanceParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReplaceInstanceParams) SetBody

func (o *ReplaceInstanceParams) SetBody(body *models.Investigation)

SetBody adds the body to the replace instance params

func (*ReplaceInstanceParams) SetContext

func (o *ReplaceInstanceParams) SetContext(ctx context.Context)

SetContext adds the context to the replace instance params

func (*ReplaceInstanceParams) SetFields

func (o *ReplaceInstanceParams) SetFields(fields *string)

SetFields adds the fields to the replace instance params

func (*ReplaceInstanceParams) SetHTTPClient

func (o *ReplaceInstanceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the replace instance params

func (*ReplaceInstanceParams) SetInvestigationLocator

func (o *ReplaceInstanceParams) SetInvestigationLocator(investigationLocator string)

SetInvestigationLocator adds the investigationLocator to the replace instance params

func (*ReplaceInstanceParams) SetTimeout

func (o *ReplaceInstanceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the replace instance params

func (*ReplaceInstanceParams) WithBody

WithBody adds the body to the replace instance params

func (*ReplaceInstanceParams) WithContext

WithContext adds the context to the replace instance params

func (*ReplaceInstanceParams) WithFields

func (o *ReplaceInstanceParams) WithFields(fields *string) *ReplaceInstanceParams

WithFields adds the fields to the replace instance params

func (*ReplaceInstanceParams) WithHTTPClient

func (o *ReplaceInstanceParams) WithHTTPClient(client *http.Client) *ReplaceInstanceParams

WithHTTPClient adds the HTTPClient to the replace instance params

func (*ReplaceInstanceParams) WithInvestigationLocator

func (o *ReplaceInstanceParams) WithInvestigationLocator(investigationLocator string) *ReplaceInstanceParams

WithInvestigationLocator adds the investigationLocator to the replace instance params

func (*ReplaceInstanceParams) WithTimeout

func (o *ReplaceInstanceParams) WithTimeout(timeout time.Duration) *ReplaceInstanceParams

WithTimeout adds the timeout to the replace instance params

func (*ReplaceInstanceParams) WriteToRequest

func (o *ReplaceInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReplaceInstanceReader

type ReplaceInstanceReader struct {
	// contains filtered or unexported fields
}

ReplaceInstanceReader is a Reader for the ReplaceInstance structure.

func (*ReplaceInstanceReader) ReadResponse

func (o *ReplaceInstanceReader) 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