Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateHTTPErrorsSection(params *CreateHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHTTPErrorsSectionCreated, *CreateHTTPErrorsSectionAccepted, error)
- func (a *Client) DeleteHTTPErrorsSection(params *DeleteHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHTTPErrorsSectionAccepted, *DeleteHTTPErrorsSectionNoContent, error)
- func (a *Client) GetHTTPErrorsSection(params *GetHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPErrorsSectionOK, error)
- func (a *Client) GetHTTPErrorsSections(params *GetHTTPErrorsSectionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPErrorsSectionsOK, error)
- func (a *Client) ReplaceHTTPErrorsSection(params *ReplaceHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceHTTPErrorsSectionOK, *ReplaceHTTPErrorsSectionAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateHTTPErrorsSectionAccepted
- func (o *CreateHTTPErrorsSectionAccepted) Code() int
- func (o *CreateHTTPErrorsSectionAccepted) Error() string
- func (o *CreateHTTPErrorsSectionAccepted) GetPayload() *models.HTTPErrorsSection
- func (o *CreateHTTPErrorsSectionAccepted) IsClientError() bool
- func (o *CreateHTTPErrorsSectionAccepted) IsCode(code int) bool
- func (o *CreateHTTPErrorsSectionAccepted) IsRedirect() bool
- func (o *CreateHTTPErrorsSectionAccepted) IsServerError() bool
- func (o *CreateHTTPErrorsSectionAccepted) IsSuccess() bool
- func (o *CreateHTTPErrorsSectionAccepted) String() string
- type CreateHTTPErrorsSectionBadRequest
- func (o *CreateHTTPErrorsSectionBadRequest) Code() int
- func (o *CreateHTTPErrorsSectionBadRequest) Error() string
- func (o *CreateHTTPErrorsSectionBadRequest) GetPayload() *models.Error
- func (o *CreateHTTPErrorsSectionBadRequest) IsClientError() bool
- func (o *CreateHTTPErrorsSectionBadRequest) IsCode(code int) bool
- func (o *CreateHTTPErrorsSectionBadRequest) IsRedirect() bool
- func (o *CreateHTTPErrorsSectionBadRequest) IsServerError() bool
- func (o *CreateHTTPErrorsSectionBadRequest) IsSuccess() bool
- func (o *CreateHTTPErrorsSectionBadRequest) String() string
- type CreateHTTPErrorsSectionConflict
- func (o *CreateHTTPErrorsSectionConflict) Code() int
- func (o *CreateHTTPErrorsSectionConflict) Error() string
- func (o *CreateHTTPErrorsSectionConflict) GetPayload() *models.Error
- func (o *CreateHTTPErrorsSectionConflict) IsClientError() bool
- func (o *CreateHTTPErrorsSectionConflict) IsCode(code int) bool
- func (o *CreateHTTPErrorsSectionConflict) IsRedirect() bool
- func (o *CreateHTTPErrorsSectionConflict) IsServerError() bool
- func (o *CreateHTTPErrorsSectionConflict) IsSuccess() bool
- func (o *CreateHTTPErrorsSectionConflict) String() string
- type CreateHTTPErrorsSectionCreated
- func (o *CreateHTTPErrorsSectionCreated) Code() int
- func (o *CreateHTTPErrorsSectionCreated) Error() string
- func (o *CreateHTTPErrorsSectionCreated) GetPayload() *models.HTTPErrorsSection
- func (o *CreateHTTPErrorsSectionCreated) IsClientError() bool
- func (o *CreateHTTPErrorsSectionCreated) IsCode(code int) bool
- func (o *CreateHTTPErrorsSectionCreated) IsRedirect() bool
- func (o *CreateHTTPErrorsSectionCreated) IsServerError() bool
- func (o *CreateHTTPErrorsSectionCreated) IsSuccess() bool
- func (o *CreateHTTPErrorsSectionCreated) String() string
- type CreateHTTPErrorsSectionDefault
- func (o *CreateHTTPErrorsSectionDefault) Code() int
- func (o *CreateHTTPErrorsSectionDefault) Error() string
- func (o *CreateHTTPErrorsSectionDefault) GetPayload() *models.Error
- func (o *CreateHTTPErrorsSectionDefault) IsClientError() bool
- func (o *CreateHTTPErrorsSectionDefault) IsCode(code int) bool
- func (o *CreateHTTPErrorsSectionDefault) IsRedirect() bool
- func (o *CreateHTTPErrorsSectionDefault) IsServerError() bool
- func (o *CreateHTTPErrorsSectionDefault) IsSuccess() bool
- func (o *CreateHTTPErrorsSectionDefault) String() string
- type CreateHTTPErrorsSectionParams
- func NewCreateHTTPErrorsSectionParams() *CreateHTTPErrorsSectionParams
- func NewCreateHTTPErrorsSectionParamsWithContext(ctx context.Context) *CreateHTTPErrorsSectionParams
- func NewCreateHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *CreateHTTPErrorsSectionParams
- func NewCreateHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) SetContext(ctx context.Context)
- func (o *CreateHTTPErrorsSectionParams) SetData(data *models.HTTPErrorsSection)
- func (o *CreateHTTPErrorsSectionParams) SetDefaults()
- func (o *CreateHTTPErrorsSectionParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPErrorsSectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPErrorsSectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPErrorsSectionParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPErrorsSectionParams) SetVersion(version *int64)
- func (o *CreateHTTPErrorsSectionParams) WithContext(ctx context.Context) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithData(data *models.HTTPErrorsSection) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithDefaults() *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithForceReload(forceReload *bool) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WithVersion(version *int64) *CreateHTTPErrorsSectionParams
- func (o *CreateHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPErrorsSectionReader
- type DeleteHTTPErrorsSectionAccepted
- func (o *DeleteHTTPErrorsSectionAccepted) Code() int
- func (o *DeleteHTTPErrorsSectionAccepted) Error() string
- func (o *DeleteHTTPErrorsSectionAccepted) IsClientError() bool
- func (o *DeleteHTTPErrorsSectionAccepted) IsCode(code int) bool
- func (o *DeleteHTTPErrorsSectionAccepted) IsRedirect() bool
- func (o *DeleteHTTPErrorsSectionAccepted) IsServerError() bool
- func (o *DeleteHTTPErrorsSectionAccepted) IsSuccess() bool
- func (o *DeleteHTTPErrorsSectionAccepted) String() string
- type DeleteHTTPErrorsSectionDefault
- func (o *DeleteHTTPErrorsSectionDefault) Code() int
- func (o *DeleteHTTPErrorsSectionDefault) Error() string
- func (o *DeleteHTTPErrorsSectionDefault) GetPayload() *models.Error
- func (o *DeleteHTTPErrorsSectionDefault) IsClientError() bool
- func (o *DeleteHTTPErrorsSectionDefault) IsCode(code int) bool
- func (o *DeleteHTTPErrorsSectionDefault) IsRedirect() bool
- func (o *DeleteHTTPErrorsSectionDefault) IsServerError() bool
- func (o *DeleteHTTPErrorsSectionDefault) IsSuccess() bool
- func (o *DeleteHTTPErrorsSectionDefault) String() string
- type DeleteHTTPErrorsSectionNoContent
- func (o *DeleteHTTPErrorsSectionNoContent) Code() int
- func (o *DeleteHTTPErrorsSectionNoContent) Error() string
- func (o *DeleteHTTPErrorsSectionNoContent) IsClientError() bool
- func (o *DeleteHTTPErrorsSectionNoContent) IsCode(code int) bool
- func (o *DeleteHTTPErrorsSectionNoContent) IsRedirect() bool
- func (o *DeleteHTTPErrorsSectionNoContent) IsServerError() bool
- func (o *DeleteHTTPErrorsSectionNoContent) IsSuccess() bool
- func (o *DeleteHTTPErrorsSectionNoContent) String() string
- type DeleteHTTPErrorsSectionNotFound
- func (o *DeleteHTTPErrorsSectionNotFound) Code() int
- func (o *DeleteHTTPErrorsSectionNotFound) Error() string
- func (o *DeleteHTTPErrorsSectionNotFound) GetPayload() *models.Error
- func (o *DeleteHTTPErrorsSectionNotFound) IsClientError() bool
- func (o *DeleteHTTPErrorsSectionNotFound) IsCode(code int) bool
- func (o *DeleteHTTPErrorsSectionNotFound) IsRedirect() bool
- func (o *DeleteHTTPErrorsSectionNotFound) IsServerError() bool
- func (o *DeleteHTTPErrorsSectionNotFound) IsSuccess() bool
- func (o *DeleteHTTPErrorsSectionNotFound) String() string
- type DeleteHTTPErrorsSectionParams
- func NewDeleteHTTPErrorsSectionParams() *DeleteHTTPErrorsSectionParams
- func NewDeleteHTTPErrorsSectionParamsWithContext(ctx context.Context) *DeleteHTTPErrorsSectionParams
- func NewDeleteHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *DeleteHTTPErrorsSectionParams
- func NewDeleteHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPErrorsSectionParams) SetDefaults()
- func (o *DeleteHTTPErrorsSectionParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPErrorsSectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPErrorsSectionParams) SetName(name string)
- func (o *DeleteHTTPErrorsSectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPErrorsSectionParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPErrorsSectionParams) SetVersion(version *int64)
- func (o *DeleteHTTPErrorsSectionParams) WithContext(ctx context.Context) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithDefaults() *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithForceReload(forceReload *bool) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithName(name string) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WithVersion(version *int64) *DeleteHTTPErrorsSectionParams
- func (o *DeleteHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPErrorsSectionReader
- type GetHTTPErrorsSectionDefault
- func (o *GetHTTPErrorsSectionDefault) Code() int
- func (o *GetHTTPErrorsSectionDefault) Error() string
- func (o *GetHTTPErrorsSectionDefault) GetPayload() *models.Error
- func (o *GetHTTPErrorsSectionDefault) IsClientError() bool
- func (o *GetHTTPErrorsSectionDefault) IsCode(code int) bool
- func (o *GetHTTPErrorsSectionDefault) IsRedirect() bool
- func (o *GetHTTPErrorsSectionDefault) IsServerError() bool
- func (o *GetHTTPErrorsSectionDefault) IsSuccess() bool
- func (o *GetHTTPErrorsSectionDefault) String() string
- type GetHTTPErrorsSectionNotFound
- func (o *GetHTTPErrorsSectionNotFound) Code() int
- func (o *GetHTTPErrorsSectionNotFound) Error() string
- func (o *GetHTTPErrorsSectionNotFound) GetPayload() *models.Error
- func (o *GetHTTPErrorsSectionNotFound) IsClientError() bool
- func (o *GetHTTPErrorsSectionNotFound) IsCode(code int) bool
- func (o *GetHTTPErrorsSectionNotFound) IsRedirect() bool
- func (o *GetHTTPErrorsSectionNotFound) IsServerError() bool
- func (o *GetHTTPErrorsSectionNotFound) IsSuccess() bool
- func (o *GetHTTPErrorsSectionNotFound) String() string
- type GetHTTPErrorsSectionOK
- func (o *GetHTTPErrorsSectionOK) Code() int
- func (o *GetHTTPErrorsSectionOK) Error() string
- func (o *GetHTTPErrorsSectionOK) GetPayload() *GetHTTPErrorsSectionOKBody
- func (o *GetHTTPErrorsSectionOK) IsClientError() bool
- func (o *GetHTTPErrorsSectionOK) IsCode(code int) bool
- func (o *GetHTTPErrorsSectionOK) IsRedirect() bool
- func (o *GetHTTPErrorsSectionOK) IsServerError() bool
- func (o *GetHTTPErrorsSectionOK) IsSuccess() bool
- func (o *GetHTTPErrorsSectionOK) String() string
- type GetHTTPErrorsSectionOKBody
- func (o *GetHTTPErrorsSectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPErrorsSectionOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPErrorsSectionOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPErrorsSectionOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPErrorsSectionParams
- func NewGetHTTPErrorsSectionParams() *GetHTTPErrorsSectionParams
- func NewGetHTTPErrorsSectionParamsWithContext(ctx context.Context) *GetHTTPErrorsSectionParams
- func NewGetHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *GetHTTPErrorsSectionParams
- func NewGetHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) SetContext(ctx context.Context)
- func (o *GetHTTPErrorsSectionParams) SetDefaults()
- func (o *GetHTTPErrorsSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPErrorsSectionParams) SetName(name string)
- func (o *GetHTTPErrorsSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPErrorsSectionParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPErrorsSectionParams) WithContext(ctx context.Context) *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) WithDefaults() *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) WithName(name string) *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *GetHTTPErrorsSectionParams
- func (o *GetHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPErrorsSectionReader
- type GetHTTPErrorsSectionsDefault
- func (o *GetHTTPErrorsSectionsDefault) Code() int
- func (o *GetHTTPErrorsSectionsDefault) Error() string
- func (o *GetHTTPErrorsSectionsDefault) GetPayload() *models.Error
- func (o *GetHTTPErrorsSectionsDefault) IsClientError() bool
- func (o *GetHTTPErrorsSectionsDefault) IsCode(code int) bool
- func (o *GetHTTPErrorsSectionsDefault) IsRedirect() bool
- func (o *GetHTTPErrorsSectionsDefault) IsServerError() bool
- func (o *GetHTTPErrorsSectionsDefault) IsSuccess() bool
- func (o *GetHTTPErrorsSectionsDefault) String() string
- type GetHTTPErrorsSectionsOK
- func (o *GetHTTPErrorsSectionsOK) Code() int
- func (o *GetHTTPErrorsSectionsOK) Error() string
- func (o *GetHTTPErrorsSectionsOK) GetPayload() *GetHTTPErrorsSectionsOKBody
- func (o *GetHTTPErrorsSectionsOK) IsClientError() bool
- func (o *GetHTTPErrorsSectionsOK) IsCode(code int) bool
- func (o *GetHTTPErrorsSectionsOK) IsRedirect() bool
- func (o *GetHTTPErrorsSectionsOK) IsServerError() bool
- func (o *GetHTTPErrorsSectionsOK) IsSuccess() bool
- func (o *GetHTTPErrorsSectionsOK) String() string
- type GetHTTPErrorsSectionsOKBody
- func (o *GetHTTPErrorsSectionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPErrorsSectionsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPErrorsSectionsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPErrorsSectionsOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPErrorsSectionsParams
- func NewGetHTTPErrorsSectionsParams() *GetHTTPErrorsSectionsParams
- func NewGetHTTPErrorsSectionsParamsWithContext(ctx context.Context) *GetHTTPErrorsSectionsParams
- func NewGetHTTPErrorsSectionsParamsWithHTTPClient(client *http.Client) *GetHTTPErrorsSectionsParams
- func NewGetHTTPErrorsSectionsParamsWithTimeout(timeout time.Duration) *GetHTTPErrorsSectionsParams
- func (o *GetHTTPErrorsSectionsParams) SetContext(ctx context.Context)
- func (o *GetHTTPErrorsSectionsParams) SetDefaults()
- func (o *GetHTTPErrorsSectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPErrorsSectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPErrorsSectionsParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPErrorsSectionsParams) WithContext(ctx context.Context) *GetHTTPErrorsSectionsParams
- func (o *GetHTTPErrorsSectionsParams) WithDefaults() *GetHTTPErrorsSectionsParams
- func (o *GetHTTPErrorsSectionsParams) WithHTTPClient(client *http.Client) *GetHTTPErrorsSectionsParams
- func (o *GetHTTPErrorsSectionsParams) WithTimeout(timeout time.Duration) *GetHTTPErrorsSectionsParams
- func (o *GetHTTPErrorsSectionsParams) WithTransactionID(transactionID *string) *GetHTTPErrorsSectionsParams
- func (o *GetHTTPErrorsSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPErrorsSectionsReader
- type ReplaceHTTPErrorsSectionAccepted
- func (o *ReplaceHTTPErrorsSectionAccepted) Code() int
- func (o *ReplaceHTTPErrorsSectionAccepted) Error() string
- func (o *ReplaceHTTPErrorsSectionAccepted) GetPayload() *models.HTTPErrorsSection
- func (o *ReplaceHTTPErrorsSectionAccepted) IsClientError() bool
- func (o *ReplaceHTTPErrorsSectionAccepted) IsCode(code int) bool
- func (o *ReplaceHTTPErrorsSectionAccepted) IsRedirect() bool
- func (o *ReplaceHTTPErrorsSectionAccepted) IsServerError() bool
- func (o *ReplaceHTTPErrorsSectionAccepted) IsSuccess() bool
- func (o *ReplaceHTTPErrorsSectionAccepted) String() string
- type ReplaceHTTPErrorsSectionBadRequest
- func (o *ReplaceHTTPErrorsSectionBadRequest) Code() int
- func (o *ReplaceHTTPErrorsSectionBadRequest) Error() string
- func (o *ReplaceHTTPErrorsSectionBadRequest) GetPayload() *models.Error
- func (o *ReplaceHTTPErrorsSectionBadRequest) IsClientError() bool
- func (o *ReplaceHTTPErrorsSectionBadRequest) IsCode(code int) bool
- func (o *ReplaceHTTPErrorsSectionBadRequest) IsRedirect() bool
- func (o *ReplaceHTTPErrorsSectionBadRequest) IsServerError() bool
- func (o *ReplaceHTTPErrorsSectionBadRequest) IsSuccess() bool
- func (o *ReplaceHTTPErrorsSectionBadRequest) String() string
- type ReplaceHTTPErrorsSectionDefault
- func (o *ReplaceHTTPErrorsSectionDefault) Code() int
- func (o *ReplaceHTTPErrorsSectionDefault) Error() string
- func (o *ReplaceHTTPErrorsSectionDefault) GetPayload() *models.Error
- func (o *ReplaceHTTPErrorsSectionDefault) IsClientError() bool
- func (o *ReplaceHTTPErrorsSectionDefault) IsCode(code int) bool
- func (o *ReplaceHTTPErrorsSectionDefault) IsRedirect() bool
- func (o *ReplaceHTTPErrorsSectionDefault) IsServerError() bool
- func (o *ReplaceHTTPErrorsSectionDefault) IsSuccess() bool
- func (o *ReplaceHTTPErrorsSectionDefault) String() string
- type ReplaceHTTPErrorsSectionNotFound
- func (o *ReplaceHTTPErrorsSectionNotFound) Code() int
- func (o *ReplaceHTTPErrorsSectionNotFound) Error() string
- func (o *ReplaceHTTPErrorsSectionNotFound) GetPayload() *models.Error
- func (o *ReplaceHTTPErrorsSectionNotFound) IsClientError() bool
- func (o *ReplaceHTTPErrorsSectionNotFound) IsCode(code int) bool
- func (o *ReplaceHTTPErrorsSectionNotFound) IsRedirect() bool
- func (o *ReplaceHTTPErrorsSectionNotFound) IsServerError() bool
- func (o *ReplaceHTTPErrorsSectionNotFound) IsSuccess() bool
- func (o *ReplaceHTTPErrorsSectionNotFound) String() string
- type ReplaceHTTPErrorsSectionOK
- func (o *ReplaceHTTPErrorsSectionOK) Code() int
- func (o *ReplaceHTTPErrorsSectionOK) Error() string
- func (o *ReplaceHTTPErrorsSectionOK) GetPayload() *models.HTTPErrorsSection
- func (o *ReplaceHTTPErrorsSectionOK) IsClientError() bool
- func (o *ReplaceHTTPErrorsSectionOK) IsCode(code int) bool
- func (o *ReplaceHTTPErrorsSectionOK) IsRedirect() bool
- func (o *ReplaceHTTPErrorsSectionOK) IsServerError() bool
- func (o *ReplaceHTTPErrorsSectionOK) IsSuccess() bool
- func (o *ReplaceHTTPErrorsSectionOK) String() string
- type ReplaceHTTPErrorsSectionParams
- func NewReplaceHTTPErrorsSectionParams() *ReplaceHTTPErrorsSectionParams
- func NewReplaceHTTPErrorsSectionParamsWithContext(ctx context.Context) *ReplaceHTTPErrorsSectionParams
- func NewReplaceHTTPErrorsSectionParamsWithHTTPClient(client *http.Client) *ReplaceHTTPErrorsSectionParams
- func NewReplaceHTTPErrorsSectionParamsWithTimeout(timeout time.Duration) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPErrorsSectionParams) SetData(data *models.HTTPErrorsSection)
- func (o *ReplaceHTTPErrorsSectionParams) SetDefaults()
- func (o *ReplaceHTTPErrorsSectionParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPErrorsSectionParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPErrorsSectionParams) SetName(name string)
- func (o *ReplaceHTTPErrorsSectionParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPErrorsSectionParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPErrorsSectionParams) SetVersion(version *int64)
- func (o *ReplaceHTTPErrorsSectionParams) WithContext(ctx context.Context) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithData(data *models.HTTPErrorsSection) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithDefaults() *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithForceReload(forceReload *bool) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithName(name string) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithTransactionID(transactionID *string) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WithVersion(version *int64) *ReplaceHTTPErrorsSectionParams
- func (o *ReplaceHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPErrorsSectionReader
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 ¶
func (a *Client) CreateHTTPErrorsSection(params *CreateHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPErrorsSectionCreated, *CreateHTTPErrorsSectionAccepted, error)
CreateHTTPErrorsSection adds a new http error section
Adds a new http-error section to the configuration.
func (*Client) DeleteHTTPErrorsSection ¶
func (a *Client) DeleteHTTPErrorsSection(params *DeleteHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPErrorsSectionAccepted, *DeleteHTTPErrorsSectionNoContent, error)
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 ¶
func (a *Client) ReplaceHTTPErrorsSection(params *ReplaceHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPErrorsSectionOK, *ReplaceHTTPErrorsSectionAccepted, error)
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 ¶
type ClientService interface { CreateHTTPErrorsSection(params *CreateHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPErrorsSectionCreated, *CreateHTTPErrorsSectionAccepted, error) DeleteHTTPErrorsSection(params *DeleteHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPErrorsSectionAccepted, *DeleteHTTPErrorsSectionNoContent, error) GetHTTPErrorsSection(params *GetHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorsSectionOK, error) GetHTTPErrorsSections(params *GetHTTPErrorsSectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorsSectionsOK, error) ReplaceHTTPErrorsSection(params *ReplaceHTTPErrorsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPErrorsSectionOK, *ReplaceHTTPErrorsSectionAccepted, 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 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) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorsSectionAccepted) Code() int
Code gets the status code for the create Http errors section accepted response
func (*CreateHTTPErrorsSectionAccepted) Error ¶
func (o *CreateHTTPErrorsSectionAccepted) Error() string
func (*CreateHTTPErrorsSectionAccepted) GetPayload ¶
func (o *CreateHTTPErrorsSectionAccepted) GetPayload() *models.HTTPErrorsSection
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 ¶
func (o *CreateHTTPErrorsSectionAccepted) String() 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) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorsSectionBadRequest) Code() int
Code gets the status code for the create Http errors section bad request response
func (*CreateHTTPErrorsSectionBadRequest) Error ¶
func (o *CreateHTTPErrorsSectionBadRequest) Error() string
func (*CreateHTTPErrorsSectionBadRequest) GetPayload ¶
func (o *CreateHTTPErrorsSectionBadRequest) GetPayload() *models.Error
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 ¶
func (o *CreateHTTPErrorsSectionBadRequest) String() 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) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorsSectionConflict) Code() int
Code gets the status code for the create Http errors section conflict response
func (*CreateHTTPErrorsSectionConflict) Error ¶
func (o *CreateHTTPErrorsSectionConflict) Error() string
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 ¶
func (o *CreateHTTPErrorsSectionConflict) String() 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) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorsSectionCreated) Code() int
Code gets the status code for the create Http errors section created response
func (*CreateHTTPErrorsSectionCreated) Error ¶
func (o *CreateHTTPErrorsSectionCreated) Error() string
func (*CreateHTTPErrorsSectionCreated) GetPayload ¶
func (o *CreateHTTPErrorsSectionCreated) GetPayload() *models.HTTPErrorsSection
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 ¶
func (o *CreateHTTPErrorsSectionCreated) String() 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 ¶
func (o *CreateHTTPErrorsSectionDefault) Code() int
Code gets the status code for the create HTTP errors section default response
func (*CreateHTTPErrorsSectionDefault) Error ¶
func (o *CreateHTTPErrorsSectionDefault) Error() string
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 ¶
func (o *CreateHTTPErrorsSectionDefault) String() 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 ¶
func (o *CreateHTTPErrorsSectionParams) SetData(data *models.HTTPErrorsSection)
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 ¶
func (o *CreateHTTPErrorsSectionParams) WithContext(ctx context.Context) *CreateHTTPErrorsSectionParams
WithContext adds the context to the create HTTP errors section params
func (*CreateHTTPErrorsSectionParams) WithData ¶
func (o *CreateHTTPErrorsSectionParams) WithData(data *models.HTTPErrorsSection) *CreateHTTPErrorsSectionParams
WithData adds the data to the create HTTP errors section params
func (*CreateHTTPErrorsSectionParams) WithDefaults ¶
func (o *CreateHTTPErrorsSectionParams) WithDefaults() *CreateHTTPErrorsSectionParams
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 ¶
func (o *CreateHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *CreateHTTPErrorsSectionParams
WithHTTPClient adds the HTTPClient to the create HTTP errors section params
func (*CreateHTTPErrorsSectionParams) WithTimeout ¶
func (o *CreateHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *CreateHTTPErrorsSectionParams
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 ¶
func (o *CreateHTTPErrorsSectionParams) WithVersion(version *int64) *CreateHTTPErrorsSectionParams
WithVersion adds the version to the create HTTP errors section params
func (*CreateHTTPErrorsSectionParams) WriteToRequest ¶
func (o *CreateHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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) Code ¶ added in v1.1.5
func (o *DeleteHTTPErrorsSectionAccepted) Code() int
Code gets the status code for the delete Http errors section accepted response
func (*DeleteHTTPErrorsSectionAccepted) Error ¶
func (o *DeleteHTTPErrorsSectionAccepted) Error() string
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 ¶
func (o *DeleteHTTPErrorsSectionAccepted) String() 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 ¶
func (o *DeleteHTTPErrorsSectionDefault) Code() int
Code gets the status code for the delete HTTP errors section default response
func (*DeleteHTTPErrorsSectionDefault) Error ¶
func (o *DeleteHTTPErrorsSectionDefault) Error() string
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 ¶
func (o *DeleteHTTPErrorsSectionDefault) String() 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) Code ¶ added in v1.1.5
func (o *DeleteHTTPErrorsSectionNoContent) Code() int
Code gets the status code for the delete Http errors section no content response
func (*DeleteHTTPErrorsSectionNoContent) Error ¶
func (o *DeleteHTTPErrorsSectionNoContent) Error() string
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 ¶
func (o *DeleteHTTPErrorsSectionNoContent) String() 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) Code ¶ added in v1.1.5
func (o *DeleteHTTPErrorsSectionNotFound) Code() int
Code gets the status code for the delete Http errors section not found response
func (*DeleteHTTPErrorsSectionNotFound) Error ¶
func (o *DeleteHTTPErrorsSectionNotFound) Error() string
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 ¶
func (o *DeleteHTTPErrorsSectionNotFound) String() 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 ¶
func (o *DeleteHTTPErrorsSectionParams) WithContext(ctx context.Context) *DeleteHTTPErrorsSectionParams
WithContext adds the context to the delete HTTP errors section params
func (*DeleteHTTPErrorsSectionParams) WithDefaults ¶
func (o *DeleteHTTPErrorsSectionParams) WithDefaults() *DeleteHTTPErrorsSectionParams
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 ¶
func (o *DeleteHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *DeleteHTTPErrorsSectionParams
WithHTTPClient adds the HTTPClient to the delete HTTP errors section params
func (*DeleteHTTPErrorsSectionParams) WithName ¶
func (o *DeleteHTTPErrorsSectionParams) WithName(name string) *DeleteHTTPErrorsSectionParams
WithName adds the name to the delete HTTP errors section params
func (*DeleteHTTPErrorsSectionParams) WithTimeout ¶
func (o *DeleteHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *DeleteHTTPErrorsSectionParams
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 ¶
func (o *DeleteHTTPErrorsSectionParams) WithVersion(version *int64) *DeleteHTTPErrorsSectionParams
WithVersion adds the version to the delete HTTP errors section params
func (*DeleteHTTPErrorsSectionParams) WriteToRequest ¶
func (o *DeleteHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetHTTPErrorsSectionDefault) Error() string
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) Code ¶ added in v1.1.5
func (o *GetHTTPErrorsSectionNotFound) Code() int
Code gets the status code for the get Http errors section not found response
func (*GetHTTPErrorsSectionNotFound) Error ¶
func (o *GetHTTPErrorsSectionNotFound) Error() string
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 ¶
func (o *GetHTTPErrorsSectionNotFound) String() 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) Code ¶ added in v1.1.5
func (o *GetHTTPErrorsSectionOK) Code() int
Code gets the status code for the get Http errors section o k response
func (*GetHTTPErrorsSectionOK) Error ¶
func (o *GetHTTPErrorsSectionOK) Error() string
func (*GetHTTPErrorsSectionOK) GetPayload ¶
func (o *GetHTTPErrorsSectionOK) GetPayload() *GetHTTPErrorsSectionOKBody
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
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 ¶
func (o *GetHTTPErrorsSectionParams) WithContext(ctx context.Context) *GetHTTPErrorsSectionParams
WithContext adds the context to the get HTTP errors section params
func (*GetHTTPErrorsSectionParams) WithDefaults ¶
func (o *GetHTTPErrorsSectionParams) WithDefaults() *GetHTTPErrorsSectionParams
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 ¶
func (o *GetHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *GetHTTPErrorsSectionParams
WithHTTPClient adds the HTTPClient to the get HTTP errors section params
func (*GetHTTPErrorsSectionParams) WithName ¶
func (o *GetHTTPErrorsSectionParams) WithName(name string) *GetHTTPErrorsSectionParams
WithName adds the name to the get HTTP errors section params
func (*GetHTTPErrorsSectionParams) WithTimeout ¶
func (o *GetHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *GetHTTPErrorsSectionParams
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 ¶
func (o *GetHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetHTTPErrorsSectionsDefault) Code() int
Code gets the status code for the get HTTP errors sections default response
func (*GetHTTPErrorsSectionsDefault) Error ¶
func (o *GetHTTPErrorsSectionsDefault) Error() string
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 ¶
func (o *GetHTTPErrorsSectionsDefault) String() 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) Code ¶ added in v1.1.5
func (o *GetHTTPErrorsSectionsOK) Code() int
Code gets the status code for the get Http errors sections o k response
func (*GetHTTPErrorsSectionsOK) Error ¶
func (o *GetHTTPErrorsSectionsOK) Error() string
func (*GetHTTPErrorsSectionsOK) GetPayload ¶
func (o *GetHTTPErrorsSectionsOK) GetPayload() *GetHTTPErrorsSectionsOKBody
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
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 ¶
func (o *GetHTTPErrorsSectionsParams) WithContext(ctx context.Context) *GetHTTPErrorsSectionsParams
WithContext adds the context to the get HTTP errors sections params
func (*GetHTTPErrorsSectionsParams) WithDefaults ¶
func (o *GetHTTPErrorsSectionsParams) WithDefaults() *GetHTTPErrorsSectionsParams
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 ¶
func (o *GetHTTPErrorsSectionsParams) WithHTTPClient(client *http.Client) *GetHTTPErrorsSectionsParams
WithHTTPClient adds the HTTPClient to the get HTTP errors sections params
func (*GetHTTPErrorsSectionsParams) WithTimeout ¶
func (o *GetHTTPErrorsSectionsParams) WithTimeout(timeout time.Duration) *GetHTTPErrorsSectionsParams
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 ¶
func (o *GetHTTPErrorsSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorsSectionAccepted) Code() int
Code gets the status code for the replace Http errors section accepted response
func (*ReplaceHTTPErrorsSectionAccepted) Error ¶
func (o *ReplaceHTTPErrorsSectionAccepted) Error() string
func (*ReplaceHTTPErrorsSectionAccepted) GetPayload ¶
func (o *ReplaceHTTPErrorsSectionAccepted) GetPayload() *models.HTTPErrorsSection
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 ¶
func (o *ReplaceHTTPErrorsSectionAccepted) String() 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) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorsSectionBadRequest) Code() int
Code gets the status code for the replace Http errors section bad request response
func (*ReplaceHTTPErrorsSectionBadRequest) Error ¶
func (o *ReplaceHTTPErrorsSectionBadRequest) Error() string
func (*ReplaceHTTPErrorsSectionBadRequest) GetPayload ¶
func (o *ReplaceHTTPErrorsSectionBadRequest) GetPayload() *models.Error
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 ¶
func (o *ReplaceHTTPErrorsSectionBadRequest) IsCode(code int) bool
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 ¶
func (o *ReplaceHTTPErrorsSectionBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Http errors section bad request response has a 2xx status code
func (*ReplaceHTTPErrorsSectionBadRequest) String ¶
func (o *ReplaceHTTPErrorsSectionBadRequest) String() 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 ¶
func (o *ReplaceHTTPErrorsSectionDefault) Code() int
Code gets the status code for the replace HTTP errors section default response
func (*ReplaceHTTPErrorsSectionDefault) Error ¶
func (o *ReplaceHTTPErrorsSectionDefault) Error() string
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 ¶
func (o *ReplaceHTTPErrorsSectionDefault) String() 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) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorsSectionNotFound) Code() int
Code gets the status code for the replace Http errors section not found response
func (*ReplaceHTTPErrorsSectionNotFound) Error ¶
func (o *ReplaceHTTPErrorsSectionNotFound) Error() string
func (*ReplaceHTTPErrorsSectionNotFound) GetPayload ¶
func (o *ReplaceHTTPErrorsSectionNotFound) GetPayload() *models.Error
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 ¶
func (o *ReplaceHTTPErrorsSectionNotFound) String() 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) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorsSectionOK) Code() int
Code gets the status code for the replace Http errors section o k response
func (*ReplaceHTTPErrorsSectionOK) Error ¶
func (o *ReplaceHTTPErrorsSectionOK) Error() string
func (*ReplaceHTTPErrorsSectionOK) GetPayload ¶
func (o *ReplaceHTTPErrorsSectionOK) GetPayload() *models.HTTPErrorsSection
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 ¶
func (o *ReplaceHTTPErrorsSectionParams) SetData(data *models.HTTPErrorsSection)
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 ¶
func (o *ReplaceHTTPErrorsSectionParams) WithContext(ctx context.Context) *ReplaceHTTPErrorsSectionParams
WithContext adds the context to the replace HTTP errors section params
func (*ReplaceHTTPErrorsSectionParams) WithData ¶
func (o *ReplaceHTTPErrorsSectionParams) WithData(data *models.HTTPErrorsSection) *ReplaceHTTPErrorsSectionParams
WithData adds the data to the replace HTTP errors section params
func (*ReplaceHTTPErrorsSectionParams) WithDefaults ¶
func (o *ReplaceHTTPErrorsSectionParams) WithDefaults() *ReplaceHTTPErrorsSectionParams
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 ¶
func (o *ReplaceHTTPErrorsSectionParams) WithHTTPClient(client *http.Client) *ReplaceHTTPErrorsSectionParams
WithHTTPClient adds the HTTPClient to the replace HTTP errors section params
func (*ReplaceHTTPErrorsSectionParams) WithName ¶
func (o *ReplaceHTTPErrorsSectionParams) WithName(name string) *ReplaceHTTPErrorsSectionParams
WithName adds the name to the replace HTTP errors section params
func (*ReplaceHTTPErrorsSectionParams) WithTimeout ¶
func (o *ReplaceHTTPErrorsSectionParams) WithTimeout(timeout time.Duration) *ReplaceHTTPErrorsSectionParams
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 ¶
func (o *ReplaceHTTPErrorsSectionParams) WithVersion(version *int64) *ReplaceHTTPErrorsSectionParams
WithVersion adds the version to the replace HTTP errors section params
func (*ReplaceHTTPErrorsSectionParams) WriteToRequest ¶
func (o *ReplaceHTTPErrorsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_http_errors_section_parameters.go
- create_http_errors_section_responses.go
- delete_http_errors_section_parameters.go
- delete_http_errors_section_responses.go
- get_http_errors_section_parameters.go
- get_http_errors_section_responses.go
- get_http_errors_sections_parameters.go
- get_http_errors_sections_responses.go
- http_errors_client.go
- replace_http_errors_section_parameters.go
- replace_http_errors_section_responses.go