batch

package
v0.0.0-...-3852cca Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT 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 batch API

func (*Client) CreateBatch

func (a *Client) CreateBatch(params *CreateBatchParams, opts ...ClientOption) (*CreateBatchOK, error)

CreateBatch creates batch

func (*Client) DeleteBatch

func (a *Client) DeleteBatch(params *DeleteBatchParams, opts ...ClientOption) (*DeleteBatchOK, error)

DeleteBatch deletes batch

func (*Client) GetBatch

func (a *Client) GetBatch(params *GetBatchParams, opts ...ClientOption) (*GetBatchOK, error)

GetBatch gets batch

func (*Client) GetBatchJob

func (a *Client) GetBatchJob(params *GetBatchJobParams, opts ...ClientOption) (*GetBatchJobOK, error)

GetBatchJob gets batch job

func (*Client) GetBatches

func (a *Client) GetBatches(params *GetBatchesParams, opts ...ClientOption) (*GetBatchesOK, error)

GetBatches gets batches

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StopBatch

func (a *Client) StopBatch(params *StopBatchParams, opts ...ClientOption) (*StopBatchOK, error)

StopBatch stops batch

func (*Client) StopBatchJob

func (a *Client) StopBatchJob(params *StopBatchJobParams, opts ...ClientOption) (*StopBatchJobOK, error)

