debugrequest

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 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 debugrequest API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new debugrequest API client.

func (*Client) CreateDebugRequest

func (a *Client) CreateDebugRequest(params *CreateDebugRequestParams) (*CreateDebugRequestCreated, error)

CreateDebugRequest returns a debug attachment

Return a debug attachment

func (*Client) DeleteDebugRequest

func (a *Client) DeleteDebugRequest(params *DeleteDebugRequestParams) (*DeleteDebugRequestOK, error)

DeleteDebugRequest deletes a debug request

Delete a debug request.

func (*Client) GetDebugRequest

func (a *Client) GetDebugRequest(params *GetDebugRequestParams) (*GetDebugRequestOK, error)

GetDebugRequest gets a debug request

Get a debug request

func (*Client) GetDebugRequests

func (a *Client) GetDebugRequests(params *GetDebugRequestsParams) (*GetDebugRequestsOK, error)

GetDebugRequests returns all debug request

Return all debug requests

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateDebugRequestCreated

type CreateDebugRequestCreated struct {
	Payload *models.DebugRequest
}

CreateDebugRequestCreated handles this case with default header values.

Created

func NewCreateDebugRequestCreated

func NewCreateDebugRequestCreated() *CreateDebugRequestCreated

NewCreateDebugRequestCreated creates a CreateDebugRequestCreated with default headers values

func (*CreateDebugRequestCreated) Error

func (o *CreateDebugRequestCreated) Error() string

type CreateDebugRequestParams

