bulk_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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 bulk controller API

func (*Client) PostBulk

func (a *Client) PostBulk(params *PostBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PostBulkOK, error)

PostBulk posts

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PostBulk(params *PostBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PostBulkOK, 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 bulk controller API client.

type PostBulkBadRequest

type PostBulkBadRequest struct {
	Payload *models.APIResult
}

PostBulkBadRequest handles this case with default header values.

Bad Request

func NewPostBulkBadRequest

func NewPostBulkBadRequest() *PostBulkBadRequest

NewPostBulkBadRequest creates a PostBulkBadRequest with default headers values

func (*PostBulkBadRequest) Error

func (o *PostBulkBadRequest) Error() string

func (*PostBulkBadRequest) GetPayload

func (o *PostBulkBadRequest) GetPayload() *models.APIResult

type PostBulkConflict

type PostBulkConflict struct {
	Payload *models.APIResult
}

PostBulkConflict handles this case with default header values.

Conflict

func NewPostBulkConflict

func NewPostBulkConflict() *PostBulkConflict

NewPostBulkConflict creates a PostBulkConflict with default headers values

func (*PostBulkConflict) Error

func (o *PostBulkConflict) Error() string

func (*PostBulkConflict) GetPayload

func (o *PostBulkConflict) GetPayload() *models.APIResult

type PostBulkForbidden

type PostBulkForbidden struct {
	Payload *models.APIResult
}

PostBulkForbidden handles this case with default header values.

Forbidden

func NewPostBulkForbidden

func NewPostBulkForbidden() *PostBulkForbidden

NewPostBulkForbidden creates a PostBulkForbidden with default headers values

func (*PostBulkForbidden) Error

func (o *PostBulkForbidden) Error() string

func (*PostBulkForbidden) GetPayload

func (o *PostBulkForbidden) GetPayload() *models.APIResult

type PostBulkInternalServerError

type PostBulkInternalServerError struct {
	Payload *models.APIResult
}

PostBulkInternalServerError handles this case with default header values.

Internal Server Error

func NewPostBulkInternalServerError

func NewPostBulkInternalServerError() *PostBulkInternalServerError

NewPostBulkInternalServerError creates a PostBulkInternalServerError with default headers values

func (*PostBulkInternalServerError) Error

func (*PostBulkInternalServerError) GetPayload

func (o *PostBulkInternalServerError) GetPayload() *models.APIResult

type PostBulkNotFound

type PostBulkNotFound struct {
	Payload *models.APIResult
}

PostBulkNotFound handles this case with default header values.

Not Found

func NewPostBulkNotFound

func NewPostBulkNotFound() *PostBulkNotFound

NewPostBulkNotFound creates a PostBulkNotFound with default headers values

func (*PostBulkNotFound) Error

func (o *PostBulkNotFound) Error() string

func (*PostBulkNotFound) GetPayload

func (o *PostBulkNotFound) GetPayload() *models.APIResult

type PostBulkOK

type PostBulkOK struct {
	Payload *models.APIResultListBulkResponseItem
}

PostBulkOK handles this case with default header values.

OK

func NewPostBulkOK

func NewPostBulkOK() *PostBulkOK

NewPostBulkOK creates a PostBulkOK with default headers values

func (*PostBulkOK) Error

func (o *PostBulkOK) Error() string

func (*PostBulkOK) GetPayload

type PostBulkParams

type PostBulkParams struct {

	/*APIBulkRequestData
	  apiBulkRequestData

	*/
	APIBulkRequestData *models.BulkRequestData

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

PostBulkParams contains all the parameters to send to the API endpoint for the post bulk operation typically these are written to a http.Request

func NewPostBulkParams

func NewPostBulkParams() *PostBulkParams

NewPostBulkParams creates a new PostBulkParams object with the default values initialized.

func NewPostBulkParamsWithContext

func NewPostBulkParamsWithContext(ctx context.Context) *PostBulkParams

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

func NewPostBulkParamsWithHTTPClient

func NewPostBulkParamsWithHTTPClient(client *http.Client) *PostBulkParams

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

func NewPostBulkParamsWithTimeout

func NewPostBulkParamsWithTimeout(timeout time.Duration) *PostBulkParams

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

func (*PostBulkParams) SetAPIBulkRequestData

func (o *PostBulkParams) SetAPIBulkRequestData(aPIBulkRequestData *models.BulkRequestData)

SetAPIBulkRequestData adds the apiBulkRequestData to the post bulk params

func (*PostBulkParams) SetContext

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

SetContext adds the context to the post bulk params

func (*PostBulkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post bulk params

func (*PostBulkParams) SetTimeout

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

SetTimeout adds the timeout to the post bulk params

func (*PostBulkParams) WithAPIBulkRequestData

func (o *PostBulkParams) WithAPIBulkRequestData(aPIBulkRequestData *models.BulkRequestData) *PostBulkParams

WithAPIBulkRequestData adds the aPIBulkRequestData to the post bulk params

func (*PostBulkParams) WithContext

func (o *PostBulkParams) WithContext(ctx context.Context) *PostBulkParams

WithContext adds the context to the post bulk params

func (*PostBulkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post bulk params

func (*PostBulkParams) WithTimeout

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

WithTimeout adds the timeout to the post bulk params

func (*PostBulkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostBulkReader

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

PostBulkReader is a Reader for the PostBulk structure.

func (*PostBulkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostBulkUnauthorized

type PostBulkUnauthorized struct {
	Payload *models.APIResult
}

PostBulkUnauthorized handles this case with default header values.

Unauthorized

func NewPostBulkUnauthorized

func NewPostBulkUnauthorized() *PostBulkUnauthorized

NewPostBulkUnauthorized creates a PostBulkUnauthorized with default headers values

func (*PostBulkUnauthorized) Error

func (o *PostBulkUnauthorized) Error() string

func (*PostBulkUnauthorized) GetPayload

func (o *PostBulkUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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