http_errors

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 12 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 http errors API

func (*Client) CreateHTTPErrorsSection

CreateHTTPErrorsSection adds a new http error section

Adds a new http-error section to the configuration.

func (*Client) DeleteHTTPErrorsSection

DeleteHTTPErrorsSection deletes a http error section

Deletes a http-error section with a given name from the configuration.

func (*Client) GetHTTPErrorsSection

func (a *Client) GetHTTPErrorsSection(params *GetHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorsSectionOK, error)

GetHTTPErrorsSection returns a http error section

Returns one http-error section with a given name from the configuration.

func (*Client) GetHTTPErrorsSections

func (a *Client) GetHTTPErrorsSections(params *GetHTTPErrorsSectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorsSectionsOK, error)

GetHTTPErrorsSections returns an array of http error sections

Returns an array of all configured http-error sections.

func (*Client) ReplaceHTTPErrorsSection

ReplaceHTTPErrorsSection replaces a http error section

Replaces a http-error section with a given name in the configuration.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new http errors API client.

type CreateHTTPErrorsSectionAccepted

type CreateHTTPErrorsSectionAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPErrorsSection
}

CreateHTTPErrorsSectionAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateHTTPErrorsSectionAccepted

func NewCreateHTTPErrorsSectionAccepted() *CreateHTTPErrorsSectionAccepted

NewCreateHTTPErrorsSectionAccepted creates a CreateHTTPErrorsSectionAccepted with default headers values

func (*CreateHTTPErrorsSectionAccepted) Error

func (*CreateHTTPErrorsSectionAccepted) GetPayload

func (*CreateHTTPErrorsSectionAccepted) IsClientError

func (o *CreateHTTPErrorsSectionAccepted) IsClientError() bool

IsClientError returns true when this create Http errors section accepted response has a 4xx status code

func (*CreateHTTPErrorsSectionAccepted) IsCode

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

IsCode returns true when this create Http errors section accepted response a status code equal to that given

func (*CreateHTTPErrorsSectionAccepted) IsRedirect

func (o *CreateHTTPErrorsSectionAccepted) IsRedirect() bool

IsRedirect returns true when this create Http errors section accepted response has a 3xx status code

func (*CreateHTTPErrorsSectionAccepted) IsServerError

func (o *CreateHTTPErrorsSectionAccepted) IsServerError() bool

IsServerError returns true when this create Http errors section accepted response has a 5xx status code

func (*CreateHTTPErrorsSectionAccepted) IsSuccess

func (o *CreateHTTPErrorsSectionAccepted) IsSuccess() bool

IsSuccess returns true when this create Http errors section accepted response has a 2xx status code

func (*CreateHTTPErrorsSectionAccepted) String

type CreateHTTPErrorsSectionBadRequest

type CreateHTTPErrorsSectionBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateHTTPErrorsSectionBadRequest

func NewCreateHTTPErrorsSectionBadRequest() *CreateHTTPErrorsSectionBadRequest

NewCreateHTTPErrorsSectionBadRequest creates a CreateHTTPErrorsSectionBadRequest with default headers values

func (*CreateHTTPErrorsSectionBadRequest) Error

func (*CreateHTTPErrorsSectionBadRequest) GetPayload

func (*CreateHTTPErrorsSectionBadRequest) IsClientError

func (o *CreateHTTPErrorsSectionBadRequest) IsClientError() bool

IsClientError returns true when this create Http errors section bad request response has a 4xx status code

func (*CreateHTTPErrorsSectionBadRequest) IsCode

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

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

func (*CreateHTTPErrorsSectionBadRequest) IsRedirect

func (o *CreateHTTPErrorsSectionBadRequest) IsRedirect() bool

IsRedirect returns true when this create Http errors section bad request response has a 3xx status code

func (*CreateHTTPErrorsSectionBadRequest) IsServerError

func (o *CreateHTTPErrorsSectionBadRequest) IsServerError() bool

IsServerError returns true when this create Http errors section bad request response has a 5xx status code

func (*CreateHTTPErrorsSectionBadRequest) IsSuccess

func (o *CreateHTTPErrorsSectionBadRequest) IsSuccess() bool

IsSuccess returns true when this create Http errors section bad request response has a 2xx status code

func (*CreateHTTPErrorsSectionBadRequest) String

type CreateHTTPErrorsSectionConflict

type CreateHTTPErrorsSectionConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateHTTPErrorsSectionConflict describes a response with status code 409, with default header values.

The specified resource already exists

func NewCreateHTTPErrorsSectionConflict

func NewCreateHTTPErrorsSectionConflict() *CreateHTTPErrorsSectionConflict

NewCreateHTTPErrorsSectionConflict creates a CreateHTTPErrorsSectionConflict with default headers values

func (*CreateHTTPErrorsSectionConflict) Error

func (*CreateHTTPErrorsSectionConflict) GetPayload

func (o *CreateHTTPErrorsSectionConflict) GetPayload() *models.Error

func (*CreateHTTPErrorsSectionConflict) IsClientError

func (o *CreateHTTPErrorsSectionConflict) IsClientError() bool

IsClientError returns true when this create Http errors section conflict response has a 4xx status code

func (*CreateHTTPErrorsSectionConflict) IsCode

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

IsCode returns true when this create Http errors section conflict response a status code equal to that given

func (*CreateHTTPErrorsSectionConflict) IsRedirect

func (o *CreateHTTPErrorsSectionConflict) IsRedirect() bool

IsRedirect returns true when this create Http errors section conflict response has a 3xx status code

func (*CreateHTTPErrorsSectionConflict) IsServerError

func (o *CreateHTTPErrorsSectionConflict) IsServerError() bool

IsServerError returns true when this create Http errors section conflict response has a 5xx status code

func (*CreateHTTPErrorsSectionConflict) IsSuccess

func (o *CreateHTTPErrorsSectionConflict) IsSuccess() bool

IsSuccess returns true when this create Http errors section conflict response has a 2xx status code

func (*CreateHTTPErrorsSectionConflict) String

type CreateHTTPErrorsSectionCreated

type CreateHTTPErrorsSectionCreated struct {
	Payload *models.HTTPErrorsSection
}

CreateHTTPErrorsSectionCreated describes a response with status code 201, with default header values.