StopBatchJob stops batch job

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateBatch(params *CreateBatchParams, opts ...ClientOption) (*CreateBatchOK, error)

	DeleteBatch(params *DeleteBatchParams, opts ...ClientOption) (*DeleteBatchOK, error)

	GetBatch(params *GetBatchParams, opts ...ClientOption) (*GetBatchOK, error)

	GetBatchJob(params *GetBatchJobParams, opts ...ClientOption) (*GetBatchJobOK, error)

	GetBatches(params *GetBatchesParams, opts ...ClientOption) (*GetBatchesOK, error)

	StopBatch(params *StopBatchParams, opts ...ClientOption) (*StopBatchOK, error)

	StopBatchJob(params *StopBatchJobParams, opts ...ClientOption) (*StopBatchJobOK, 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 batch API client.

type CreateBatchBadRequest

type CreateBatchBadRequest struct {
	Payload *models.Status
}

CreateBatchBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateBatchBadRequest

func NewCreateBatchBadRequest() *CreateBatchBadRequest

NewCreateBatchBadRequest creates a CreateBatchBadRequest with default headers values

func (*CreateBatchBadRequest) Code

func (o *CreateBatchBadRequest) Code() int

Code gets the status code for the create batch bad request response

func (*CreateBatchBadRequest) Error

func (o *CreateBatchBadRequest) Error() string

func (*CreateBatchBadRequest) GetPayload

func (o *CreateBatchBadRequest) GetPayload() *models.Status

func (*CreateBatchBadRequest) IsClientError

func (o *CreateBatchBadRequest) IsClientError() bool

IsClientError returns true when this create batch bad request response has a 4xx status code

func (*CreateBatchBadRequest) IsCode

func (o *CreateBatchBadRequest) IsCode(code int) bool

IsCode returns true when this create batch bad request response a status code equal to that given

func (*CreateBatchBadRequest) IsRedirect

func (o *CreateBatchBadRequest) IsRedirect() bool

IsRedirect returns true when this create batch bad request response has a 3xx status code

func (*CreateBatchBadRequest) IsServerError

func (o *CreateBatchBadRequest) IsServerError() bool

IsServerError returns true when this create batch bad request response has a 5xx status code

func (*CreateBatchBadRequest) IsSuccess

func (o *CreateBatchBadRequest) IsSuccess() bool

IsSuccess returns true when this create batch bad request response has a 2xx status code

func (*CreateBatchBadRequest) String

func (o *CreateBatchBadRequest) String() string

type CreateBatchInternalServerError

type CreateBatchInternalServerError struct {
	Payload *models.Status
}

CreateBatchInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewCreateBatchInternalServerError

func NewCreateBatchInternalServerError() *CreateBatchInternalServerError

NewCreateBatchInternalServerError creates a CreateBatchInternalServerError with default headers values

func (*CreateBatchInternalServerError) Code

Code gets the status code for the create batch internal server error response

func (*CreateBatchInternalServerError) Error

func (*CreateBatchInternalServerError) GetPayload

func (o *CreateBatchInternalServerError) GetPayload() *models.Status

func (*CreateBatchInternalServerError) IsClientError

func (o *CreateBatchInternalServerError) IsClientError() bool

IsClientError returns true when this create batch internal server error response has a 4xx status code

func (*CreateBatchInternalServerError) IsCode

func (o *CreateBatchInternalServerError) IsCode(code int) bool

IsCode returns true when this create batch internal server error response a status code equal to that given

func (*CreateBatchInternalServerError) IsRedirect

func (o *CreateBatchInternalServerError) IsRedirect() bool

IsRedirect returns true when this create batch internal server error response has a 3xx status code

func (*CreateBatchInternalServerError) IsServerError

func (o *CreateBatchInternalServerError) IsServerError() bool

IsServerError returns true when this create batch internal server error response has a 5xx status code

func (*CreateBatchInternalServerError) IsSuccess

func (o *CreateBatchInternalServerError) IsSuccess() bool

IsSuccess returns true when this create batch internal server error response has a 2xx status code

func (*CreateBatchInternalServerError) String

type CreateBatchNotFound

type CreateBatchNotFound struct {
	Payload *models.Status
}

CreateBatchNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateBatchNotFound

func NewCreateBatchNotFound() *CreateBatchNotFound

NewCreateBatchNotFound creates a CreateBatchNotFound with default headers values

func (*CreateBatchNotFound) Code

func (o *CreateBatchNotFound) Code() int

Code gets the status code for the create batch not found response

func (*CreateBatchNotFound) Error

func (o *CreateBatchNotFound) Error() string

func (*CreateBatchNotFound) GetPayload

func (o *CreateBatchNotFound) GetPayload() *models.Status

func (*CreateBatchNotFound) IsClientError

func (o *CreateBatchNotFound) IsClientError() bool

IsClientError returns true when this create batch not found response has a 4xx status code

func (*CreateBatchNotFound) IsCode

func (o *CreateBatchNotFound) IsCode(code int) bool

IsCode returns true when this create batch not found response a status code equal to that given

func (*CreateBatchNotFound) IsRedirect

func (o *CreateBatchNotFound) IsRedirect() bool

IsRedirect returns true when this create batch not found response has a 3xx status code

func (*CreateBatchNotFound) IsServerError

func (o *CreateBatchNotFound) IsServerError() bool

IsServerError returns true when this create batch not found response has a 5xx status code

func (*CreateBatchNotFound) IsSuccess

func (o *CreateBatchNotFound) IsSuccess() bool

IsSuccess returns true when this create batch not found response has a 2xx status code

func (*CreateBatchNotFound) String

func (o *CreateBatchNotFound) String() string

type CreateBatchOK

type CreateBatchOK struct {
	Payload *models.BatchStatus
}

CreateBatchOK describes a response with status code 200, with default header values.

Successful create batch

func NewCreateBatchOK

func NewCreateBatchOK() *CreateBatchOK

NewCreateBatchOK creates a CreateBatchOK with default headers values

func (*CreateBatchOK) Code

func (o *CreateBatchOK) Code() int

Code gets the status code for the create batch o k response

func (*CreateBatchOK) Error

func (o *CreateBatchOK) Error() string

func (*CreateBatchOK) GetPayload

func (o *CreateBatchOK) GetPayload() *models.BatchStatus

func (*CreateBatchOK) IsClientError

func (o *CreateBatchOK) IsClientError() bool

IsClientError returns true when this create batch o k response has a 4xx status code

func (*CreateBatchOK) IsCode

func (o *CreateBatchOK) IsCode(code int) bool

IsCode returns true when this create batch o k response a status code equal to that given

func (*CreateBatchOK) IsRedirect

func (o *CreateBatchOK) IsRedirect() bool

IsRedirect returns true when this create batch o k response has a 3xx status code

func (*CreateBatchOK) IsServerError

func (o *CreateBatchOK) IsServerError() bool

IsServerError returns true when this create batch o k response has a 5xx status code

func (*CreateBatchOK) IsSuccess

func (o *CreateBatchOK) IsSuccess() bool

IsSuccess returns true when this create batch o k response has a 2xx status code

func (*CreateBatchOK) String

func (o *CreateBatchOK) String() string

type CreateBatchParams

type CreateBatchParams struct {

	/* BatchCreation.

	   Batch to create
	*/
	BatchCreation *models.BatchScheduleDescription

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

CreateBatchParams contains all the parameters to send to the API endpoint

for the create batch operation.

Typically these are written to a http.Request.

func NewCreateBatchParams

func NewCreateBatchParams() *CreateBatchParams

NewCreateBatchParams creates a new CreateBatchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateBatchParamsWithContext

func NewCreateBatchParamsWithContext(ctx context.Context) *CreateBatchParams

NewCreateBatchParamsWithContext creates a new CreateBatchParams object with the ability to set a context for a request.

func NewCreateBatchParamsWithHTTPClient

func NewCreateBatchParamsWithHTTPClient(client *http.Client) *CreateBatchParams

NewCreateBatchParamsWithHTTPClient creates a new CreateBatchParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBatchParamsWithTimeout

func NewCreateBatchParamsWithTimeout(timeout time.Duration) *CreateBatchParams

NewCreateBatchParamsWithTimeout creates a new CreateBatchParams object with the ability to set a timeout on a request.

func (*CreateBatchParams) SetBatchCreation

func (o *CreateBatchParams) SetBatchCreation(batchCreation *models.BatchScheduleDescription)

SetBatchCreation adds the batchCreation to the create batch params

func (*CreateBatchParams) SetContext

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

SetContext adds the context to the create batch params

func (*CreateBatchParams) SetDefaults

func (o *CreateBatchParams) SetDefaults()

SetDefaults hydrates default values in the create batch params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBatchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create batch params

func (*CreateBatchParams) SetTimeout

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

SetTimeout adds the timeout to the create batch params

func (*CreateBatchParams) WithBatchCreation

func (o *CreateBatchParams) WithBatchCreation(batchCreation *models.BatchScheduleDescription) *CreateBatchParams

WithBatchCreation adds the batchCreation to the create batch params

func (*CreateBatchParams) WithContext

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

WithContext adds the context to the create batch params

func (*CreateBatchParams) WithDefaults

func (o *CreateBatchParams) WithDefaults() *CreateBatchParams

WithDefaults hydrates default values in the create batch params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBatchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create batch params

func (*CreateBatchParams) WithTimeout

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

WithTimeout adds the timeout to the create batch params

func (*CreateBatchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBatchReader

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

CreateBatchReader is a Reader for the CreateBatch structure.

func (*CreateBatchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateBatchUnprocessableEntity

type CreateBatchUnprocessableEntity struct {
	Payload *models.Status
}

CreateBatchUnprocessableEntity describes a response with status code 422, with default header values.

Invalid data in request

func NewCreateBatchUnprocessableEntity

func NewCreateBatchUnprocessableEntity() *CreateBatchUnprocessableEntity

NewCreateBatchUnprocessableEntity creates a CreateBatchUnprocessableEntity with default headers values

func (*CreateBatchUnprocessableEntity) Code

Code gets the status code for the create batch unprocessable entity response

func (*CreateBatchUnprocessableEntity) Error

func (*CreateBatchUnprocessableEntity) GetPayload

func (o *CreateBatchUnprocessableEntity) GetPayload() *models.Status

func (*CreateBatchUnprocessableEntity) IsClientError

func (o *CreateBatchUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create batch unprocessable entity response has a 4xx status code

func (*CreateBatchUnprocessableEntity) IsCode

func (o *CreateBatchUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create batch unprocessable entity response a status code equal to that given

func (*CreateBatchUnprocessableEntity) IsRedirect

func (o *CreateBatchUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create batch unprocessable entity response has a 3xx status code

func (*CreateBatchUnprocessableEntity) IsServerError

func (o *CreateBatchUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create batch unprocessable entity response has a 5xx status code

func (*CreateBatchUnprocessableEntity) IsSuccess

func (o *CreateBatchUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create batch unprocessable entity response has a 2xx status code

func (*CreateBatchUnprocessableEntity) String

type DeleteBatchInternalServerError

type DeleteBatchInternalServerError struct {
	Payload *models.Status
}

DeleteBatchInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewDeleteBatchInternalServerError

func NewDeleteBatchInternalServerError() *DeleteBatchInternalServerError

NewDeleteBatchInternalServerError creates a DeleteBatchInternalServerError with default headers values

func (*DeleteBatchInternalServerError) Code

Code gets the status code for the delete batch internal server error response

func (*DeleteBatchInternalServerError) Error

func (*DeleteBatchInternalServerError) GetPayload

func (o *DeleteBatchInternalServerError) GetPayload() *models.Status

func (*DeleteBatchInternalServerError) IsClientError

func (o *DeleteBatchInternalServerError) IsClientError() bool

IsClientError returns true when this delete batch internal server error response has a 4xx status code

func (*DeleteBatchInternalServerError) IsCode

func (o *DeleteBatchInternalServerError) IsCode(code int) bool

IsCode returns true when this delete batch internal server error response a status code equal to that given

func (*DeleteBatchInternalServerError) IsRedirect

func (o *DeleteBatchInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete batch internal server error response has a 3xx status code

func (*DeleteBatchInternalServerError) IsServerError

func (o *DeleteBatchInternalServerError) IsServerError() bool

IsServerError returns true when this delete batch internal server error response has a 5xx status code

func (*DeleteBatchInternalServerError) IsSuccess

func (o *DeleteBatchInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete batch internal server error response has a 2xx status code

func (*DeleteBatchInternalServerError) String

type DeleteBatchNotFound

type DeleteBatchNotFound struct {
	Payload *models.Status
}

DeleteBatchNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteBatchNotFound

func NewDeleteBatchNotFound() *DeleteBatchNotFound

NewDeleteBatchNotFound creates a DeleteBatchNotFound with default headers values

func (*DeleteBatchNotFound) Code

func (o *DeleteBatchNotFound) Code() int

Code gets the status code for the delete batch not found response

func (*DeleteBatchNotFound) Error

func (o *DeleteBatchNotFound) Error() string

func (*DeleteBatchNotFound) GetPayload

func (o *DeleteBatchNotFound) GetPayload() *models.Status

func (*DeleteBatchNotFound) IsClientError

func (o *DeleteBatchNotFound) IsClientError() bool

IsClientError returns true when this delete batch not found response has a 4xx status code

func (*DeleteBatchNotFound) IsCode

func (o *DeleteBatchNotFound) IsCode(code int) bool

IsCode returns true when this delete batch not found response a status code equal to that given

func (*DeleteBatchNotFound) IsRedirect

func (o *DeleteBatchNotFound) IsRedirect() bool

IsRedirect returns true when this delete batch not found response has a 3xx status code

func (*DeleteBatchNotFound) IsServerError

func (o *DeleteBatchNotFound) IsServerError() bool

IsServerError returns true when this delete batch not found response has a 5xx status code

func (*DeleteBatchNotFound) IsSuccess

func (o *DeleteBatchNotFound) IsSuccess() bool

IsSuccess returns true when this delete batch not found response has a 2xx status code

func (*DeleteBatchNotFound) String

func (o *DeleteBatchNotFound) String() string

type DeleteBatchOK

type DeleteBatchOK struct {
	Payload *models.Status
}

DeleteBatchOK describes a response with status code 200, with default header values.

Successful delete batch

func NewDeleteBatchOK

func NewDeleteBatchOK() *DeleteBatchOK

NewDeleteBatchOK creates a DeleteBatchOK with default headers values

func (*DeleteBatchOK) Code

func (o *DeleteBatchOK) Code() int

Code gets the status code for the delete batch o k response

func (*DeleteBatchOK) Error

func (o *DeleteBatchOK) Error() string

func (*DeleteBatchOK) GetPayload

func (o *DeleteBatchOK) GetPayload() *models.Status

func (*DeleteBatchOK) IsClientError

func (o *DeleteBatchOK) IsClientError() bool

IsClientError returns true when this delete batch o k response has a 4xx status code

func (*DeleteBatchOK) IsCode

func (o *DeleteBatchOK) IsCode(code int) bool

IsCode returns true when this delete batch o k response a status code equal to that given

func (*DeleteBatchOK) IsRedirect

func (o *DeleteBatchOK) IsRedirect() bool

IsRedirect returns true when this delete batch o k response has a 3xx status code

func (*DeleteBatchOK) IsServerError

func (o *DeleteBatchOK) IsServerError() bool

IsServerError returns true when this delete batch o k response has a 5xx status code

func (*DeleteBatchOK) IsSuccess

func (o *DeleteBatchOK) IsSuccess() bool

IsSuccess returns true when this delete batch o k response has a 2xx status code

func (*DeleteBatchOK) String

func (o *DeleteBatchOK) String() string

type DeleteBatchParams

type DeleteBatchParams struct {

	/* BatchName.

	   Name of batch
	*/
	BatchName string

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

DeleteBatchParams contains all the parameters to send to the API endpoint

for the delete batch operation.

Typically these are written to a http.Request.

func NewDeleteBatchParams

func NewDeleteBatchParams() *DeleteBatchParams

NewDeleteBatchParams creates a new DeleteBatchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteBatchParamsWithContext

func NewDeleteBatchParamsWithContext(ctx context.Context) *DeleteBatchParams

NewDeleteBatchParamsWithContext creates a new DeleteBatchParams object with the ability to set a context for a request.

func NewDeleteBatchParamsWithHTTPClient

func NewDeleteBatchParamsWithHTTPClient(client *http.Client) *DeleteBatchParams

NewDeleteBatchParamsWithHTTPClient creates a new DeleteBatchParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBatchParamsWithTimeout

func NewDeleteBatchParamsWithTimeout(timeout time.Duration) *DeleteBatchParams

NewDeleteBatchParamsWithTimeout creates a new DeleteBatchParams object with the ability to set a timeout on a request.

func (*DeleteBatchParams) SetBatchName

func (o *DeleteBatchParams) SetBatchName(batchName string)

SetBatchName adds the batchName to the delete batch params

func (*DeleteBatchParams) SetContext

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

SetContext adds the context to the delete batch params

func (*DeleteBatchParams) SetDefaults

func (o *DeleteBatchParams) SetDefaults()

SetDefaults hydrates default values in the delete batch params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBatchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete batch params

func (*DeleteBatchParams) SetTimeout

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

SetTimeout adds the timeout to the delete batch params

func (*DeleteBatchParams) WithBatchName

func (o *DeleteBatchParams) WithBatchName(batchName string) *DeleteBatchParams

WithBatchName adds the batchName to the delete batch params

func (*DeleteBatchParams) WithContext

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

WithContext adds the context to the delete batch params

func (*DeleteBatchParams) WithDefaults

func (o *DeleteBatchParams) WithDefaults() *DeleteBatchParams

WithDefaults hydrates default values in the delete batch params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBatchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete batch params

func (*DeleteBatchParams) WithTimeout

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

WithTimeout adds the timeout to the delete batch params

func (*DeleteBatchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBatchReader

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

DeleteBatchReader is a Reader for the DeleteBatch structure.

func (*DeleteBatchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBatchInternalServerError

type GetBatchInternalServerError struct {
	Payload *models.Status
}

GetBatchInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetBatchInternalServerError

func NewGetBatchInternalServerError() *GetBatchInternalServerError

NewGetBatchInternalServerError creates a GetBatchInternalServerError with default headers values

func (*GetBatchInternalServerError) Code

func (o *GetBatchInternalServerError) Code() int

Code gets the status code for the get batch internal server error response

func (*GetBatchInternalServerError) Error

func (*GetBatchInternalServerError) GetPayload

func (o *GetBatchInternalServerError) GetPayload() *models.Status

func (*GetBatchInternalServerError) IsClientError

func (o *GetBatchInternalServerError) IsClientError() bool

IsClientError returns true when this get batch internal server error response has a 4xx status code

func (*GetBatchInternalServerError) IsCode

func (o *GetBatchInternalServerError) IsCode(code int) bool

IsCode returns true when this get batch internal server error response a status code equal to that given

func (*GetBatchInternalServerError) IsRedirect

func (o *GetBatchInternalServerError) IsRedirect() bool

IsRedirect returns true when this get batch internal server error response has a 3xx status code

func (*GetBatchInternalServerError) IsServerError

func (o *GetBatchInternalServerError) IsServerError() bool

IsServerError returns true when this get batch internal server error response has a 5xx status code

func (*GetBatchInternalServerError) IsSuccess

func (o *GetBatchInternalServerError) IsSuccess() bool

IsSuccess returns true when this get batch internal server error response has a 2xx status code

func (*GetBatchInternalServerError) String

func (o *GetBatchInternalServerError) String() string

type GetBatchJobInternalServerError

type GetBatchJobInternalServerError struct {
	Payload *models.Status
}

GetBatchJobInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetBatchJobInternalServerError

func NewGetBatchJobInternalServerError() *GetBatchJobInternalServerError

NewGetBatchJobInternalServerError creates a GetBatchJobInternalServerError with default headers values

func (*GetBatchJobInternalServerError) Code

Code gets the status code for the get batch job internal server error response

func (*GetBatchJobInternalServerError) Error

func (*GetBatchJobInternalServerError) GetPayload

func (o *GetBatchJobInternalServerError) GetPayload() *models.Status

func (*GetBatchJobInternalServerError) IsClientError

func (o *GetBatchJobInternalServerError) IsClientError() bool

IsClientError returns true when this get batch job internal server error response has a 4xx status code

func (*GetBatchJobInternalServerError) IsCode

func (o *GetBatchJobInternalServerError) IsCode(code int) bool

IsCode returns true when this get batch job internal server error response a status code equal to that given

func (*GetBatchJobInternalServerError) IsRedirect

func (o *GetBatchJobInternalServerError) IsRedirect() bool

IsRedirect returns true when this get batch job internal server error response has a 3xx status code

func (*GetBatchJobInternalServerError) IsServerError

func (o *GetBatchJobInternalServerError) IsServerError() bool

IsServerError returns true when this get batch job internal server error response has a 5xx status code

func (*GetBatchJobInternalServerError) IsSuccess

func (o *GetBatchJobInternalServerError) IsSuccess() bool

IsSuccess returns true when this get batch job internal server error response has a 2xx status code

func (*GetBatchJobInternalServerError) String

type GetBatchJobNotFound

type GetBatchJobNotFound struct {
	Payload *models.Status
}

GetBatchJobNotFound describes a response with status code 404, with default header values.

Not found

func NewGetBatchJobNotFound

func NewGetBatchJobNotFound() *GetBatchJobNotFound

NewGetBatchJobNotFound creates a GetBatchJobNotFound with default headers values

func (*GetBatchJobNotFound) Code

func (o *GetBatchJobNotFound) Code() int

Code gets the status code for the get batch job not found response

func (*GetBatchJobNotFound) Error

func (o *GetBatchJobNotFound) Error() string

func (*GetBatchJobNotFound) GetPayload

func (o *GetBatchJobNotFound) GetPayload() *models.Status

func (*GetBatchJobNotFound) IsClientError

func (o *GetBatchJobNotFound) IsClientError() bool

IsClientError returns true when this get batch job not found response has a 4xx status code

func (*GetBatchJobNotFound) IsCode

func (o *GetBatchJobNotFound) IsCode(code int) bool

IsCode returns true when this get batch job not found response a status code equal to that given

func (*GetBatchJobNotFound) IsRedirect

func (o *GetBatchJobNotFound) IsRedirect() bool

IsRedirect returns true when this get batch job not found response has a 3xx status code

func (*GetBatchJobNotFound) IsServerError

func (o *GetBatchJobNotFound) IsServerError() bool

IsServerError returns true when this get batch job not found response has a 5xx status code

func (*GetBatchJobNotFound) IsSuccess

func (o *GetBatchJobNotFound) IsSuccess() bool

IsSuccess returns true when this get batch job not found response has a 2xx status code

func (*GetBatchJobNotFound) String

func (o *GetBatchJobNotFound) String() string

type GetBatchJobOK

type GetBatchJobOK struct {
	Payload *models.JobStatus
}

GetBatchJobOK describes a response with status code 200, with default header values.

Successful get job

func NewGetBatchJobOK

func NewGetBatchJobOK() *GetBatchJobOK

NewGetBatchJobOK creates a GetBatchJobOK with default headers values

func (*GetBatchJobOK) Code

func (o *GetBatchJobOK) Code() int

Code gets the status code for the get batch job o k response

func (*GetBatchJobOK) Error

func (o *GetBatchJobOK) Error() string

func (*GetBatchJobOK) GetPayload

func (o *GetBatchJobOK) GetPayload() *models.JobStatus

func (*GetBatchJobOK) IsClientError

func (o *GetBatchJobOK) IsClientError() bool

IsClientError returns true when this get batch job o k response has a 4xx status code

func (*GetBatchJobOK) IsCode

func (o *GetBatchJobOK) IsCode(code int) bool

IsCode returns true when this get batch job o k response a status code equal to that given

func (*GetBatchJobOK) IsRedirect

func (o *GetBatchJobOK) IsRedirect() bool

IsRedirect returns true when this get batch job o k response has a 3xx status code

func (*GetBatchJobOK) IsServerError

func (o *GetBatchJobOK) IsServerError() bool

IsServerError returns true when this get batch job o k response has a 5xx status code

func (*GetBatchJobOK) IsSuccess

func (o *GetBatchJobOK) IsSuccess() bool

IsSuccess returns true when this get batch job o k response has a 2xx status code

func (*GetBatchJobOK) String

func (o *GetBatchJobOK) String() string

type GetBatchJobParams

type GetBatchJobParams struct {

	/* BatchName.

	   Name of batch
	*/
	BatchName string

	/* JobName.

	   Name of job
	*/
	JobName string

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

GetBatchJobParams contains all the parameters to send to the API endpoint

for the get batch job operation.

Typically these are written to a http.Request.

func NewGetBatchJobParams

func NewGetBatchJobParams() *GetBatchJobParams

NewGetBatchJobParams creates a new GetBatchJobParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBatchJobParamsWithContext

func NewGetBatchJobParamsWithContext(ctx context.Context) *GetBatchJobParams

NewGetBatchJobParamsWithContext creates a new GetBatchJobParams object with the ability to set a context for a request.

func NewGetBatchJobParamsWithHTTPClient

func NewGetBatchJobParamsWithHTTPClient(client *http.Client) *GetBatchJobParams

NewGetBatchJobParamsWithHTTPClient creates a new GetBatchJobParams object with the ability to set a custom HTTPClient for a request.

func NewGetBatchJobParamsWithTimeout

func NewGetBatchJobParamsWithTimeout(timeout time.Duration) *GetBatchJobParams

NewGetBatchJobParamsWithTimeout creates a new GetBatchJobParams object with the ability to set a timeout on a request.

func (*GetBatchJobParams) SetBatchName

func (o *GetBatchJobParams) SetBatchName(batchName string)

SetBatchName adds the batchName to the get batch job params

func (*GetBatchJobParams) SetContext

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

SetContext adds the context to the get batch job params

func (*GetBatchJobParams) SetDefaults

func (o *GetBatchJobParams) SetDefaults()

SetDefaults hydrates default values in the get batch job params (not the query body).

All values with no default are reset to their zero value.

func (*GetBatchJobParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get batch job params

func (*GetBatchJobParams) SetJobName

func (o *GetBatchJobParams) SetJobName(jobName string)

SetJobName adds the jobName to the get batch job params

func (*GetBatchJobParams) SetTimeout

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

SetTimeout adds the timeout to the get batch job params

func (*GetBatchJobParams) WithBatchName

func (o *GetBatchJobParams) WithBatchName(batchName string) *GetBatchJobParams

WithBatchName adds the batchName to the get batch job params

func (*GetBatchJobParams) WithContext

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

WithContext adds the context to the get batch job params

func (*GetBatchJobParams) WithDefaults

func (o *GetBatchJobParams) WithDefaults() *GetBatchJobParams

WithDefaults hydrates default values in the get batch job params (not the query body).

All values with no default are reset to their zero value.

func (*GetBatchJobParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get batch job params

func (*GetBatchJobParams) WithJobName

func (o *GetBatchJobParams) WithJobName(jobName string) *GetBatchJobParams

WithJobName adds the jobName to the get batch job params

func (*GetBatchJobParams) WithTimeout

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

WithTimeout adds the timeout to the get batch job params

func (*GetBatchJobParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBatchJobReader

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

GetBatchJobReader is a Reader for the GetBatchJob structure.

func (*GetBatchJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBatchNotFound

type GetBatchNotFound struct {
	Payload *models.Status
}

GetBatchNotFound describes a response with status code 404, with default header values.

Not found

func NewGetBatchNotFound

func NewGetBatchNotFound() *GetBatchNotFound

NewGetBatchNotFound creates a GetBatchNotFound with default headers values

func (*GetBatchNotFound) Code

func (o *GetBatchNotFound) Code() int

Code gets the status code for the get batch not found response

func (*GetBatchNotFound) Error

func (o *GetBatchNotFound) Error() string

func (*GetBatchNotFound) GetPayload

func (o *GetBatchNotFound) GetPayload() *models.Status

func (*GetBatchNotFound) IsClientError

func (o *GetBatchNotFound) IsClientError() bool

IsClientError returns true when this get batch not found response has a 4xx status code

func (*GetBatchNotFound) IsCode

func (o *GetBatchNotFound) IsCode(code int) bool

IsCode returns true when this get batch not found response a status code equal to that given

func (*GetBatchNotFound) IsRedirect

func (o *GetBatchNotFound) IsRedirect() bool

IsRedirect returns true when this get batch not found response has a 3xx status code

func (*GetBatchNotFound) IsServerError

func (o *GetBatchNotFound) IsServerError() bool

IsServerError returns true when this get batch not found response has a 5xx status code

func (*GetBatchNotFound) IsSuccess

func (o *GetBatchNotFound) IsSuccess() bool

IsSuccess returns true when this get batch not found response has a 2xx status code

func (*GetBatchNotFound) String

func (o *GetBatchNotFound) String() string

type GetBatchOK

type GetBatchOK struct {
	Payload *models.BatchStatus
}

GetBatchOK describes a response with status code 200, with default header values.

Successful get batch

func NewGetBatchOK

func NewGetBatchOK() *GetBatchOK

NewGetBatchOK creates a GetBatchOK with default headers values

func (*GetBatchOK) Code

func (o *GetBatchOK) Code() int

Code gets the status code for the get batch o k response

func (*GetBatchOK) Error

func (o *GetBatchOK) Error() string

func (*GetBatchOK) GetPayload

func (o *GetBatchOK) GetPayload() *models.BatchStatus

func (*GetBatchOK) IsClientError

func (o *GetBatchOK) IsClientError() bool

IsClientError returns true when this get batch o k response has a 4xx status code

func (*GetBatchOK) IsCode

func (o *GetBatchOK) IsCode(code int) bool

IsCode returns true when this get batch o k response a status code equal to that given

func (*GetBatchOK) IsRedirect

func (o *GetBatchOK) IsRedirect() bool

IsRedirect returns true when this get batch o k response has a 3xx status code

func (*GetBatchOK) IsServerError

func (o *GetBatchOK) IsServerError() bool

IsServerError returns true when this get batch o k response has a 5xx status code

func (*GetBatchOK) IsSuccess

func (o *GetBatchOK) IsSuccess() bool

IsSuccess returns true when this get batch o k response has a 2xx status code

func (*GetBatchOK) String

func (o *GetBatchOK) String() string

type GetBatchParams

type GetBatchParams struct {

	/* BatchName.

	   Name of batch
	*/
	BatchName string

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

GetBatchParams contains all the parameters to send to the API endpoint

for the get batch operation.

Typically these are written to a http.Request.

func NewGetBatchParams

func NewGetBatchParams() *GetBatchParams

NewGetBatchParams creates a new GetBatchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBatchParamsWithContext

func NewGetBatchParamsWithContext(ctx context.Context) *GetBatchParams

NewGetBatchParamsWithContext creates a new GetBatchParams object with the ability to set a context for a request.

func NewGetBatchParamsWithHTTPClient

func NewGetBatchParamsWithHTTPClient(client *http.Client) *GetBatchParams

NewGetBatchParamsWithHTTPClient creates a new GetBatchParams object with the ability to set a custom HTTPClient for a request.

func NewGetBatchParamsWithTimeout

func NewGetBatchParamsWithTimeout(timeout time.Duration) *GetBatchParams

NewGetBatchParamsWithTimeout creates a new GetBatchParams object with the ability to set a timeout on a request.

func (*GetBatchParams) SetBatchName

func (o *GetBatchParams) SetBatchName(batchName string)

SetBatchName adds the batchName to the get batch params

func (*GetBatchParams) SetContext

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

SetContext adds the context to the get batch params

func (*GetBatchParams) SetDefaults

func (o *GetBatchParams) SetDefaults()

SetDefaults hydrates default values in the get batch params (not the query body).

All values with no default are reset to their zero value.

func (*GetBatchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get batch params

func (*GetBatchParams) SetTimeout

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

SetTimeout adds the timeout to the get batch params

func (*GetBatchParams) WithBatchName

func (o *GetBatchParams) WithBatchName(batchName string) *GetBatchParams

WithBatchName adds the batchName to the get batch params

func (*GetBatchParams) WithContext

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

WithContext adds the context to the get batch params

func (*GetBatchParams) WithDefaults

func (o *GetBatchParams) WithDefaults() *GetBatchParams

WithDefaults hydrates default values in the get batch params (not the query body).

All values with no default are reset to their zero value.

func (*GetBatchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get batch params

func (*GetBatchParams) WithTimeout

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

WithTimeout adds the timeout to the get batch params

func (*GetBatchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBatchReader

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

GetBatchReader is a Reader for the GetBatch structure.

func (*GetBatchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBatchesInternalServerError

type GetBatchesInternalServerError struct {
	Payload *models.Status
}

GetBatchesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetBatchesInternalServerError

func NewGetBatchesInternalServerError() *GetBatchesInternalServerError

NewGetBatchesInternalServerError creates a GetBatchesInternalServerError with default headers values

func (*GetBatchesInternalServerError) Code

Code gets the status code for the get batches internal server error response

func (*GetBatchesInternalServerError) Error

func (*GetBatchesInternalServerError) GetPayload

func (o *GetBatchesInternalServerError) GetPayload() *models.Status

func (*GetBatchesInternalServerError) IsClientError

func (o *GetBatchesInternalServerError) IsClientError() bool

IsClientError returns true when this get batches internal server error response has a 4xx status code

func (*GetBatchesInternalServerError) IsCode

func (o *GetBatchesInternalServerError) IsCode(code int) bool

IsCode returns true when this get batches internal server error response a status code equal to that given

func (*GetBatchesInternalServerError) IsRedirect

func (o *GetBatchesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get batches internal server error response has a 3xx status code

func (*GetBatchesInternalServerError) IsServerError

func (o *GetBatchesInternalServerError) IsServerError() bool

IsServerError returns true when this get batches internal server error response has a 5xx status code

func (*GetBatchesInternalServerError) IsSuccess

func (o *GetBatchesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get batches internal server error response has a 2xx status code

func (*GetBatchesInternalServerError) String

type GetBatchesOK

type GetBatchesOK struct {
	Payload []*models.BatchStatus
}

GetBatchesOK describes a response with status code 200, with default header values.

Successful get batches

func NewGetBatchesOK

func NewGetBatchesOK() *GetBatchesOK

NewGetBatchesOK creates a GetBatchesOK with default headers values

func (*GetBatchesOK) Code

func (o *GetBatchesOK) Code() int

Code gets the status code for the get batches o k response

func (*GetBatchesOK) Error

func (o *GetBatchesOK) Error() string

func (*GetBatchesOK) GetPayload

func (o *GetBatchesOK) GetPayload() []*models.BatchStatus

func (*GetBatchesOK) IsClientError

func (o *GetBatchesOK) IsClientError() bool

IsClientError returns true when this get batches o k response has a 4xx status code

func (*GetBatchesOK) IsCode

func (o *GetBatchesOK) IsCode(code int) bool

IsCode returns true when this get batches o k response a status code equal to that given

func (*GetBatchesOK) IsRedirect

func (o *GetBatchesOK) IsRedirect() bool

IsRedirect returns true when this get batches o k response has a 3xx status code

func (*GetBatchesOK) IsServerError

func (o *GetBatchesOK) IsServerError() bool

IsServerError returns true when this get batches o k response has a 5xx status code

func (*GetBatchesOK) IsSuccess

func (o *GetBatchesOK) IsSuccess() bool

IsSuccess returns true when this get batches o k response has a 2xx status code

func (*GetBatchesOK) String

func (o *GetBatchesOK) String() string

type GetBatchesParams

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

GetBatchesParams contains all the parameters to send to the API endpoint

for the get batches operation.

Typically these are written to a http.Request.

func NewGetBatchesParams

func NewGetBatchesParams() *GetBatchesParams

NewGetBatchesParams creates a new GetBatchesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBatchesParamsWithContext

func NewGetBatchesParamsWithContext(ctx context.Context) *GetBatchesParams

NewGetBatchesParamsWithContext creates a new GetBatchesParams object with the ability to set a context for a request.

func NewGetBatchesParamsWithHTTPClient

func NewGetBatchesParamsWithHTTPClient(client *http.Client) *GetBatchesParams

NewGetBatchesParamsWithHTTPClient creates a new GetBatchesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBatchesParamsWithTimeout

func NewGetBatchesParamsWithTimeout(timeout time.Duration) *GetBatchesParams

NewGetBatchesParamsWithTimeout creates a new GetBatchesParams object with the ability to set a timeout on a request.

func (*GetBatchesParams) SetContext

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

SetContext adds the context to the get batches params

func (*GetBatchesParams) SetDefaults

func (o *GetBatchesParams) SetDefaults()

SetDefaults hydrates default values in the get batches params (not the query body).

All values with no default are reset to their zero value.

func (*GetBatchesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get batches params

func (*GetBatchesParams) SetTimeout

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

SetTimeout adds the timeout to the get batches params

func (*GetBatchesParams) WithContext

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

WithContext adds the context to the get batches params

func (*GetBatchesParams) WithDefaults

func (o *GetBatchesParams) WithDefaults() *GetBatchesParams

WithDefaults hydrates default values in the get batches params (not the query body).

All values with no default are reset to their zero value.

func (*GetBatchesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get batches params

func (*GetBatchesParams) WithTimeout

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

WithTimeout adds the timeout to the get batches params

func (*GetBatchesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBatchesReader

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

GetBatchesReader is a Reader for the GetBatches structure.

func (*GetBatchesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopBatchInternalServerError

type StopBatchInternalServerError struct {
	Payload *models.Status
}

StopBatchInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewStopBatchInternalServerError

func NewStopBatchInternalServerError() *StopBatchInternalServerError

NewStopBatchInternalServerError creates a StopBatchInternalServerError with default headers values

func (*StopBatchInternalServerError) Code

Code gets the status code for the stop batch internal server error response

func (*StopBatchInternalServerError) Error

func (*StopBatchInternalServerError) GetPayload

func (o *StopBatchInternalServerError) GetPayload() *models.Status

func (*StopBatchInternalServerError) IsClientError

func (o *StopBatchInternalServerError) IsClientError() bool

IsClientError returns true when this stop batch internal server error response has a 4xx status code

func (*StopBatchInternalServerError) IsCode

func (o *StopBatchInternalServerError) IsCode(code int) bool

IsCode returns true when this stop batch internal server error response a status code equal to that given

func (*StopBatchInternalServerError) IsRedirect

func (o *StopBatchInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop batch internal server error response has a 3xx status code

func (*StopBatchInternalServerError) IsServerError

func (o *StopBatchInternalServerError) IsServerError() bool

IsServerError returns true when this stop batch internal server error response has a 5xx status code

func (*StopBatchInternalServerError) IsSuccess

func (o *StopBatchInternalServerError) IsSuccess() bool

IsSuccess returns true when this stop batch internal server error response has a 2xx status code

func (*StopBatchInternalServerError) String

type StopBatchJobInternalServerError

type StopBatchJobInternalServerError struct {
	Payload *models.Status
}

StopBatchJobInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewStopBatchJobInternalServerError

func NewStopBatchJobInternalServerError() *StopBatchJobInternalServerError

NewStopBatchJobInternalServerError creates a StopBatchJobInternalServerError with default headers values

func (*StopBatchJobInternalServerError) Code

Code gets the status code for the stop batch job internal server error response

func (*StopBatchJobInternalServerError) Error

func (*StopBatchJobInternalServerError) GetPayload

func (*StopBatchJobInternalServerError) IsClientError

func (o *StopBatchJobInternalServerError) IsClientError() bool

IsClientError returns true when this stop batch job internal server error response has a 4xx status code

func (*StopBatchJobInternalServerError) IsCode

func (o *StopBatchJobInternalServerError) IsCode(code int) bool

IsCode returns true when this stop batch job internal server error response a status code equal to that given

func (*StopBatchJobInternalServerError) IsRedirect

func (o *StopBatchJobInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop batch job internal server error response has a 3xx status code

func (*StopBatchJobInternalServerError) IsServerError

func (o *StopBatchJobInternalServerError) IsServerError() bool

IsServerError returns true when this stop batch job internal server error response has a 5xx status code

func (*StopBatchJobInternalServerError) IsSuccess

func (o *StopBatchJobInternalServerError) IsSuccess() bool

IsSuccess returns true when this stop batch job internal server error response has a 2xx status code

func (*StopBatchJobInternalServerError) String

type StopBatchJobNotFound

type StopBatchJobNotFound struct {
	Payload *models.Status
}

StopBatchJobNotFound describes a response with status code 404, with default header values.

Not found

func NewStopBatchJobNotFound

func NewStopBatchJobNotFound() *StopBatchJobNotFound

NewStopBatchJobNotFound creates a StopBatchJobNotFound with default headers values

func (*StopBatchJobNotFound) Code

func (o *StopBatchJobNotFound) Code() int

Code gets the status code for the stop batch job not found response

func (*StopBatchJobNotFound) Error

func (o *StopBatchJobNotFound) Error() string

func (*StopBatchJobNotFound) GetPayload

func (o *StopBatchJobNotFound) GetPayload() *models.Status

func (*StopBatchJobNotFound) IsClientError

func (o *StopBatchJobNotFound) IsClientError() bool

IsClientError returns true when this stop batch job not found response has a 4xx status code

func (*StopBatchJobNotFound) IsCode

func (o *StopBatchJobNotFound) IsCode(code int) bool

IsCode returns true when this stop batch job not found response a status code equal to that given

func (*StopBatchJobNotFound) IsRedirect

func (o *StopBatchJobNotFound) IsRedirect() bool

IsRedirect returns true when this stop batch job not found response has a 3xx status code

func (*StopBatchJobNotFound) IsServerError

func (o *StopBatchJobNotFound) IsServerError() bool

IsServerError returns true when this stop batch job not found response has a 5xx status code

func (*StopBatchJobNotFound) IsSuccess

func (o *StopBatchJobNotFound) IsSuccess() bool

IsSuccess returns true when this stop batch job not found response has a 2xx status code

func (*StopBatchJobNotFound) String

func (o *StopBatchJobNotFound) String() string

type StopBatchJobOK

type StopBatchJobOK struct {
	Payload *models.Status
}

StopBatchJobOK describes a response with status code 200, with default header values.

Successful stop batch job

func NewStopBatchJobOK

func NewStopBatchJobOK() *StopBatchJobOK

NewStopBatchJobOK creates a StopBatchJobOK with default headers values

func (*StopBatchJobOK) Code

func (o *StopBatchJobOK) Code() int

Code gets the status code for the stop batch job o k response

func (*StopBatchJobOK) Error

func (o *StopBatchJobOK) Error() string

func (*StopBatchJobOK) GetPayload

func (o *StopBatchJobOK) GetPayload() *models.Status

func (*StopBatchJobOK) IsClientError

func (o *StopBatchJobOK) IsClientError() bool

IsClientError returns true when this stop batch job o k response has a 4xx status code

func (*StopBatchJobOK) IsCode

func (o *StopBatchJobOK) IsCode(code int) bool

IsCode returns true when this stop batch job o k response a status code equal to that given

func (*StopBatchJobOK) IsRedirect

func (o *StopBatchJobOK) IsRedirect() bool

IsRedirect returns true when this stop batch job o k response has a 3xx status code

func (*StopBatchJobOK) IsServerError

func (o *StopBatchJobOK) IsServerError() bool

IsServerError returns true when this stop batch job o k response has a 5xx status code

func (*StopBatchJobOK) IsSuccess

func (o *StopBatchJobOK) IsSuccess() bool

IsSuccess returns true when this stop batch job o k response has a 2xx status code

func (*StopBatchJobOK) String

func (o *StopBatchJobOK) String() string

type StopBatchJobParams

type StopBatchJobParams struct {

	/* BatchName.

	   Name of batch
	*/
	BatchName string

	/* JobName.

	   Name of job
	*/
	JobName string

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

StopBatchJobParams contains all the parameters to send to the API endpoint

for the stop batch job operation.

Typically these are written to a http.Request.

func NewStopBatchJobParams

func NewStopBatchJobParams() *StopBatchJobParams

NewStopBatchJobParams creates a new StopBatchJobParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopBatchJobParamsWithContext

func NewStopBatchJobParamsWithContext(ctx context.Context) *StopBatchJobParams

NewStopBatchJobParamsWithContext creates a new StopBatchJobParams object with the ability to set a context for a request.

func NewStopBatchJobParamsWithHTTPClient

func NewStopBatchJobParamsWithHTTPClient(client *http.Client) *StopBatchJobParams

NewStopBatchJobParamsWithHTTPClient creates a new StopBatchJobParams object with the ability to set a custom HTTPClient for a request.

func NewStopBatchJobParamsWithTimeout

func NewStopBatchJobParamsWithTimeout(timeout time.Duration) *StopBatchJobParams

NewStopBatchJobParamsWithTimeout creates a new StopBatchJobParams object with the ability to set a timeout on a request.

func (*StopBatchJobParams) SetBatchName

func (o *StopBatchJobParams) SetBatchName(batchName string)

SetBatchName adds the batchName to the stop batch job params

func (*StopBatchJobParams) SetContext

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

SetContext adds the context to the stop batch job params

func (*StopBatchJobParams) SetDefaults

func (o *StopBatchJobParams) SetDefaults()

SetDefaults hydrates default values in the stop batch job params (not the query body).

All values with no default are reset to their zero value.

func (*StopBatchJobParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop batch job params

func (*StopBatchJobParams) SetJobName

func (o *StopBatchJobParams) SetJobName(jobName string)

SetJobName adds the jobName to the stop batch job params

func (*StopBatchJobParams) SetTimeout

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

SetTimeout adds the timeout to the stop batch job params

func (*StopBatchJobParams) WithBatchName

func (o *StopBatchJobParams) WithBatchName(batchName string) *StopBatchJobParams

WithBatchName adds the batchName to the stop batch job params

func (*StopBatchJobParams) WithContext

WithContext adds the context to the stop batch job params

func (*StopBatchJobParams) WithDefaults

func (o *StopBatchJobParams) WithDefaults() *StopBatchJobParams

WithDefaults hydrates default values in the stop batch job params (not the query body).

All values with no default are reset to their zero value.

func (*StopBatchJobParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop batch job params

func (*StopBatchJobParams) WithJobName

func (o *StopBatchJobParams) WithJobName(jobName string) *StopBatchJobParams

WithJobName adds the jobName to the stop batch job params

func (*StopBatchJobParams) WithTimeout

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

WithTimeout adds the timeout to the stop batch job params

func (*StopBatchJobParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopBatchJobReader

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

StopBatchJobReader is a Reader for the StopBatchJob structure.

func (*StopBatchJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopBatchNotFound

type StopBatchNotFound struct {
	Payload *models.Status
}

StopBatchNotFound describes a response with status code 404, with default header values.

Not found

func NewStopBatchNotFound

func NewStopBatchNotFound() *StopBatchNotFound

NewStopBatchNotFound creates a StopBatchNotFound with default headers values

func (*StopBatchNotFound) Code

func (o *StopBatchNotFound) Code() int

Code gets the status code for the stop batch not found response

func (*StopBatchNotFound) Error

func (o *StopBatchNotFound) Error() string

func (*StopBatchNotFound) GetPayload

func (o *StopBatchNotFound) GetPayload() *models.Status

func (*StopBatchNotFound) IsClientError

func (o *StopBatchNotFound) IsClientError() bool

IsClientError returns true when this stop batch not found response has a 4xx status code

func (*StopBatchNotFound) IsCode

func (o *StopBatchNotFound) IsCode(code int) bool

IsCode returns true when this stop batch not found response a status code equal to that given

func (*StopBatchNotFound) IsRedirect

func (o *StopBatchNotFound) IsRedirect() bool

IsRedirect returns true when this stop batch not found response has a 3xx status code

func (*StopBatchNotFound) IsServerError

func (o *StopBatchNotFound) IsServerError() bool

IsServerError returns true when this stop batch not found response has a 5xx status code

func (*StopBatchNotFound) IsSuccess

func (o *StopBatchNotFound) IsSuccess() bool

IsSuccess returns true when this stop batch not found response has a 2xx status code

func (*StopBatchNotFound) String

func (o *StopBatchNotFound) String() string

type StopBatchOK

type StopBatchOK struct {
	Payload *models.Status
}

StopBatchOK describes a response with status code 200, with default header values.

Successful stop batch

func NewStopBatchOK

func NewStopBatchOK() *StopBatchOK

NewStopBatchOK creates a StopBatchOK with default headers values

func (*StopBatchOK) Code

func (o *StopBatchOK) Code() int

Code gets the status code for the stop batch o k response

func (*StopBatchOK) Error

func (o *StopBatchOK) Error() string

func (*StopBatchOK) GetPayload

func (o *StopBatchOK) GetPayload() *models.Status

func (*StopBatchOK) IsClientError

func (o *StopBatchOK) IsClientError() bool

IsClientError returns true when this stop batch o k response has a 4xx status code

func (*StopBatchOK) IsCode

func (o *StopBatchOK) IsCode(code int) bool

IsCode returns true when this stop batch o k response a status code equal to that given

func (*StopBatchOK) IsRedirect

func (o *StopBatchOK) IsRedirect() bool

IsRedirect returns true when this stop batch o k response has a 3xx status code

func (*StopBatchOK) IsServerError

func (o *StopBatchOK) IsServerError() bool

IsServerError returns true when this stop batch o k response has a 5xx status code

func (*StopBatchOK) IsSuccess

func (o *StopBatchOK) IsSuccess() bool

IsSuccess returns true when this stop batch o k response has a 2xx status code

func (*StopBatchOK) String

func (o *StopBatchOK) String() string

type StopBatchParams

type StopBatchParams struct {

	/* BatchName.

	   Name of batch
	*/
	BatchName string

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

StopBatchParams contains all the parameters to send to the API endpoint

for the stop batch operation.

Typically these are written to a http.Request.

func NewStopBatchParams

func NewStopBatchParams() *StopBatchParams

NewStopBatchParams creates a new StopBatchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopBatchParamsWithContext

func NewStopBatchParamsWithContext(ctx context.Context) *StopBatchParams

NewStopBatchParamsWithContext creates a new StopBatchParams object with the ability to set a context for a request.

func NewStopBatchParamsWithHTTPClient

func NewStopBatchParamsWithHTTPClient(client *http.Client) *StopBatchParams

NewStopBatchParamsWithHTTPClient creates a new StopBatchParams object with the ability to set a custom HTTPClient for a request.

func NewStopBatchParamsWithTimeout

func NewStopBatchParamsWithTimeout(timeout time.Duration) *StopBatchParams

NewStopBatchParamsWithTimeout creates a new StopBatchParams object with the ability to set a timeout on a request.

func (*StopBatchParams) SetBatchName

func (o *StopBatchParams) SetBatchName(batchName string)

SetBatchName adds the batchName to the stop batch params

func (*StopBatchParams) SetContext

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

SetContext adds the context to the stop batch params

func (*StopBatchParams) SetDefaults

func (o *StopBatchParams) SetDefaults()

SetDefaults hydrates default values in the stop batch params (not the query body).

All values with no default are reset to their zero value.

func (*StopBatchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop batch params

func (*StopBatchParams) SetTimeout

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

SetTimeout adds the timeout to the stop batch params

func (*StopBatchParams) WithBatchName

func (o *StopBatchParams) WithBatchName(batchName string) *StopBatchParams

WithBatchName adds the batchName to the stop batch params

func (*StopBatchParams) WithContext

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

WithContext adds the context to the stop batch params

func (*StopBatchParams) WithDefaults

func (o *StopBatchParams) WithDefaults() *StopBatchParams

WithDefaults hydrates default values in the stop batch params (not the query body).

All values with no default are reset to their zero value.

func (*StopBatchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop batch params

func (*StopBatchParams) WithTimeout

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

WithTimeout adds the timeout to the stop batch params

func (*StopBatchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopBatchReader

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

StopBatchReader is a Reader for the StopBatch structure.

func (*StopBatchReader) ReadResponse

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