type CreateDebugRequestParams struct {

	/*Body
	  DebugRequest object

	*/
	Body *models.DebugRequest

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

CreateDebugRequestParams contains all the parameters to send to the API endpoint for the create debug request operation typically these are written to a http.Request

func NewCreateDebugRequestParams

func NewCreateDebugRequestParams() *CreateDebugRequestParams

NewCreateDebugRequestParams creates a new CreateDebugRequestParams object with the default values initialized.

func NewCreateDebugRequestParamsWithContext

func NewCreateDebugRequestParamsWithContext(ctx context.Context) *CreateDebugRequestParams

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

func NewCreateDebugRequestParamsWithHTTPClient

func NewCreateDebugRequestParamsWithHTTPClient(client *http.Client) *CreateDebugRequestParams

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

func NewCreateDebugRequestParamsWithTimeout

func NewCreateDebugRequestParamsWithTimeout(timeout time.Duration) *CreateDebugRequestParams

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

func (*CreateDebugRequestParams) SetBody

func (o *CreateDebugRequestParams) SetBody(body *models.DebugRequest)

SetBody adds the body to the create debug request params

func (*CreateDebugRequestParams) SetContext

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

SetContext adds the context to the create debug request params

func (*CreateDebugRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create debug request params

func (*CreateDebugRequestParams) SetTimeout

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

SetTimeout adds the timeout to the create debug request params

func (*CreateDebugRequestParams) WithBody

WithBody adds the body to the create debug request params

func (*CreateDebugRequestParams) WithContext

WithContext adds the context to the create debug request params

func (*CreateDebugRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create debug request params

func (*CreateDebugRequestParams) WithTimeout

WithTimeout adds the timeout to the create debug request params

func (*CreateDebugRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDebugRequestReader

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

CreateDebugRequestReader is a Reader for the CreateDebugRequest structure.

func (*CreateDebugRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDebugRequestBadRequest

type DeleteDebugRequestBadRequest struct {
}

DeleteDebugRequestBadRequest handles this case with default header values.

Invalid ID supplied

func NewDeleteDebugRequestBadRequest

func NewDeleteDebugRequestBadRequest() *DeleteDebugRequestBadRequest

NewDeleteDebugRequestBadRequest creates a DeleteDebugRequestBadRequest with default headers values

func (*DeleteDebugRequestBadRequest) Error

type DeleteDebugRequestNotFound

type DeleteDebugRequestNotFound struct {
}

DeleteDebugRequestNotFound handles this case with default header values.

Debug request not found

func NewDeleteDebugRequestNotFound

func NewDeleteDebugRequestNotFound() *DeleteDebugRequestNotFound

NewDeleteDebugRequestNotFound creates a DeleteDebugRequestNotFound with default headers values

func (*DeleteDebugRequestNotFound) Error

type DeleteDebugRequestOK

type DeleteDebugRequestOK struct {
}

DeleteDebugRequestOK handles this case with default header values.

OK

func NewDeleteDebugRequestOK

func NewDeleteDebugRequestOK() *DeleteDebugRequestOK

NewDeleteDebugRequestOK creates a DeleteDebugRequestOK with default headers values

func (*DeleteDebugRequestOK) Error

func (o *DeleteDebugRequestOK) Error() string

type DeleteDebugRequestParams

type DeleteDebugRequestParams struct {

	/*DebugRequestID
	  ID of debug request

	*/
	DebugRequestID string

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

DeleteDebugRequestParams contains all the parameters to send to the API endpoint for the delete debug request operation typically these are written to a http.Request

func NewDeleteDebugRequestParams

func NewDeleteDebugRequestParams() *DeleteDebugRequestParams

NewDeleteDebugRequestParams creates a new DeleteDebugRequestParams object with the default values initialized.

func NewDeleteDebugRequestParamsWithContext

func NewDeleteDebugRequestParamsWithContext(ctx context.Context) *DeleteDebugRequestParams

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

func NewDeleteDebugRequestParamsWithHTTPClient

func NewDeleteDebugRequestParamsWithHTTPClient(client *http.Client) *DeleteDebugRequestParams

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

func NewDeleteDebugRequestParamsWithTimeout

func NewDeleteDebugRequestParamsWithTimeout(timeout time.Duration) *DeleteDebugRequestParams

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

func (*DeleteDebugRequestParams) SetContext

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

SetContext adds the context to the delete debug request params

func (*DeleteDebugRequestParams) SetDebugRequestID

func (o *DeleteDebugRequestParams) SetDebugRequestID(debugRequestID string)

SetDebugRequestID adds the debugRequestId to the delete debug request params

func (*DeleteDebugRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete debug request params

func (*DeleteDebugRequestParams) SetTimeout

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

SetTimeout adds the timeout to the delete debug request params

func (*DeleteDebugRequestParams) WithContext

WithContext adds the context to the delete debug request params

func (*DeleteDebugRequestParams) WithDebugRequestID

func (o *DeleteDebugRequestParams) WithDebugRequestID(debugRequestID string) *DeleteDebugRequestParams

WithDebugRequestID adds the debugRequestID to the delete debug request params

func (*DeleteDebugRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete debug request params

func (*DeleteDebugRequestParams) WithTimeout

WithTimeout adds the timeout to the delete debug request params

func (*DeleteDebugRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDebugRequestReader

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

DeleteDebugRequestReader is a Reader for the DeleteDebugRequest structure.

func (*DeleteDebugRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDebugRequestUnprocessableEntity

type DeleteDebugRequestUnprocessableEntity struct {
}

DeleteDebugRequestUnprocessableEntity handles this case with default header values.

Validation exception

func NewDeleteDebugRequestUnprocessableEntity

func NewDeleteDebugRequestUnprocessableEntity() *DeleteDebugRequestUnprocessableEntity

NewDeleteDebugRequestUnprocessableEntity creates a DeleteDebugRequestUnprocessableEntity with default headers values

func (*DeleteDebugRequestUnprocessableEntity) Error

type GetDebugRequestNotFound

type GetDebugRequestNotFound struct {
}

GetDebugRequestNotFound handles this case with default header values.

Not found

func NewGetDebugRequestNotFound

func NewGetDebugRequestNotFound() *GetDebugRequestNotFound

NewGetDebugRequestNotFound creates a GetDebugRequestNotFound with default headers values

func (*GetDebugRequestNotFound) Error

func (o *GetDebugRequestNotFound) Error() string

type GetDebugRequestOK

type GetDebugRequestOK struct {
	Payload *models.DebugRequest
}

GetDebugRequestOK handles this case with default header values.

OK

func NewGetDebugRequestOK

func NewGetDebugRequestOK() *GetDebugRequestOK

NewGetDebugRequestOK creates a GetDebugRequestOK with default headers values

func (*GetDebugRequestOK) Error

func (o *GetDebugRequestOK) Error() string

type GetDebugRequestParams

type GetDebugRequestParams struct {

	/*DebugRequestID
	  ID of config to return

	*/
	DebugRequestID string

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

GetDebugRequestParams contains all the parameters to send to the API endpoint for the get debug request operation typically these are written to a http.Request

func NewGetDebugRequestParams

func NewGetDebugRequestParams() *GetDebugRequestParams

NewGetDebugRequestParams creates a new GetDebugRequestParams object with the default values initialized.

func NewGetDebugRequestParamsWithContext

func NewGetDebugRequestParamsWithContext(ctx context.Context) *GetDebugRequestParams

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

func NewGetDebugRequestParamsWithHTTPClient

func NewGetDebugRequestParamsWithHTTPClient(client *http.Client) *GetDebugRequestParams

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

func NewGetDebugRequestParamsWithTimeout

func NewGetDebugRequestParamsWithTimeout(timeout time.Duration) *GetDebugRequestParams

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

func (*GetDebugRequestParams) SetContext

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

SetContext adds the context to the get debug request params

func (*GetDebugRequestParams) SetDebugRequestID

func (o *GetDebugRequestParams) SetDebugRequestID(debugRequestID string)

SetDebugRequestID adds the debugRequestId to the get debug request params

func (*GetDebugRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get debug request params

func (*GetDebugRequestParams) SetTimeout

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

SetTimeout adds the timeout to the get debug request params

func (*GetDebugRequestParams) WithContext

WithContext adds the context to the get debug request params

func (*GetDebugRequestParams) WithDebugRequestID

func (o *GetDebugRequestParams) WithDebugRequestID(debugRequestID string) *GetDebugRequestParams

WithDebugRequestID adds the debugRequestID to the get debug request params

func (*GetDebugRequestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get debug request params

func (*GetDebugRequestParams) WithTimeout

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

WithTimeout adds the timeout to the get debug request params

func (*GetDebugRequestParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDebugRequestReader

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

GetDebugRequestReader is a Reader for the GetDebugRequest structure.

func (*GetDebugRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDebugRequestsOK

type GetDebugRequestsOK struct {
	Payload models.GetDebugRequestsOKBody
}

GetDebugRequestsOK handles this case with default header values.

OK

func NewGetDebugRequestsOK

func NewGetDebugRequestsOK() *GetDebugRequestsOK

NewGetDebugRequestsOK creates a GetDebugRequestsOK with default headers values

func (*GetDebugRequestsOK) Error

func (o *GetDebugRequestsOK) Error() string

type GetDebugRequestsParams

type GetDebugRequestsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDebugRequestsParams contains all the parameters to send to the API endpoint for the get debug requests operation typically these are written to a http.Request

func NewGetDebugRequestsParams

func NewGetDebugRequestsParams() *GetDebugRequestsParams

NewGetDebugRequestsParams creates a new GetDebugRequestsParams object with the default values initialized.

func NewGetDebugRequestsParamsWithContext

func NewGetDebugRequestsParamsWithContext(ctx context.Context) *GetDebugRequestsParams

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

func NewGetDebugRequestsParamsWithHTTPClient

func NewGetDebugRequestsParamsWithHTTPClient(client *http.Client) *GetDebugRequestsParams

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

func NewGetDebugRequestsParamsWithTimeout

func NewGetDebugRequestsParamsWithTimeout(timeout time.Duration) *GetDebugRequestsParams

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

func (*GetDebugRequestsParams) SetContext

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

SetContext adds the context to the get debug requests params

func (*GetDebugRequestsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get debug requests params

func (*GetDebugRequestsParams) SetTimeout

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

SetTimeout adds the timeout to the get debug requests params

func (*GetDebugRequestsParams) WithContext

WithContext adds the context to the get debug requests params

func (*GetDebugRequestsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get debug requests params

func (*GetDebugRequestsParams) WithTimeout

WithTimeout adds the timeout to the get debug requests params

func (*GetDebugRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDebugRequestsReader

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

GetDebugRequestsReader is a Reader for the GetDebugRequests structure.

func (*GetDebugRequestsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDebugRequestsUnprocessableEntity

type GetDebugRequestsUnprocessableEntity struct {
}

GetDebugRequestsUnprocessableEntity handles this case with default header values.

Validation exception

func NewGetDebugRequestsUnprocessableEntity

func NewGetDebugRequestsUnprocessableEntity() *GetDebugRequestsUnprocessableEntity

NewGetDebugRequestsUnprocessableEntity creates a GetDebugRequestsUnprocessableEntity with default headers values

func (*GetDebugRequestsUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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