http-error section created

func NewCreateHTTPErrorsSectionCreated

func NewCreateHTTPErrorsSectionCreated() *CreateHTTPErrorsSectionCreated

NewCreateHTTPErrorsSectionCreated creates a CreateHTTPErrorsSectionCreated with default headers values

func (*CreateHTTPErrorsSectionCreated) Error

func (*CreateHTTPErrorsSectionCreated) GetPayload

func (*CreateHTTPErrorsSectionCreated) IsClientError

func (o *CreateHTTPErrorsSectionCreated) IsClientError() bool

IsClientError returns true when this create Http errors section created response has a 4xx status code

func (*CreateHTTPErrorsSectionCreated) IsCode

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

IsCode returns true when this create Http errors section created response a status code equal to that given

func (*CreateHTTPErrorsSectionCreated) IsRedirect

func (o *CreateHTTPErrorsSectionCreated) IsRedirect() bool

IsRedirect returns true when this create Http errors section created response has a 3xx status code

func (*CreateHTTPErrorsSectionCreated) IsServerError

func (o *CreateHTTPErrorsSectionCreated) IsServerError() bool

IsServerError returns true when this create Http errors section created response has a 5xx status code

func (*CreateHTTPErrorsSectionCreated) IsSuccess

func (o *CreateHTTPErrorsSectionCreated) IsSuccess() bool

IsSuccess returns true when this create Http errors section created response has a 2xx status code

func (*CreateHTTPErrorsSectionCreated) String

type CreateHTTPErrorsSectionDefault

type CreateHTTPErrorsSectionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CreateHTTPErrorsSectionDefault describes a response with status code -1, with default header values.

General Error

func NewCreateHTTPErrorsSectionDefault

func NewCreateHTTPErrorsSectionDefault(code int) *CreateHTTPErrorsSectionDefault

NewCreateHTTPErrorsSectionDefault creates a CreateHTTPErrorsSectionDefault with default headers values

func (*CreateHTTPErrorsSectionDefault) Code

Code gets the status code for the create HTTP errors section default response

func (*CreateHTTPErrorsSectionDefault) Error

func (*CreateHTTPErrorsSectionDefault) GetPayload

func (o *CreateHTTPErrorsSectionDefault) GetPayload() *models.Error

func (*CreateHTTPErrorsSectionDefault) IsClientError

func (o *CreateHTTPErrorsSectionDefault) IsClientError() bool

IsClientError returns true when this create HTTP errors section default response has a 4xx status code

func (*CreateHTTPErrorsSectionDefault) IsCode

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

IsCode returns true when this create HTTP errors section default response a status code equal to that given

func (*CreateHTTPErrorsSectionDefault) IsRedirect

func (o *CreateHTTPErrorsSectionDefault) IsRedirect() bool

IsRedirect returns true when this create HTTP errors section default response has a 3xx status code

func (*CreateHTTPErrorsSectionDefault) IsServerError

func (o *CreateHTTPErrorsSectionDefault) IsServerError() bool

IsServerError returns true when this create HTTP errors section default response has a 5xx status code

func (*CreateHTTPErrorsSectionDefault) IsSuccess

func (o *CreateHTTPErrorsSectionDefault) IsSuccess() bool

IsSuccess returns true when this create HTTP errors section default response has a 2xx status code

func (*CreateHTTPErrorsSectionDefault) String

type CreateHTTPErrorsSectionParams

type CreateHTTPErrorsSectionParams struct {

	// Data.
	Data *models.HTTPErrorsSection

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

CreateHTTPErrorsSectionParams contains all the parameters to send to the API endpoint

for the create HTTP errors section operation.

Typically these are written to a http.Request.

func NewCreateHTTPErrorsSectionParams

func NewCreateHTTPErrorsSectionParams() *CreateHTTPErrorsSectionParams

NewCreateHTTPErrorsSectionParams creates a new CreateHTTPErrorsSectionParams 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 NewCreateHTTPErrorsSectionParamsWithContext

func NewCreateHTTPErrorsSectionParamsWithContext(ctx context.Context) *CreateHTTPErrorsSectionParams

NewCreateHTTPErrorsSectionParamsWithContext creates a new CreateHTTPErrorsSectionParams object with the ability to set a context for a request.

func NewCreateHTTPErrorsSectionParamsWithHTTPClient

func NewCreateHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *CreateHTTPErrorsSectionParams

NewCreateHTTPErrorsSectionParamsWithHTTPClient creates a new CreateHTTPErrorsSectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHTTPErrorsSectionParamsWithTimeout

func NewCreateHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *CreateHTTPErrorsSectionParams

NewCreateHTTPErrorsSectionParamsWithTimeout creates a new CreateHTTPErrorsSectionParams object with the ability to set a timeout on a request.

func (*CreateHTTPErrorsSectionParams) SetContext

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

SetContext adds the context to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) SetData

SetData adds the data to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) SetDefaults

func (o *CreateHTTPErrorsSectionParams) SetDefaults()

SetDefaults hydrates default values in the create HTTP errors section params (not the query body).

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

func (*CreateHTTPErrorsSectionParams) SetForceReload

func (o *CreateHTTPErrorsSectionParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) SetTimeout

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

SetTimeout adds the timeout to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) SetTransactionID

func (o *CreateHTTPErrorsSectionParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) SetVersion

func (o *CreateHTTPErrorsSectionParams) SetVersion(version *int64)

SetVersion adds the version to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithContext

WithContext adds the context to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithData

WithData adds the data to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithDefaults

WithDefaults hydrates default values in the create HTTP errors section params (not the query body).

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

func (*CreateHTTPErrorsSectionParams) WithForceReload

func (o *CreateHTTPErrorsSectionParams) WithForceReload(forceReload *bool) *CreateHTTPErrorsSectionParams

WithForceReload adds the forceReload to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithTimeout

WithTimeout adds the timeout to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithTransactionID

func (o *CreateHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *CreateHTTPErrorsSectionParams

WithTransactionID adds the transactionID to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WithVersion

WithVersion adds the version to the create HTTP errors section params

func (*CreateHTTPErrorsSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHTTPErrorsSectionReader

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

CreateHTTPErrorsSectionReader is a Reader for the CreateHTTPErrorsSection structure.

func (*CreateHTTPErrorsSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHTTPErrorsSectionAccepted

type DeleteHTTPErrorsSectionAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteHTTPErrorsSectionAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteHTTPErrorsSectionAccepted

func NewDeleteHTTPErrorsSectionAccepted() *DeleteHTTPErrorsSectionAccepted

NewDeleteHTTPErrorsSectionAccepted creates a DeleteHTTPErrorsSectionAccepted with default headers values

func (*DeleteHTTPErrorsSectionAccepted) Error

func (*DeleteHTTPErrorsSectionAccepted) IsClientError

func (o *DeleteHTTPErrorsSectionAccepted) IsClientError() bool

IsClientError returns true when this delete Http errors section accepted response has a 4xx status code

func (*DeleteHTTPErrorsSectionAccepted) IsCode

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

IsCode returns true when this delete Http errors section accepted response a status code equal to that given

func (*DeleteHTTPErrorsSectionAccepted) IsRedirect

func (o *DeleteHTTPErrorsSectionAccepted) IsRedirect() bool

IsRedirect returns true when this delete Http errors section accepted response has a 3xx status code

func (*DeleteHTTPErrorsSectionAccepted) IsServerError

func (o *DeleteHTTPErrorsSectionAccepted) IsServerError() bool

IsServerError returns true when this delete Http errors section accepted response has a 5xx status code

func (*DeleteHTTPErrorsSectionAccepted) IsSuccess

func (o *DeleteHTTPErrorsSectionAccepted) IsSuccess() bool

IsSuccess returns true when this delete Http errors section accepted response has a 2xx status code

func (*DeleteHTTPErrorsSectionAccepted) String

type DeleteHTTPErrorsSectionDefault

type DeleteHTTPErrorsSectionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteHTTPErrorsSectionDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteHTTPErrorsSectionDefault

func NewDeleteHTTPErrorsSectionDefault(code int) *DeleteHTTPErrorsSectionDefault

NewDeleteHTTPErrorsSectionDefault creates a DeleteHTTPErrorsSectionDefault with default headers values

func (*DeleteHTTPErrorsSectionDefault) Code

Code gets the status code for the delete HTTP errors section default response

func (*DeleteHTTPErrorsSectionDefault) Error

func (*DeleteHTTPErrorsSectionDefault) GetPayload

func (o *DeleteHTTPErrorsSectionDefault) GetPayload() *models.Error

func (*DeleteHTTPErrorsSectionDefault) IsClientError

func (o *DeleteHTTPErrorsSectionDefault) IsClientError() bool

IsClientError returns true when this delete HTTP errors section default response has a 4xx status code

func (*DeleteHTTPErrorsSectionDefault) IsCode

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

IsCode returns true when this delete HTTP errors section default response a status code equal to that given

func (*DeleteHTTPErrorsSectionDefault) IsRedirect

func (o *DeleteHTTPErrorsSectionDefault) IsRedirect() bool

IsRedirect returns true when this delete HTTP errors section default response has a 3xx status code

func (*DeleteHTTPErrorsSectionDefault) IsServerError

func (o *DeleteHTTPErrorsSectionDefault) IsServerError() bool

IsServerError returns true when this delete HTTP errors section default response has a 5xx status code

func (*DeleteHTTPErrorsSectionDefault) IsSuccess

func (o *DeleteHTTPErrorsSectionDefault) IsSuccess() bool

IsSuccess returns true when this delete HTTP errors section default response has a 2xx status code

func (*DeleteHTTPErrorsSectionDefault) String

type DeleteHTTPErrorsSectionNoContent

type DeleteHTTPErrorsSectionNoContent struct {
}

DeleteHTTPErrorsSectionNoContent describes a response with status code 204, with default header values.

http-error section deleted

func NewDeleteHTTPErrorsSectionNoContent

func NewDeleteHTTPErrorsSectionNoContent() *DeleteHTTPErrorsSectionNoContent

NewDeleteHTTPErrorsSectionNoContent creates a DeleteHTTPErrorsSectionNoContent with default headers values

func (*DeleteHTTPErrorsSectionNoContent) Error

func (*DeleteHTTPErrorsSectionNoContent) IsClientError

func (o *DeleteHTTPErrorsSectionNoContent) IsClientError() bool

IsClientError returns true when this delete Http errors section no content response has a 4xx status code

func (*DeleteHTTPErrorsSectionNoContent) IsCode

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

IsCode returns true when this delete Http errors section no content response a status code equal to that given

func (*DeleteHTTPErrorsSectionNoContent) IsRedirect

func (o *DeleteHTTPErrorsSectionNoContent) IsRedirect() bool

IsRedirect returns true when this delete Http errors section no content response has a 3xx status code

func (*DeleteHTTPErrorsSectionNoContent) IsServerError

func (o *DeleteHTTPErrorsSectionNoContent) IsServerError() bool

IsServerError returns true when this delete Http errors section no content response has a 5xx status code

func (*DeleteHTTPErrorsSectionNoContent) IsSuccess

func (o *DeleteHTTPErrorsSectionNoContent) IsSuccess() bool

IsSuccess returns true when this delete Http errors section no content response has a 2xx status code

func (*DeleteHTTPErrorsSectionNoContent) String

type DeleteHTTPErrorsSectionNotFound

type DeleteHTTPErrorsSectionNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteHTTPErrorsSectionNotFound

func NewDeleteHTTPErrorsSectionNotFound() *DeleteHTTPErrorsSectionNotFound

NewDeleteHTTPErrorsSectionNotFound creates a DeleteHTTPErrorsSectionNotFound with default headers values

func (*DeleteHTTPErrorsSectionNotFound) Error

func (*DeleteHTTPErrorsSectionNotFound) GetPayload

func (o *DeleteHTTPErrorsSectionNotFound) GetPayload() *models.Error

func (*DeleteHTTPErrorsSectionNotFound) IsClientError

func (o *DeleteHTTPErrorsSectionNotFound) IsClientError() bool

IsClientError returns true when this delete Http errors section not found response has a 4xx status code

func (*DeleteHTTPErrorsSectionNotFound) IsCode

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

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

func (*DeleteHTTPErrorsSectionNotFound) IsRedirect

func (o *DeleteHTTPErrorsSectionNotFound) IsRedirect() bool

IsRedirect returns true when this delete Http errors section not found response has a 3xx status code

func (*DeleteHTTPErrorsSectionNotFound) IsServerError

func (o *DeleteHTTPErrorsSectionNotFound) IsServerError() bool

IsServerError returns true when this delete Http errors section not found response has a 5xx status code

func (*DeleteHTTPErrorsSectionNotFound) IsSuccess

func (o *DeleteHTTPErrorsSectionNotFound) IsSuccess() bool

IsSuccess returns true when this delete Http errors section not found response has a 2xx status code

func (*DeleteHTTPErrorsSectionNotFound) String

type DeleteHTTPErrorsSectionParams

type DeleteHTTPErrorsSectionParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   http-error section name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

DeleteHTTPErrorsSectionParams contains all the parameters to send to the API endpoint

for the delete HTTP errors section operation.

Typically these are written to a http.Request.

func NewDeleteHTTPErrorsSectionParams

func NewDeleteHTTPErrorsSectionParams() *DeleteHTTPErrorsSectionParams

NewDeleteHTTPErrorsSectionParams creates a new DeleteHTTPErrorsSectionParams 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 NewDeleteHTTPErrorsSectionParamsWithContext

func NewDeleteHTTPErrorsSectionParamsWithContext(ctx context.Context) *DeleteHTTPErrorsSectionParams

NewDeleteHTTPErrorsSectionParamsWithContext creates a new DeleteHTTPErrorsSectionParams object with the ability to set a context for a request.

func NewDeleteHTTPErrorsSectionParamsWithHTTPClient

func NewDeleteHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *DeleteHTTPErrorsSectionParams

NewDeleteHTTPErrorsSectionParamsWithHTTPClient creates a new DeleteHTTPErrorsSectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHTTPErrorsSectionParamsWithTimeout

func NewDeleteHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *DeleteHTTPErrorsSectionParams

NewDeleteHTTPErrorsSectionParamsWithTimeout creates a new DeleteHTTPErrorsSectionParams object with the ability to set a timeout on a request.

func (*DeleteHTTPErrorsSectionParams) SetContext

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

SetContext adds the context to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) SetDefaults

func (o *DeleteHTTPErrorsSectionParams) SetDefaults()

SetDefaults hydrates default values in the delete HTTP errors section params (not the query body).

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

func (*DeleteHTTPErrorsSectionParams) SetForceReload

func (o *DeleteHTTPErrorsSectionParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) SetName

func (o *DeleteHTTPErrorsSectionParams) SetName(name string)

SetName adds the name to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) SetTransactionID

func (o *DeleteHTTPErrorsSectionParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) SetVersion

func (o *DeleteHTTPErrorsSectionParams) SetVersion(version *int64)

SetVersion adds the version to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithContext

WithContext adds the context to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithDefaults

WithDefaults hydrates default values in the delete HTTP errors section params (not the query body).

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

func (*DeleteHTTPErrorsSectionParams) WithForceReload

func (o *DeleteHTTPErrorsSectionParams) WithForceReload(forceReload *bool) *DeleteHTTPErrorsSectionParams

WithForceReload adds the forceReload to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithName

WithName adds the name to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithTimeout

WithTimeout adds the timeout to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithTransactionID

func (o *DeleteHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *DeleteHTTPErrorsSectionParams

WithTransactionID adds the transactionID to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WithVersion

WithVersion adds the version to the delete HTTP errors section params

func (*DeleteHTTPErrorsSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHTTPErrorsSectionReader

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

DeleteHTTPErrorsSectionReader is a Reader for the DeleteHTTPErrorsSection structure.

func (*DeleteHTTPErrorsSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHTTPErrorsSectionDefault

type GetHTTPErrorsSectionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetHTTPErrorsSectionDefault describes a response with status code -1, with default header values.

General Error

func NewGetHTTPErrorsSectionDefault

func NewGetHTTPErrorsSectionDefault(code int) *GetHTTPErrorsSectionDefault

NewGetHTTPErrorsSectionDefault creates a GetHTTPErrorsSectionDefault with default headers values

func (*GetHTTPErrorsSectionDefault) Code

func (o *GetHTTPErrorsSectionDefault) Code() int

Code gets the status code for the get HTTP errors section default response

func (*GetHTTPErrorsSectionDefault) Error

func (*GetHTTPErrorsSectionDefault) GetPayload

func (o *GetHTTPErrorsSectionDefault) GetPayload() *models.Error

func (*GetHTTPErrorsSectionDefault) IsClientError

func (o *GetHTTPErrorsSectionDefault) IsClientError() bool

IsClientError returns true when this get HTTP errors section default response has a 4xx status code

func (*GetHTTPErrorsSectionDefault) IsCode

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

IsCode returns true when this get HTTP errors section default response a status code equal to that given

func (*GetHTTPErrorsSectionDefault) IsRedirect

func (o *GetHTTPErrorsSectionDefault) IsRedirect() bool

IsRedirect returns true when this get HTTP errors section default response has a 3xx status code

func (*GetHTTPErrorsSectionDefault) IsServerError

func (o *GetHTTPErrorsSectionDefault) IsServerError() bool

IsServerError returns true when this get HTTP errors section default response has a 5xx status code

func (*GetHTTPErrorsSectionDefault) IsSuccess

func (o *GetHTTPErrorsSectionDefault) IsSuccess() bool

IsSuccess returns true when this get HTTP errors section default response has a 2xx status code

func (*GetHTTPErrorsSectionDefault) String

func (o *GetHTTPErrorsSectionDefault) String() string

type GetHTTPErrorsSectionNotFound

type GetHTTPErrorsSectionNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetHTTPErrorsSectionNotFound

func NewGetHTTPErrorsSectionNotFound() *GetHTTPErrorsSectionNotFound

NewGetHTTPErrorsSectionNotFound creates a GetHTTPErrorsSectionNotFound with default headers values

func (*GetHTTPErrorsSectionNotFound) Error

func (*GetHTTPErrorsSectionNotFound) GetPayload

func (o *GetHTTPErrorsSectionNotFound) GetPayload() *models.Error

func (*GetHTTPErrorsSectionNotFound) IsClientError

func (o *GetHTTPErrorsSectionNotFound) IsClientError() bool

IsClientError returns true when this get Http errors section not found response has a 4xx status code

func (*GetHTTPErrorsSectionNotFound) IsCode

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

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

func (*GetHTTPErrorsSectionNotFound) IsRedirect

func (o *GetHTTPErrorsSectionNotFound) IsRedirect() bool

IsRedirect returns true when this get Http errors section not found response has a 3xx status code

func (*GetHTTPErrorsSectionNotFound) IsServerError

func (o *GetHTTPErrorsSectionNotFound) IsServerError() bool

IsServerError returns true when this get Http errors section not found response has a 5xx status code

func (*GetHTTPErrorsSectionNotFound) IsSuccess

func (o *GetHTTPErrorsSectionNotFound) IsSuccess() bool

IsSuccess returns true when this get Http errors section not found response has a 2xx status code

func (*GetHTTPErrorsSectionNotFound) String

type GetHTTPErrorsSectionOK

type GetHTTPErrorsSectionOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPErrorsSectionOKBody
}

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

Successful operation

func NewGetHTTPErrorsSectionOK

func NewGetHTTPErrorsSectionOK() *GetHTTPErrorsSectionOK

NewGetHTTPErrorsSectionOK creates a GetHTTPErrorsSectionOK with default headers values

func (*GetHTTPErrorsSectionOK) Error

func (o *GetHTTPErrorsSectionOK) Error() string

func (*GetHTTPErrorsSectionOK) GetPayload

func (*GetHTTPErrorsSectionOK) IsClientError

func (o *GetHTTPErrorsSectionOK) IsClientError() bool

IsClientError returns true when this get Http errors section o k response has a 4xx status code

func (*GetHTTPErrorsSectionOK) IsCode

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

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

func (*GetHTTPErrorsSectionOK) IsRedirect

func (o *GetHTTPErrorsSectionOK) IsRedirect() bool

IsRedirect returns true when this get Http errors section o k response has a 3xx status code

func (*GetHTTPErrorsSectionOK) IsServerError

func (o *GetHTTPErrorsSectionOK) IsServerError() bool

IsServerError returns true when this get Http errors section o k response has a 5xx status code

func (*GetHTTPErrorsSectionOK) IsSuccess

func (o *GetHTTPErrorsSectionOK) IsSuccess() bool

IsSuccess returns true when this get Http errors section o k response has a 2xx status code

func (*GetHTTPErrorsSectionOK) String

func (o *GetHTTPErrorsSectionOK) String() string

type GetHTTPErrorsSectionOKBody

type GetHTTPErrorsSectionOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.HTTPErrorsSection `json:"data,omitempty"`
}

GetHTTPErrorsSectionOKBody get HTTP errors section o k body swagger:model GetHTTPErrorsSectionOKBody

func (*GetHTTPErrorsSectionOKBody) ContextValidate

func (o *GetHTTPErrorsSectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get HTTP errors section o k body based on the context it is used

func (*GetHTTPErrorsSectionOKBody) MarshalBinary

func (o *GetHTTPErrorsSectionOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetHTTPErrorsSectionOKBody) UnmarshalBinary

func (o *GetHTTPErrorsSectionOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetHTTPErrorsSectionOKBody) Validate

func (o *GetHTTPErrorsSectionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get HTTP errors section o k body

type GetHTTPErrorsSectionParams

type GetHTTPErrorsSectionParams struct {

	/* Name.

	   http-error section name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetHTTPErrorsSectionParams contains all the parameters to send to the API endpoint

for the get HTTP errors section operation.

Typically these are written to a http.Request.

func NewGetHTTPErrorsSectionParams

func NewGetHTTPErrorsSectionParams() *GetHTTPErrorsSectionParams

NewGetHTTPErrorsSectionParams creates a new GetHTTPErrorsSectionParams 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 NewGetHTTPErrorsSectionParamsWithContext

func NewGetHTTPErrorsSectionParamsWithContext(ctx context.Context) *GetHTTPErrorsSectionParams

NewGetHTTPErrorsSectionParamsWithContext creates a new GetHTTPErrorsSectionParams object with the ability to set a context for a request.

func NewGetHTTPErrorsSectionParamsWithHTTPClient

func NewGetHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *GetHTTPErrorsSectionParams

NewGetHTTPErrorsSectionParamsWithHTTPClient creates a new GetHTTPErrorsSectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPErrorsSectionParamsWithTimeout

func NewGetHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *GetHTTPErrorsSectionParams

NewGetHTTPErrorsSectionParamsWithTimeout creates a new GetHTTPErrorsSectionParams object with the ability to set a timeout on a request.

func (*GetHTTPErrorsSectionParams) SetContext

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

SetContext adds the context to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) SetDefaults

func (o *GetHTTPErrorsSectionParams) SetDefaults()

SetDefaults hydrates default values in the get HTTP errors section params (not the query body).

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

func (*GetHTTPErrorsSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) SetName

func (o *GetHTTPErrorsSectionParams) SetName(name string)

SetName adds the name to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) SetTimeout

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

SetTimeout adds the timeout to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) SetTransactionID

func (o *GetHTTPErrorsSectionParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) WithContext

WithContext adds the context to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) WithDefaults

WithDefaults hydrates default values in the get HTTP errors section params (not the query body).

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

func (*GetHTTPErrorsSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) WithName

WithName adds the name to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) WithTimeout

WithTimeout adds the timeout to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) WithTransactionID

func (o *GetHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *GetHTTPErrorsSectionParams

WithTransactionID adds the transactionID to the get HTTP errors section params

func (*GetHTTPErrorsSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPErrorsSectionReader

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

GetHTTPErrorsSectionReader is a Reader for the GetHTTPErrorsSection structure.

func (*GetHTTPErrorsSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHTTPErrorsSectionsDefault

type GetHTTPErrorsSectionsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetHTTPErrorsSectionsDefault describes a response with status code -1, with default header values.

General Error

func NewGetHTTPErrorsSectionsDefault

func NewGetHTTPErrorsSectionsDefault(code int) *GetHTTPErrorsSectionsDefault

NewGetHTTPErrorsSectionsDefault creates a GetHTTPErrorsSectionsDefault with default headers values

func (*GetHTTPErrorsSectionsDefault) Code

Code gets the status code for the get HTTP errors sections default response

func (*GetHTTPErrorsSectionsDefault) Error

func (*GetHTTPErrorsSectionsDefault) GetPayload

func (o *GetHTTPErrorsSectionsDefault) GetPayload() *models.Error

func (*GetHTTPErrorsSectionsDefault) IsClientError

func (o *GetHTTPErrorsSectionsDefault) IsClientError() bool

IsClientError returns true when this get HTTP errors sections default response has a 4xx status code

func (*GetHTTPErrorsSectionsDefault) IsCode

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

IsCode returns true when this get HTTP errors sections default response a status code equal to that given

func (*GetHTTPErrorsSectionsDefault) IsRedirect

func (o *GetHTTPErrorsSectionsDefault) IsRedirect() bool

IsRedirect returns true when this get HTTP errors sections default response has a 3xx status code

func (*GetHTTPErrorsSectionsDefault) IsServerError

func (o *GetHTTPErrorsSectionsDefault) IsServerError() bool

IsServerError returns true when this get HTTP errors sections default response has a 5xx status code

func (*GetHTTPErrorsSectionsDefault) IsSuccess

func (o *GetHTTPErrorsSectionsDefault) IsSuccess() bool

IsSuccess returns true when this get HTTP errors sections default response has a 2xx status code

func (*GetHTTPErrorsSectionsDefault) String

type GetHTTPErrorsSectionsOK

type GetHTTPErrorsSectionsOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPErrorsSectionsOKBody
}

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

Successful operation

func NewGetHTTPErrorsSectionsOK

func NewGetHTTPErrorsSectionsOK() *GetHTTPErrorsSectionsOK

NewGetHTTPErrorsSectionsOK creates a GetHTTPErrorsSectionsOK with default headers values

func (*GetHTTPErrorsSectionsOK) Error

func (o *GetHTTPErrorsSectionsOK) Error() string

func (*GetHTTPErrorsSectionsOK) GetPayload

func (*GetHTTPErrorsSectionsOK) IsClientError

func (o *GetHTTPErrorsSectionsOK) IsClientError() bool

IsClientError returns true when this get Http errors sections o k response has a 4xx status code

func (*GetHTTPErrorsSectionsOK) IsCode

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

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

func (*GetHTTPErrorsSectionsOK) IsRedirect

func (o *GetHTTPErrorsSectionsOK) IsRedirect() bool

IsRedirect returns true when this get Http errors sections o k response has a 3xx status code

func (*GetHTTPErrorsSectionsOK) IsServerError

func (o *GetHTTPErrorsSectionsOK) IsServerError() bool

IsServerError returns true when this get Http errors sections o k response has a 5xx status code

func (*GetHTTPErrorsSectionsOK) IsSuccess

func (o *GetHTTPErrorsSectionsOK) IsSuccess() bool

IsSuccess returns true when this get Http errors sections o k response has a 2xx status code

func (*GetHTTPErrorsSectionsOK) String

func (o *GetHTTPErrorsSectionsOK) String() string

type GetHTTPErrorsSectionsOKBody

type GetHTTPErrorsSectionsOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.HTTPErrorsSections `json:"data"`
}

GetHTTPErrorsSectionsOKBody get HTTP errors sections o k body swagger:model GetHTTPErrorsSectionsOKBody

func (*GetHTTPErrorsSectionsOKBody) ContextValidate

func (o *GetHTTPErrorsSectionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get HTTP errors sections o k body based on the context it is used

func (*GetHTTPErrorsSectionsOKBody) MarshalBinary

func (o *GetHTTPErrorsSectionsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetHTTPErrorsSectionsOKBody) UnmarshalBinary

func (o *GetHTTPErrorsSectionsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetHTTPErrorsSectionsOKBody) Validate

func (o *GetHTTPErrorsSectionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get HTTP errors sections o k body

type GetHTTPErrorsSectionsParams

type GetHTTPErrorsSectionsParams struct {

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetHTTPErrorsSectionsParams contains all the parameters to send to the API endpoint

for the get HTTP errors sections operation.

Typically these are written to a http.Request.

func NewGetHTTPErrorsSectionsParams

func NewGetHTTPErrorsSectionsParams() *GetHTTPErrorsSectionsParams

NewGetHTTPErrorsSectionsParams creates a new GetHTTPErrorsSectionsParams 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 NewGetHTTPErrorsSectionsParamsWithContext

func NewGetHTTPErrorsSectionsParamsWithContext(ctx context.Context) *GetHTTPErrorsSectionsParams

NewGetHTTPErrorsSectionsParamsWithContext creates a new GetHTTPErrorsSectionsParams object with the ability to set a context for a request.

func NewGetHTTPErrorsSectionsParamsWithHTTPClient

func NewGetHTTPErrorsSectionsParamsWithHTTPClient(client *http.Client) *GetHTTPErrorsSectionsParams

NewGetHTTPErrorsSectionsParamsWithHTTPClient creates a new GetHTTPErrorsSectionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPErrorsSectionsParamsWithTimeout

func NewGetHTTPErrorsSectionsParamsWithTimeout(timeout time.Duration) *GetHTTPErrorsSectionsParams

NewGetHTTPErrorsSectionsParamsWithTimeout creates a new GetHTTPErrorsSectionsParams object with the ability to set a timeout on a request.

func (*GetHTTPErrorsSectionsParams) SetContext

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

SetContext adds the context to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) SetDefaults

func (o *GetHTTPErrorsSectionsParams) SetDefaults()

SetDefaults hydrates default values in the get HTTP errors sections params (not the query body).

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

func (*GetHTTPErrorsSectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) SetTimeout

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

SetTimeout adds the timeout to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) SetTransactionID

func (o *GetHTTPErrorsSectionsParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) WithContext

WithContext adds the context to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) WithDefaults

WithDefaults hydrates default values in the get HTTP errors sections params (not the query body).

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

func (*GetHTTPErrorsSectionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) WithTimeout

WithTimeout adds the timeout to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) WithTransactionID

func (o *GetHTTPErrorsSectionsParams) WithTransactionID(transactionID *string) *GetHTTPErrorsSectionsParams

WithTransactionID adds the transactionID to the get HTTP errors sections params

func (*GetHTTPErrorsSectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPErrorsSectionsReader

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

GetHTTPErrorsSectionsReader is a Reader for the GetHTTPErrorsSections structure.

func (*GetHTTPErrorsSectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceHTTPErrorsSectionAccepted

type ReplaceHTTPErrorsSectionAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPErrorsSection
}

ReplaceHTTPErrorsSectionAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewReplaceHTTPErrorsSectionAccepted

func NewReplaceHTTPErrorsSectionAccepted() *ReplaceHTTPErrorsSectionAccepted

NewReplaceHTTPErrorsSectionAccepted creates a ReplaceHTTPErrorsSectionAccepted with default headers values

func (*ReplaceHTTPErrorsSectionAccepted) Error

func (*ReplaceHTTPErrorsSectionAccepted) GetPayload

func (*ReplaceHTTPErrorsSectionAccepted) IsClientError

func (o *ReplaceHTTPErrorsSectionAccepted) IsClientError() bool

IsClientError returns true when this replace Http errors section accepted response has a 4xx status code

func (*ReplaceHTTPErrorsSectionAccepted) IsCode

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

IsCode returns true when this replace Http errors section accepted response a status code equal to that given

func (*ReplaceHTTPErrorsSectionAccepted) IsRedirect

func (o *ReplaceHTTPErrorsSectionAccepted) IsRedirect() bool

IsRedirect returns true when this replace Http errors section accepted response has a 3xx status code

func (*ReplaceHTTPErrorsSectionAccepted) IsServerError

func (o *ReplaceHTTPErrorsSectionAccepted) IsServerError() bool

IsServerError returns true when this replace Http errors section accepted response has a 5xx status code

func (*ReplaceHTTPErrorsSectionAccepted) IsSuccess

func (o *ReplaceHTTPErrorsSectionAccepted) IsSuccess() bool

IsSuccess returns true when this replace Http errors section accepted response has a 2xx status code

func (*ReplaceHTTPErrorsSectionAccepted) String

type ReplaceHTTPErrorsSectionBadRequest

type ReplaceHTTPErrorsSectionBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceHTTPErrorsSectionBadRequest

func NewReplaceHTTPErrorsSectionBadRequest() *ReplaceHTTPErrorsSectionBadRequest

NewReplaceHTTPErrorsSectionBadRequest creates a ReplaceHTTPErrorsSectionBadRequest with default headers values

func (*ReplaceHTTPErrorsSectionBadRequest) Error

func (*ReplaceHTTPErrorsSectionBadRequest) GetPayload

func (*ReplaceHTTPErrorsSectionBadRequest) IsClientError

func (o *ReplaceHTTPErrorsSectionBadRequest) IsClientError() bool

IsClientError returns true when this replace Http errors section bad request response has a 4xx status code

func (*ReplaceHTTPErrorsSectionBadRequest) IsCode

IsCode returns true when this replace Http errors section bad request response a status code equal to that given

func (*ReplaceHTTPErrorsSectionBadRequest) IsRedirect

func (o *ReplaceHTTPErrorsSectionBadRequest) IsRedirect() bool

IsRedirect returns true when this replace Http errors section bad request response has a 3xx status code

func (*ReplaceHTTPErrorsSectionBadRequest) IsServerError

func (o *ReplaceHTTPErrorsSectionBadRequest) IsServerError() bool

IsServerError returns true when this replace Http errors section bad request response has a 5xx status code

func (*ReplaceHTTPErrorsSectionBadRequest) IsSuccess

IsSuccess returns true when this replace Http errors section bad request response has a 2xx status code

func (*ReplaceHTTPErrorsSectionBadRequest) String

type ReplaceHTTPErrorsSectionDefault

type ReplaceHTTPErrorsSectionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

ReplaceHTTPErrorsSectionDefault describes a response with status code -1, with default header values.

General Error

func NewReplaceHTTPErrorsSectionDefault

func NewReplaceHTTPErrorsSectionDefault(code int) *ReplaceHTTPErrorsSectionDefault

NewReplaceHTTPErrorsSectionDefault creates a ReplaceHTTPErrorsSectionDefault with default headers values

func (*ReplaceHTTPErrorsSectionDefault) Code

Code gets the status code for the replace HTTP errors section default response

func (*ReplaceHTTPErrorsSectionDefault) Error

func (*ReplaceHTTPErrorsSectionDefault) GetPayload

func (o *ReplaceHTTPErrorsSectionDefault) GetPayload() *models.Error

func (*ReplaceHTTPErrorsSectionDefault) IsClientError

func (o *ReplaceHTTPErrorsSectionDefault) IsClientError() bool

IsClientError returns true when this replace HTTP errors section default response has a 4xx status code

func (*ReplaceHTTPErrorsSectionDefault) IsCode

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

IsCode returns true when this replace HTTP errors section default response a status code equal to that given

func (*ReplaceHTTPErrorsSectionDefault) IsRedirect

func (o *ReplaceHTTPErrorsSectionDefault) IsRedirect() bool

IsRedirect returns true when this replace HTTP errors section default response has a 3xx status code

func (*ReplaceHTTPErrorsSectionDefault) IsServerError

func (o *ReplaceHTTPErrorsSectionDefault) IsServerError() bool

IsServerError returns true when this replace HTTP errors section default response has a 5xx status code

func (*ReplaceHTTPErrorsSectionDefault) IsSuccess

func (o *ReplaceHTTPErrorsSectionDefault) IsSuccess() bool

IsSuccess returns true when this replace HTTP errors section default response has a 2xx status code

func (*ReplaceHTTPErrorsSectionDefault) String

type ReplaceHTTPErrorsSectionNotFound

type ReplaceHTTPErrorsSectionNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceHTTPErrorsSectionNotFound

func NewReplaceHTTPErrorsSectionNotFound() *ReplaceHTTPErrorsSectionNotFound

NewReplaceHTTPErrorsSectionNotFound creates a ReplaceHTTPErrorsSectionNotFound with default headers values

func (*ReplaceHTTPErrorsSectionNotFound) Error

func (*ReplaceHTTPErrorsSectionNotFound) GetPayload

func (*ReplaceHTTPErrorsSectionNotFound) IsClientError

func (o *ReplaceHTTPErrorsSectionNotFound) IsClientError() bool

IsClientError returns true when this replace Http errors section not found response has a 4xx status code

func (*ReplaceHTTPErrorsSectionNotFound) IsCode

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

IsCode returns true when this replace Http errors section not found response a status code equal to that given

func (*ReplaceHTTPErrorsSectionNotFound) IsRedirect

func (o *ReplaceHTTPErrorsSectionNotFound) IsRedirect() bool

IsRedirect returns true when this replace Http errors section not found response has a 3xx status code

func (*ReplaceHTTPErrorsSectionNotFound) IsServerError

func (o *ReplaceHTTPErrorsSectionNotFound) IsServerError() bool

IsServerError returns true when this replace Http errors section not found response has a 5xx status code

func (*ReplaceHTTPErrorsSectionNotFound) IsSuccess

func (o *ReplaceHTTPErrorsSectionNotFound) IsSuccess() bool

IsSuccess returns true when this replace Http errors section not found response has a 2xx status code

func (*ReplaceHTTPErrorsSectionNotFound) String

type ReplaceHTTPErrorsSectionOK

type ReplaceHTTPErrorsSectionOK struct {
	Payload *models.HTTPErrorsSection
}

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

http-error section updated

func NewReplaceHTTPErrorsSectionOK

func NewReplaceHTTPErrorsSectionOK() *ReplaceHTTPErrorsSectionOK

NewReplaceHTTPErrorsSectionOK creates a ReplaceHTTPErrorsSectionOK with default headers values

func (*ReplaceHTTPErrorsSectionOK) Error

func (*ReplaceHTTPErrorsSectionOK) GetPayload

func (*ReplaceHTTPErrorsSectionOK) IsClientError

func (o *ReplaceHTTPErrorsSectionOK) IsClientError() bool

IsClientError returns true when this replace Http errors section o k response has a 4xx status code

func (*ReplaceHTTPErrorsSectionOK) IsCode

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

IsCode returns true when this replace Http errors section o k response a status code equal to that given

func (*ReplaceHTTPErrorsSectionOK) IsRedirect

func (o *ReplaceHTTPErrorsSectionOK) IsRedirect() bool

IsRedirect returns true when this replace Http errors section o k response has a 3xx status code

func (*ReplaceHTTPErrorsSectionOK) IsServerError

func (o *ReplaceHTTPErrorsSectionOK) IsServerError() bool

IsServerError returns true when this replace Http errors section o k response has a 5xx status code

func (*ReplaceHTTPErrorsSectionOK) IsSuccess

func (o *ReplaceHTTPErrorsSectionOK) IsSuccess() bool

IsSuccess returns true when this replace Http errors section o k response has a 2xx status code

func (*ReplaceHTTPErrorsSectionOK) String

func (o *ReplaceHTTPErrorsSectionOK) String() string

type ReplaceHTTPErrorsSectionParams

type ReplaceHTTPErrorsSectionParams struct {

	// Data.
	Data *models.HTTPErrorsSection

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   http-error section name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

ReplaceHTTPErrorsSectionParams contains all the parameters to send to the API endpoint

for the replace HTTP errors section operation.

Typically these are written to a http.Request.

func NewReplaceHTTPErrorsSectionParams

func NewReplaceHTTPErrorsSectionParams() *ReplaceHTTPErrorsSectionParams

NewReplaceHTTPErrorsSectionParams creates a new ReplaceHTTPErrorsSectionParams 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 NewReplaceHTTPErrorsSectionParamsWithContext

func NewReplaceHTTPErrorsSectionParamsWithContext(ctx context.Context) *ReplaceHTTPErrorsSectionParams

NewReplaceHTTPErrorsSectionParamsWithContext creates a new ReplaceHTTPErrorsSectionParams object with the ability to set a context for a request.

func NewReplaceHTTPErrorsSectionParamsWithHTTPClient

func NewReplaceHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *ReplaceHTTPErrorsSectionParams

NewReplaceHTTPErrorsSectionParamsWithHTTPClient creates a new ReplaceHTTPErrorsSectionParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceHTTPErrorsSectionParamsWithTimeout

func NewReplaceHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *ReplaceHTTPErrorsSectionParams

NewReplaceHTTPErrorsSectionParamsWithTimeout creates a new ReplaceHTTPErrorsSectionParams object with the ability to set a timeout on a request.

func (*ReplaceHTTPErrorsSectionParams) SetContext

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

SetContext adds the context to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetData

SetData adds the data to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetDefaults

func (o *ReplaceHTTPErrorsSectionParams) SetDefaults()

SetDefaults hydrates default values in the replace HTTP errors section params (not the query body).

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

func (*ReplaceHTTPErrorsSectionParams) SetForceReload

func (o *ReplaceHTTPErrorsSectionParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetName

func (o *ReplaceHTTPErrorsSectionParams) SetName(name string)

SetName adds the name to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetTimeout

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

SetTimeout adds the timeout to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetTransactionID

func (o *ReplaceHTTPErrorsSectionParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) SetVersion

func (o *ReplaceHTTPErrorsSectionParams) SetVersion(version *int64)

SetVersion adds the version to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithContext

WithContext adds the context to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithData

WithData adds the data to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithDefaults

WithDefaults hydrates default values in the replace HTTP errors section params (not the query body).

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

func (*ReplaceHTTPErrorsSectionParams) WithForceReload

func (o *ReplaceHTTPErrorsSectionParams) WithForceReload(forceReload *bool) *ReplaceHTTPErrorsSectionParams

WithForceReload adds the forceReload to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithName

WithName adds the name to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithTimeout

WithTimeout adds the timeout to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithTransactionID

func (o *ReplaceHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *ReplaceHTTPErrorsSectionParams

WithTransactionID adds the transactionID to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WithVersion

WithVersion adds the version to the replace HTTP errors section params

func (*ReplaceHTTPErrorsSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceHTTPErrorsSectionReader

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

ReplaceHTTPErrorsSectionReader is a Reader for the ReplaceHTTPErrorsSection structure.

func (*ReplaceHTTPErrorsSectionReader) ReadResponse

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