Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBatch(params *CreateBatchParams, opts ...ClientOption) (*CreateBatchOK, error)
- func (a *Client) DeleteBatch(params *DeleteBatchParams, opts ...ClientOption) (*DeleteBatchOK, error)
- func (a *Client) GetBatch(params *GetBatchParams, opts ...ClientOption) (*GetBatchOK, error)
- func (a *Client) GetBatchJob(params *GetBatchJobParams, opts ...ClientOption) (*GetBatchJobOK, error)
- func (a *Client) GetBatches(params *GetBatchesParams, opts ...ClientOption) (*GetBatchesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopBatch(params *StopBatchParams, opts ...ClientOption) (*StopBatchOK, error)
- func (a *Client) StopBatchJob(params *StopBatchJobParams, opts ...ClientOption) (*StopBatchJobOK, error)
- type ClientOption
- type ClientService
- type CreateBatchBadRequest
- func (o *CreateBatchBadRequest) Code() int
- func (o *CreateBatchBadRequest) Error() string
- func (o *CreateBatchBadRequest) GetPayload() *models.Status
- func (o *CreateBatchBadRequest) IsClientError() bool
- func (o *CreateBatchBadRequest) IsCode(code int) bool
- func (o *CreateBatchBadRequest) IsRedirect() bool
- func (o *CreateBatchBadRequest) IsServerError() bool
- func (o *CreateBatchBadRequest) IsSuccess() bool
- func (o *CreateBatchBadRequest) String() string
- type CreateBatchInternalServerError
- func (o *CreateBatchInternalServerError) Code() int
- func (o *CreateBatchInternalServerError) Error() string
- func (o *CreateBatchInternalServerError) GetPayload() *models.Status
- func (o *CreateBatchInternalServerError) IsClientError() bool
- func (o *CreateBatchInternalServerError) IsCode(code int) bool
- func (o *CreateBatchInternalServerError) IsRedirect() bool
- func (o *CreateBatchInternalServerError) IsServerError() bool
- func (o *CreateBatchInternalServerError) IsSuccess() bool
- func (o *CreateBatchInternalServerError) String() string
- type CreateBatchNotFound
- func (o *CreateBatchNotFound) Code() int
- func (o *CreateBatchNotFound) Error() string
- func (o *CreateBatchNotFound) GetPayload() *models.Status
- func (o *CreateBatchNotFound) IsClientError() bool
- func (o *CreateBatchNotFound) IsCode(code int) bool
- func (o *CreateBatchNotFound) IsRedirect() bool
- func (o *CreateBatchNotFound) IsServerError() bool
- func (o *CreateBatchNotFound) IsSuccess() bool
- func (o *CreateBatchNotFound) String() string
- type CreateBatchOK
- func (o *CreateBatchOK) Code() int
- func (o *CreateBatchOK) Error() string
- func (o *CreateBatchOK) GetPayload() *models.BatchStatus
- func (o *CreateBatchOK) IsClientError() bool
- func (o *CreateBatchOK) IsCode(code int) bool
- func (o *CreateBatchOK) IsRedirect() bool
- func (o *CreateBatchOK) IsServerError() bool
- func (o *CreateBatchOK) IsSuccess() bool
- func (o *CreateBatchOK) String() string
- type CreateBatchParams
- func (o *CreateBatchParams) SetBatchCreation(batchCreation *models.BatchScheduleDescription)
- func (o *CreateBatchParams) SetContext(ctx context.Context)
- func (o *CreateBatchParams) SetDefaults()
- func (o *CreateBatchParams) SetHTTPClient(client *http.Client)
- func (o *CreateBatchParams) SetTimeout(timeout time.Duration)
- func (o *CreateBatchParams) WithBatchCreation(batchCreation *models.BatchScheduleDescription) *CreateBatchParams
- func (o *CreateBatchParams) WithContext(ctx context.Context) *CreateBatchParams
- func (o *CreateBatchParams) WithDefaults() *CreateBatchParams
- func (o *CreateBatchParams) WithHTTPClient(client *http.Client) *CreateBatchParams
- func (o *CreateBatchParams) WithTimeout(timeout time.Duration) *CreateBatchParams
- func (o *CreateBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBatchReader
- type CreateBatchUnprocessableEntity
- func (o *CreateBatchUnprocessableEntity) Code() int
- func (o *CreateBatchUnprocessableEntity) Error() string
- func (o *CreateBatchUnprocessableEntity) GetPayload() *models.Status
- func (o *CreateBatchUnprocessableEntity) IsClientError() bool
- func (o *CreateBatchUnprocessableEntity) IsCode(code int) bool
- func (o *CreateBatchUnprocessableEntity) IsRedirect() bool
- func (o *CreateBatchUnprocessableEntity) IsServerError() bool
- func (o *CreateBatchUnprocessableEntity) IsSuccess() bool
- func (o *CreateBatchUnprocessableEntity) String() string
- type DeleteBatchInternalServerError
- func (o *DeleteBatchInternalServerError) Code() int
- func (o *DeleteBatchInternalServerError) Error() string
- func (o *DeleteBatchInternalServerError) GetPayload() *models.Status
- func (o *DeleteBatchInternalServerError) IsClientError() bool
- func (o *DeleteBatchInternalServerError) IsCode(code int) bool
- func (o *DeleteBatchInternalServerError) IsRedirect() bool
- func (o *DeleteBatchInternalServerError) IsServerError() bool
- func (o *DeleteBatchInternalServerError) IsSuccess() bool
- func (o *DeleteBatchInternalServerError) String() string
- type DeleteBatchNotFound
- func (o *DeleteBatchNotFound) Code() int
- func (o *DeleteBatchNotFound) Error() string
- func (o *DeleteBatchNotFound) GetPayload() *models.Status
- func (o *DeleteBatchNotFound) IsClientError() bool
- func (o *DeleteBatchNotFound) IsCode(code int) bool
- func (o *DeleteBatchNotFound) IsRedirect() bool
- func (o *DeleteBatchNotFound) IsServerError() bool
- func (o *DeleteBatchNotFound) IsSuccess() bool
- func (o *DeleteBatchNotFound) String() string
- type DeleteBatchOK
- func (o *DeleteBatchOK) Code() int
- func (o *DeleteBatchOK) Error() string
- func (o *DeleteBatchOK) GetPayload() *models.Status
- func (o *DeleteBatchOK) IsClientError() bool
- func (o *DeleteBatchOK) IsCode(code int) bool
- func (o *DeleteBatchOK) IsRedirect() bool
- func (o *DeleteBatchOK) IsServerError() bool
- func (o *DeleteBatchOK) IsSuccess() bool
- func (o *DeleteBatchOK) String() string
- type DeleteBatchParams
- func (o *DeleteBatchParams) SetBatchName(batchName string)
- func (o *DeleteBatchParams) SetContext(ctx context.Context)
- func (o *DeleteBatchParams) SetDefaults()
- func (o *DeleteBatchParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBatchParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBatchParams) WithBatchName(batchName string) *DeleteBatchParams
- func (o *DeleteBatchParams) WithContext(ctx context.Context) *DeleteBatchParams
- func (o *DeleteBatchParams) WithDefaults() *DeleteBatchParams
- func (o *DeleteBatchParams) WithHTTPClient(client *http.Client) *DeleteBatchParams
- func (o *DeleteBatchParams) WithTimeout(timeout time.Duration) *DeleteBatchParams
- func (o *DeleteBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBatchReader
- type GetBatchInternalServerError
- func (o *GetBatchInternalServerError) Code() int
- func (o *GetBatchInternalServerError) Error() string
- func (o *GetBatchInternalServerError) GetPayload() *models.Status
- func (o *GetBatchInternalServerError) IsClientError() bool
- func (o *GetBatchInternalServerError) IsCode(code int) bool
- func (o *GetBatchInternalServerError) IsRedirect() bool
- func (o *GetBatchInternalServerError) IsServerError() bool
- func (o *GetBatchInternalServerError) IsSuccess() bool
- func (o *GetBatchInternalServerError) String() string
- type GetBatchJobInternalServerError
- func (o *GetBatchJobInternalServerError) Code() int
- func (o *GetBatchJobInternalServerError) Error() string
- func (o *GetBatchJobInternalServerError) GetPayload() *models.Status
- func (o *GetBatchJobInternalServerError) IsClientError() bool
- func (o *GetBatchJobInternalServerError) IsCode(code int) bool
- func (o *GetBatchJobInternalServerError) IsRedirect() bool
- func (o *GetBatchJobInternalServerError) IsServerError() bool
- func (o *GetBatchJobInternalServerError) IsSuccess() bool
- func (o *GetBatchJobInternalServerError) String() string
- type GetBatchJobNotFound
- func (o *GetBatchJobNotFound) Code() int
- func (o *GetBatchJobNotFound) Error() string
- func (o *GetBatchJobNotFound) GetPayload() *models.Status
- func (o *GetBatchJobNotFound) IsClientError() bool
- func (o *GetBatchJobNotFound) IsCode(code int) bool
- func (o *GetBatchJobNotFound) IsRedirect() bool
- func (o *GetBatchJobNotFound) IsServerError() bool
- func (o *GetBatchJobNotFound) IsSuccess() bool
- func (o *GetBatchJobNotFound) String() string
- type GetBatchJobOK
- func (o *GetBatchJobOK) Code() int
- func (o *GetBatchJobOK) Error() string
- func (o *GetBatchJobOK) GetPayload() *models.JobStatus
- func (o *GetBatchJobOK) IsClientError() bool
- func (o *GetBatchJobOK) IsCode(code int) bool
- func (o *GetBatchJobOK) IsRedirect() bool
- func (o *GetBatchJobOK) IsServerError() bool
- func (o *GetBatchJobOK) IsSuccess() bool
- func (o *GetBatchJobOK) String() string
- type GetBatchJobParams
- func (o *GetBatchJobParams) SetBatchName(batchName string)
- func (o *GetBatchJobParams) SetContext(ctx context.Context)
- func (o *GetBatchJobParams) SetDefaults()
- func (o *GetBatchJobParams) SetHTTPClient(client *http.Client)
- func (o *GetBatchJobParams) SetJobName(jobName string)
- func (o *GetBatchJobParams) SetTimeout(timeout time.Duration)
- func (o *GetBatchJobParams) WithBatchName(batchName string) *GetBatchJobParams
- func (o *GetBatchJobParams) WithContext(ctx context.Context) *GetBatchJobParams
- func (o *GetBatchJobParams) WithDefaults() *GetBatchJobParams
- func (o *GetBatchJobParams) WithHTTPClient(client *http.Client) *GetBatchJobParams
- func (o *GetBatchJobParams) WithJobName(jobName string) *GetBatchJobParams
- func (o *GetBatchJobParams) WithTimeout(timeout time.Duration) *GetBatchJobParams
- func (o *GetBatchJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBatchJobReader
- type GetBatchNotFound
- func (o *GetBatchNotFound) Code() int
- func (o *GetBatchNotFound) Error() string
- func (o *GetBatchNotFound) GetPayload() *models.Status
- func (o *GetBatchNotFound) IsClientError() bool
- func (o *GetBatchNotFound) IsCode(code int) bool
- func (o *GetBatchNotFound) IsRedirect() bool
- func (o *GetBatchNotFound) IsServerError() bool
- func (o *GetBatchNotFound) IsSuccess() bool
- func (o *GetBatchNotFound) String() string
- type GetBatchOK
- func (o *GetBatchOK) Code() int
- func (o *GetBatchOK) Error() string
- func (o *GetBatchOK) GetPayload() *models.BatchStatus
- func (o *GetBatchOK) IsClientError() bool
- func (o *GetBatchOK) IsCode(code int) bool
- func (o *GetBatchOK) IsRedirect() bool
- func (o *GetBatchOK) IsServerError() bool
- func (o *GetBatchOK) IsSuccess() bool
- func (o *GetBatchOK) String() string
- type GetBatchParams
- func (o *GetBatchParams) SetBatchName(batchName string)
- func (o *GetBatchParams) SetContext(ctx context.Context)
- func (o *GetBatchParams) SetDefaults()
- func (o *GetBatchParams) SetHTTPClient(client *http.Client)
- func (o *GetBatchParams) SetTimeout(timeout time.Duration)
- func (o *GetBatchParams) WithBatchName(batchName string) *GetBatchParams
- func (o *GetBatchParams) WithContext(ctx context.Context) *GetBatchParams
- func (o *GetBatchParams) WithDefaults() *GetBatchParams
- func (o *GetBatchParams) WithHTTPClient(client *http.Client) *GetBatchParams
- func (o *GetBatchParams) WithTimeout(timeout time.Duration) *GetBatchParams
- func (o *GetBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBatchReader
- type GetBatchesInternalServerError
- func (o *GetBatchesInternalServerError) Code() int
- func (o *GetBatchesInternalServerError) Error() string
- func (o *GetBatchesInternalServerError) GetPayload() *models.Status
- func (o *GetBatchesInternalServerError) IsClientError() bool
- func (o *GetBatchesInternalServerError) IsCode(code int) bool
- func (o *GetBatchesInternalServerError) IsRedirect() bool
- func (o *GetBatchesInternalServerError) IsServerError() bool
- func (o *GetBatchesInternalServerError) IsSuccess() bool
- func (o *GetBatchesInternalServerError) String() string
- type GetBatchesOK
- func (o *GetBatchesOK) Code() int
- func (o *GetBatchesOK) Error() string
- func (o *GetBatchesOK) GetPayload() []*models.BatchStatus
- func (o *GetBatchesOK) IsClientError() bool
- func (o *GetBatchesOK) IsCode(code int) bool
- func (o *GetBatchesOK) IsRedirect() bool
- func (o *GetBatchesOK) IsServerError() bool
- func (o *GetBatchesOK) IsSuccess() bool
- func (o *GetBatchesOK) String() string
- type GetBatchesParams
- func (o *GetBatchesParams) SetContext(ctx context.Context)
- func (o *GetBatchesParams) SetDefaults()
- func (o *GetBatchesParams) SetHTTPClient(client *http.Client)
- func (o *GetBatchesParams) SetTimeout(timeout time.Duration)
- func (o *GetBatchesParams) WithContext(ctx context.Context) *GetBatchesParams
- func (o *GetBatchesParams) WithDefaults() *GetBatchesParams
- func (o *GetBatchesParams) WithHTTPClient(client *http.Client) *GetBatchesParams
- func (o *GetBatchesParams) WithTimeout(timeout time.Duration) *GetBatchesParams
- func (o *GetBatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBatchesReader
- type StopBatchBadRequest
- func (o *StopBatchBadRequest) Code() int
- func (o *StopBatchBadRequest) Error() string
- func (o *StopBatchBadRequest) GetPayload() *models.Status
- func (o *StopBatchBadRequest) IsClientError() bool
- func (o *StopBatchBadRequest) IsCode(code int) bool
- func (o *StopBatchBadRequest) IsRedirect() bool
- func (o *StopBatchBadRequest) IsServerError() bool
- func (o *StopBatchBadRequest) IsSuccess() bool
- func (o *StopBatchBadRequest) String() string
- type StopBatchInternalServerError
- func (o *StopBatchInternalServerError) Code() int
- func (o *StopBatchInternalServerError) Error() string
- func (o *StopBatchInternalServerError) GetPayload() *models.Status
- func (o *StopBatchInternalServerError) IsClientError() bool
- func (o *StopBatchInternalServerError) IsCode(code int) bool
- func (o *StopBatchInternalServerError) IsRedirect() bool
- func (o *StopBatchInternalServerError) IsServerError() bool
- func (o *StopBatchInternalServerError) IsSuccess() bool
- func (o *StopBatchInternalServerError) String() string
- type StopBatchJobBadRequest
- func (o *StopBatchJobBadRequest) Code() int
- func (o *StopBatchJobBadRequest) Error() string
- func (o *StopBatchJobBadRequest) GetPayload() *models.Status
- func (o *StopBatchJobBadRequest) IsClientError() bool
- func (o *StopBatchJobBadRequest) IsCode(code int) bool
- func (o *StopBatchJobBadRequest) IsRedirect() bool
- func (o *StopBatchJobBadRequest) IsServerError() bool
- func (o *StopBatchJobBadRequest) IsSuccess() bool
- func (o *StopBatchJobBadRequest) String() string
- type StopBatchJobInternalServerError
- func (o *StopBatchJobInternalServerError) Code() int
- func (o *StopBatchJobInternalServerError) Error() string
- func (o *StopBatchJobInternalServerError) GetPayload() *models.Status
- func (o *StopBatchJobInternalServerError) IsClientError() bool
- func (o *StopBatchJobInternalServerError) IsCode(code int) bool
- func (o *StopBatchJobInternalServerError) IsRedirect() bool
- func (o *StopBatchJobInternalServerError) IsServerError() bool
- func (o *StopBatchJobInternalServerError) IsSuccess() bool
- func (o *StopBatchJobInternalServerError) String() string
- type StopBatchJobNotFound
- func (o *StopBatchJobNotFound) Code() int
- func (o *StopBatchJobNotFound) Error() string
- func (o *StopBatchJobNotFound) GetPayload() *models.Status
- func (o *StopBatchJobNotFound) IsClientError() bool
- func (o *StopBatchJobNotFound) IsCode(code int) bool
- func (o *StopBatchJobNotFound) IsRedirect() bool
- func (o *StopBatchJobNotFound) IsServerError() bool
- func (o *StopBatchJobNotFound) IsSuccess() bool
- func (o *StopBatchJobNotFound) String() string
- type StopBatchJobOK
- func (o *StopBatchJobOK) Code() int
- func (o *StopBatchJobOK) Error() string
- func (o *StopBatchJobOK) GetPayload() *models.Status
- func (o *StopBatchJobOK) IsClientError() bool
- func (o *StopBatchJobOK) IsCode(code int) bool
- func (o *StopBatchJobOK) IsRedirect() bool
- func (o *StopBatchJobOK) IsServerError() bool
- func (o *StopBatchJobOK) IsSuccess() bool
- func (o *StopBatchJobOK) String() string
- type StopBatchJobParams
- func (o *StopBatchJobParams) SetBatchName(batchName string)
- func (o *StopBatchJobParams) SetContext(ctx context.Context)
- func (o *StopBatchJobParams) SetDefaults()
- func (o *StopBatchJobParams) SetHTTPClient(client *http.Client)
- func (o *StopBatchJobParams) SetJobName(jobName string)
- func (o *StopBatchJobParams) SetTimeout(timeout time.Duration)
- func (o *StopBatchJobParams) WithBatchName(batchName string) *StopBatchJobParams
- func (o *StopBatchJobParams) WithContext(ctx context.Context) *StopBatchJobParams
- func (o *StopBatchJobParams) WithDefaults() *StopBatchJobParams
- func (o *StopBatchJobParams) WithHTTPClient(client *http.Client) *StopBatchJobParams
- func (o *StopBatchJobParams) WithJobName(jobName string) *StopBatchJobParams
- func (o *StopBatchJobParams) WithTimeout(timeout time.Duration) *StopBatchJobParams
- func (o *StopBatchJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopBatchJobReader
- type StopBatchNotFound
- func (o *StopBatchNotFound) Code() int
- func (o *StopBatchNotFound) Error() string
- func (o *StopBatchNotFound) GetPayload() *models.Status
- func (o *StopBatchNotFound) IsClientError() bool
- func (o *StopBatchNotFound) IsCode(code int) bool
- func (o *StopBatchNotFound) IsRedirect() bool
- func (o *StopBatchNotFound) IsServerError() bool
- func (o *StopBatchNotFound) IsSuccess() bool
- func (o *StopBatchNotFound) String() string
- type StopBatchOK
- func (o *StopBatchOK) Code() int
- func (o *StopBatchOK) Error() string
- func (o *StopBatchOK) GetPayload() *models.Status
- func (o *StopBatchOK) IsClientError() bool
- func (o *StopBatchOK) IsCode(code int) bool
- func (o *StopBatchOK) IsRedirect() bool
- func (o *StopBatchOK) IsServerError() bool
- func (o *StopBatchOK) IsSuccess() bool
- func (o *StopBatchOK) String() string
- type StopBatchParams
- func (o *StopBatchParams) SetBatchName(batchName string)
- func (o *StopBatchParams) SetContext(ctx context.Context)
- func (o *StopBatchParams) SetDefaults()
- func (o *StopBatchParams) SetHTTPClient(client *http.Client)
- func (o *StopBatchParams) SetTimeout(timeout time.Duration)
- func (o *StopBatchParams) WithBatchName(batchName string) *StopBatchParams
- func (o *StopBatchParams) WithContext(ctx context.Context) *StopBatchParams
- func (o *StopBatchParams) WithDefaults() *StopBatchParams
- func (o *StopBatchParams) WithHTTPClient(client *http.Client) *StopBatchParams
- func (o *StopBatchParams) WithTimeout(timeout time.Duration) *StopBatchParams
- func (o *StopBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopBatchReader
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 ¶
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 ¶
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 ¶
func (o *CreateBatchInternalServerError) Code() int
Code gets the status code for the create batch internal server error response
func (*CreateBatchInternalServerError) Error ¶
func (o *CreateBatchInternalServerError) Error() string
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 ¶
func (o *CreateBatchInternalServerError) String() string
type CreateBatchNotFound ¶
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 ¶
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 ¶
func (o *CreateBatchUnprocessableEntity) Code() int
Code gets the status code for the create batch unprocessable entity response
func (*CreateBatchUnprocessableEntity) Error ¶
func (o *CreateBatchUnprocessableEntity) Error() string
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 ¶
func (o *CreateBatchUnprocessableEntity) String() string
type DeleteBatchInternalServerError ¶
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 ¶
func (o *DeleteBatchInternalServerError) Code() int
Code gets the status code for the delete batch internal server error response
func (*DeleteBatchInternalServerError) Error ¶
func (o *DeleteBatchInternalServerError) Error() string
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 ¶
func (o *DeleteBatchInternalServerError) String() string
type DeleteBatchNotFound ¶
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 ¶
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 ¶
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 (o *GetBatchInternalServerError) Error() string
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 ¶
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 ¶
func (o *GetBatchJobInternalServerError) Code() int
Code gets the status code for the get batch job internal server error response
func (*GetBatchJobInternalServerError) Error ¶
func (o *GetBatchJobInternalServerError) Error() string
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 ¶
func (o *GetBatchJobInternalServerError) String() string
type GetBatchJobNotFound ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetBatchesInternalServerError) Code() int
Code gets the status code for the get batches internal server error response
func (*GetBatchesInternalServerError) Error ¶
func (o *GetBatchesInternalServerError) Error() string
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 ¶
func (o *GetBatchesInternalServerError) String() 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 StopBatchBadRequest ¶
StopBatchBadRequest describes a response with status code 400, with default header values.
Bad request
func NewStopBatchBadRequest ¶
func NewStopBatchBadRequest() *StopBatchBadRequest
NewStopBatchBadRequest creates a StopBatchBadRequest with default headers values
func (*StopBatchBadRequest) Code ¶
func (o *StopBatchBadRequest) Code() int
Code gets the status code for the stop batch bad request response
func (*StopBatchBadRequest) Error ¶
func (o *StopBatchBadRequest) Error() string
func (*StopBatchBadRequest) GetPayload ¶
func (o *StopBatchBadRequest) GetPayload() *models.Status
func (*StopBatchBadRequest) IsClientError ¶
func (o *StopBatchBadRequest) IsClientError() bool
IsClientError returns true when this stop batch bad request response has a 4xx status code
func (*StopBatchBadRequest) IsCode ¶
func (o *StopBatchBadRequest) IsCode(code int) bool
IsCode returns true when this stop batch bad request response a status code equal to that given
func (*StopBatchBadRequest) IsRedirect ¶
func (o *StopBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this stop batch bad request response has a 3xx status code
func (*StopBatchBadRequest) IsServerError ¶
func (o *StopBatchBadRequest) IsServerError() bool
IsServerError returns true when this stop batch bad request response has a 5xx status code
func (*StopBatchBadRequest) IsSuccess ¶
func (o *StopBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this stop batch bad request response has a 2xx status code
func (*StopBatchBadRequest) String ¶
func (o *StopBatchBadRequest) String() string
type StopBatchInternalServerError ¶
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 ¶
func (o *StopBatchInternalServerError) Code() int
Code gets the status code for the stop batch internal server error response
func (*StopBatchInternalServerError) Error ¶
func (o *StopBatchInternalServerError) Error() string
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 ¶
func (o *StopBatchInternalServerError) String() string
type StopBatchJobBadRequest ¶
StopBatchJobBadRequest describes a response with status code 400, with default header values.
Bad request
func NewStopBatchJobBadRequest ¶
func NewStopBatchJobBadRequest() *StopBatchJobBadRequest
NewStopBatchJobBadRequest creates a StopBatchJobBadRequest with default headers values
func (*StopBatchJobBadRequest) Code ¶
func (o *StopBatchJobBadRequest) Code() int
Code gets the status code for the stop batch job bad request response
func (*StopBatchJobBadRequest) Error ¶
func (o *StopBatchJobBadRequest) Error() string
func (*StopBatchJobBadRequest) GetPayload ¶
func (o *StopBatchJobBadRequest) GetPayload() *models.Status
func (*StopBatchJobBadRequest) IsClientError ¶
func (o *StopBatchJobBadRequest) IsClientError() bool
IsClientError returns true when this stop batch job bad request response has a 4xx status code
func (*StopBatchJobBadRequest) IsCode ¶
func (o *StopBatchJobBadRequest) IsCode(code int) bool
IsCode returns true when this stop batch job bad request response a status code equal to that given
func (*StopBatchJobBadRequest) IsRedirect ¶
func (o *StopBatchJobBadRequest) IsRedirect() bool
IsRedirect returns true when this stop batch job bad request response has a 3xx status code
func (*StopBatchJobBadRequest) IsServerError ¶
func (o *StopBatchJobBadRequest) IsServerError() bool
IsServerError returns true when this stop batch job bad request response has a 5xx status code
func (*StopBatchJobBadRequest) IsSuccess ¶
func (o *StopBatchJobBadRequest) IsSuccess() bool
IsSuccess returns true when this stop batch job bad request response has a 2xx status code
func (*StopBatchJobBadRequest) String ¶
func (o *StopBatchJobBadRequest) String() string
type StopBatchJobInternalServerError ¶
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 ¶
func (o *StopBatchJobInternalServerError) Code() int
Code gets the status code for the stop batch job internal server error response
func (*StopBatchJobInternalServerError) Error ¶
func (o *StopBatchJobInternalServerError) Error() string
func (*StopBatchJobInternalServerError) GetPayload ¶
func (o *StopBatchJobInternalServerError) GetPayload() *models.Status
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 ¶
func (o *StopBatchJobInternalServerError) String() string
type StopBatchJobNotFound ¶
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 ¶
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 ¶
func (o *StopBatchJobParams) WithContext(ctx context.Context) *StopBatchJobParams
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 ¶
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 ¶
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.
Source Files ¶
- batch_client.go
- create_batch_parameters.go
- create_batch_responses.go
- delete_batch_parameters.go
- delete_batch_responses.go
- get_batch_job_parameters.go
- get_batch_job_responses.go
- get_batch_parameters.go
- get_batch_responses.go
- get_batches_parameters.go
- get_batches_responses.go
- stop_batch_job_parameters.go
- stop_batch_job_responses.go
- stop_batch_parameters.go
- stop_batch_responses.go