dgram_bind

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for dgram bind API

func (*Client) CreateDgramBind

CreateDgramBind adds a new dgram bind

Adds a new dgram bind in the specified log forward in the configuration file.

func (*Client) DeleteDgramBind

DeleteDgramBind deletes a dgram bind

Deletes a dgram bind configuration by it's name in the specified log forward.

func (*Client) GetDgramBind

func (a *Client) GetDgramBind(params *GetDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDgramBindOK, error)

GetDgramBind returns one dgram bind

Returns one dgram bind configuration by it's name in the specified log forward.

func (*Client) GetDgramBinds

func (a *Client) GetDgramBinds(params *GetDgramBindsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDgramBindsOK, error)

GetDgramBinds returns an array of dgram binds

Returns an array of all dgram binds that are configured in specified log forward.

func (*Client) ReplaceDgramBind

ReplaceDgramBind replaces a dgram bind

Replaces a dgram bind configuration by it's name in the specified log forward.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new dgram bind API client.

type CreateDgramBindAccepted

type CreateDgramBindAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.DgramBind
}

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

Configuration change accepted and reload requested

func NewCreateDgramBindAccepted

func NewCreateDgramBindAccepted() *CreateDgramBindAccepted

NewCreateDgramBindAccepted creates a CreateDgramBindAccepted with default headers values

func (*CreateDgramBindAccepted) Code added in v1.1.5

func (o *CreateDgramBindAccepted) Code() int

Code gets the status code for the create dgram bind accepted response

func (*CreateDgramBindAccepted) Error

func (o *CreateDgramBindAccepted) Error() string

func (*CreateDgramBindAccepted) GetPayload

func (o *CreateDgramBindAccepted) GetPayload() *models.DgramBind

func (*CreateDgramBindAccepted) IsClientError added in v1.1.0

func (o *CreateDgramBindAccepted) IsClientError() bool

IsClientError returns true when this create dgram bind accepted response has a 4xx status code

func (*CreateDgramBindAccepted) IsCode added in v1.1.0

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

IsCode returns true when this create dgram bind accepted response a status code equal to that given

func (*CreateDgramBindAccepted) IsRedirect added in v1.1.0

func (o *CreateDgramBindAccepted) IsRedirect() bool

IsRedirect returns true when this create dgram bind accepted response has a 3xx status code

func (*CreateDgramBindAccepted) IsServerError added in v1.1.0

func (o *CreateDgramBindAccepted) IsServerError() bool

IsServerError returns true when this create dgram bind accepted response has a 5xx status code

func (*CreateDgramBindAccepted) IsSuccess added in v1.1.0

func (o *CreateDgramBindAccepted) IsSuccess() bool

IsSuccess returns true when this create dgram bind accepted response has a 2xx status code

func (*CreateDgramBindAccepted) String added in v1.1.0

func (o *CreateDgramBindAccepted) String() string

type CreateDgramBindBadRequest

type CreateDgramBindBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateDgramBindBadRequest

func NewCreateDgramBindBadRequest() *CreateDgramBindBadRequest

NewCreateDgramBindBadRequest creates a CreateDgramBindBadRequest with default headers values

func (*CreateDgramBindBadRequest) Code added in v1.1.5

func (o *CreateDgramBindBadRequest) Code() int

Code gets the status code for the create dgram bind bad request response

func (*CreateDgramBindBadRequest) Error

func (o *CreateDgramBindBadRequest) Error() string

func (*CreateDgramBindBadRequest) GetPayload

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

func (*CreateDgramBindBadRequest) IsClientError added in v1.1.0

func (o *CreateDgramBindBadRequest) IsClientError() bool

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

func (*CreateDgramBindBadRequest) IsCode added in v1.1.0

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

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

func (*CreateDgramBindBadRequest) IsRedirect added in v1.1.0

func (o *CreateDgramBindBadRequest) IsRedirect() bool

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

func (*CreateDgramBindBadRequest) IsServerError added in v1.1.0

func (o *CreateDgramBindBadRequest) IsServerError() bool

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

func (*CreateDgramBindBadRequest) IsSuccess added in v1.1.0

func (o *CreateDgramBindBadRequest) IsSuccess() bool

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

func (*CreateDgramBindBadRequest) String added in v1.1.0

func (o *CreateDgramBindBadRequest) String() string

type CreateDgramBindConflict

type CreateDgramBindConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateDgramBindConflict

func NewCreateDgramBindConflict() *CreateDgramBindConflict

NewCreateDgramBindConflict creates a CreateDgramBindConflict with default headers values

func (*CreateDgramBindConflict) Code added in v1.1.5

func (o *CreateDgramBindConflict) Code() int

Code gets the status code for the create dgram bind conflict response

func (*CreateDgramBindConflict) Error

func (o *CreateDgramBindConflict) Error() string

func (*CreateDgramBindConflict) GetPayload

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

func (*CreateDgramBindConflict) IsClientError added in v1.1.0

func (o *CreateDgramBindConflict) IsClientError() bool

IsClientError returns true when this create dgram bind conflict response has a 4xx status code

func (*CreateDgramBindConflict) IsCode added in v1.1.0

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

IsCode returns true when this create dgram bind conflict response a status code equal to that given

func (*CreateDgramBindConflict) IsRedirect added in v1.1.0

func (o *CreateDgramBindConflict) IsRedirect() bool

IsRedirect returns true when this create dgram bind conflict response has a 3xx status code

func (*CreateDgramBindConflict) IsServerError added in v1.1.0

func (o *CreateDgramBindConflict) IsServerError() bool

IsServerError returns true when this create dgram bind conflict response has a 5xx status code

func (*CreateDgramBindConflict) IsSuccess added in v1.1.0

func (o *CreateDgramBindConflict) IsSuccess() bool

IsSuccess returns true when this create dgram bind conflict response has a 2xx status code

func (*CreateDgramBindConflict) String added in v1.1.0

func (o *CreateDgramBindConflict) String() string

type CreateDgramBindCreated

type CreateDgramBindCreated struct {
	Payload *models.DgramBind
}

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

Bind created

func NewCreateDgramBindCreated

func NewCreateDgramBindCreated() *CreateDgramBindCreated

NewCreateDgramBindCreated creates a CreateDgramBindCreated with default headers values

func (*CreateDgramBindCreated) Code added in v1.1.5

func (o *CreateDgramBindCreated) Code() int

Code gets the status code for the create dgram bind created response

func (*CreateDgramBindCreated) Error

func (o *CreateDgramBindCreated) Error() string

func (*CreateDgramBindCreated) GetPayload

func (o *CreateDgramBindCreated) GetPayload() *models.DgramBind

func (*CreateDgramBindCreated) IsClientError added in v1.1.0

func (o *CreateDgramBindCreated) IsClientError() bool

IsClientError returns true when this create dgram bind created response has a 4xx status code

func (*CreateDgramBindCreated) IsCode added in v1.1.0

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

IsCode returns true when this create dgram bind created response a status code equal to that given

func (*CreateDgramBindCreated) IsRedirect added in v1.1.0

func (o *CreateDgramBindCreated) IsRedirect() bool

IsRedirect returns true when this create dgram bind created response has a 3xx status code

func (*CreateDgramBindCreated) IsServerError added in v1.1.0

func (o *CreateDgramBindCreated) IsServerError() bool

IsServerError returns true when this create dgram bind created response has a 5xx status code

func (*CreateDgramBindCreated) IsSuccess added in v1.1.0

func (o *CreateDgramBindCreated) IsSuccess() bool

IsSuccess returns true when this create dgram bind created response has a 2xx status code

func (*CreateDgramBindCreated) String added in v1.1.0

func (o *CreateDgramBindCreated) String() string

type CreateDgramBindDefault

type CreateDgramBindDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewCreateDgramBindDefault

func NewCreateDgramBindDefault(code int) *CreateDgramBindDefault

NewCreateDgramBindDefault creates a CreateDgramBindDefault with default headers values

func (*CreateDgramBindDefault) Code

func (o *CreateDgramBindDefault) Code() int

Code gets the status code for the create dgram bind default response

func (*CreateDgramBindDefault) Error

func (o *CreateDgramBindDefault) Error() string

func (*CreateDgramBindDefault) GetPayload

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

func (*CreateDgramBindDefault) IsClientError added in v1.1.0

func (o *CreateDgramBindDefault) IsClientError() bool

IsClientError returns true when this create dgram bind default response has a 4xx status code

func (*CreateDgramBindDefault) IsCode added in v1.1.0

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

IsCode returns true when this create dgram bind default response a status code equal to that given

func (*CreateDgramBindDefault) IsRedirect added in v1.1.0

func (o *CreateDgramBindDefault) IsRedirect() bool

IsRedirect returns true when this create dgram bind default response has a 3xx status code

func (*CreateDgramBindDefault) IsServerError added in v1.1.0

func (o *CreateDgramBindDefault) IsServerError() bool

IsServerError returns true when this create dgram bind default response has a 5xx status code

func (*CreateDgramBindDefault) IsSuccess added in v1.1.0

func (o *CreateDgramBindDefault) IsSuccess() bool

IsSuccess returns true when this create dgram bind default response has a 2xx status code

func (*CreateDgramBindDefault) String added in v1.1.0

func (o *CreateDgramBindDefault) String() string

type CreateDgramBindParams

type CreateDgramBindParams struct {

	// Data.
	Data *models.DgramBind

	/* 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

	/* LogForward.

	   Parent log forward name
	*/
	LogForward 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
}

CreateDgramBindParams contains all the parameters to send to the API endpoint

for the create dgram bind operation.

Typically these are written to a http.Request.

func NewCreateDgramBindParams

func NewCreateDgramBindParams() *CreateDgramBindParams

NewCreateDgramBindParams creates a new CreateDgramBindParams 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 NewCreateDgramBindParamsWithContext

func NewCreateDgramBindParamsWithContext(ctx context.Context) *CreateDgramBindParams

NewCreateDgramBindParamsWithContext creates a new CreateDgramBindParams object with the ability to set a context for a request.

func NewCreateDgramBindParamsWithHTTPClient

func NewCreateDgramBindParamsWithHTTPClient(client *http.Client) *CreateDgramBindParams

NewCreateDgramBindParamsWithHTTPClient creates a new CreateDgramBindParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDgramBindParamsWithTimeout

func NewCreateDgramBindParamsWithTimeout(timeout time.Duration) *CreateDgramBindParams

NewCreateDgramBindParamsWithTimeout creates a new CreateDgramBindParams object with the ability to set a timeout on a request.

func (*CreateDgramBindParams) SetContext

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

SetContext adds the context to the create dgram bind params

func (*CreateDgramBindParams) SetData

func (o *CreateDgramBindParams) SetData(data *models.DgramBind)

SetData adds the data to the create dgram bind params

func (*CreateDgramBindParams) SetDefaults

func (o *CreateDgramBindParams) SetDefaults()

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

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

func (*CreateDgramBindParams) SetForceReload

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

SetForceReload adds the forceReload to the create dgram bind params

func (*CreateDgramBindParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create dgram bind params

func (*CreateDgramBindParams) SetLogForward

func (o *CreateDgramBindParams) SetLogForward(logForward string)

SetLogForward adds the logForward to the create dgram bind params

func (*CreateDgramBindParams) SetTimeout

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

SetTimeout adds the timeout to the create dgram bind params

func (*CreateDgramBindParams) SetTransactionID

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

SetTransactionID adds the transactionId to the create dgram bind params

func (*CreateDgramBindParams) SetVersion

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

SetVersion adds the version to the create dgram bind params

func (*CreateDgramBindParams) WithContext

WithContext adds the context to the create dgram bind params

func (*CreateDgramBindParams) WithData

WithData adds the data to the create dgram bind params

func (*CreateDgramBindParams) WithDefaults

func (o *CreateDgramBindParams) WithDefaults() *CreateDgramBindParams

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

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

func (*CreateDgramBindParams) WithForceReload

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

WithForceReload adds the forceReload to the create dgram bind params

func (*CreateDgramBindParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create dgram bind params

func (*CreateDgramBindParams) WithLogForward

func (o *CreateDgramBindParams) WithLogForward(logForward string) *CreateDgramBindParams

WithLogForward adds the logForward to the create dgram bind params

func (*CreateDgramBindParams) WithTimeout

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

WithTimeout adds the timeout to the create dgram bind params

func (*CreateDgramBindParams) WithTransactionID

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

WithTransactionID adds the transactionID to the create dgram bind params

func (*CreateDgramBindParams) WithVersion

func (o *CreateDgramBindParams) WithVersion(version *int64) *CreateDgramBindParams

WithVersion adds the version to the create dgram bind params

func (*CreateDgramBindParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDgramBindReader

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

CreateDgramBindReader is a Reader for the CreateDgramBind structure.

func (*CreateDgramBindReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDgramBindAccepted

type DeleteDgramBindAccepted struct {

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

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

Configuration change accepted and reload requested

func NewDeleteDgramBindAccepted

func NewDeleteDgramBindAccepted() *DeleteDgramBindAccepted

NewDeleteDgramBindAccepted creates a DeleteDgramBindAccepted with default headers values

func (*DeleteDgramBindAccepted) Code added in v1.1.5

func (o *DeleteDgramBindAccepted) Code() int

Code gets the status code for the delete dgram bind accepted response

func (*DeleteDgramBindAccepted) Error

func (o *DeleteDgramBindAccepted) Error() string

func (*DeleteDgramBindAccepted) IsClientError added in v1.1.0

func (o *DeleteDgramBindAccepted) IsClientError() bool

IsClientError returns true when this delete dgram bind accepted response has a 4xx status code

func (*DeleteDgramBindAccepted) IsCode added in v1.1.0

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

IsCode returns true when this delete dgram bind accepted response a status code equal to that given

func (*DeleteDgramBindAccepted) IsRedirect added in v1.1.0

func (o *DeleteDgramBindAccepted) IsRedirect() bool

IsRedirect returns true when this delete dgram bind accepted response has a 3xx status code

func (*DeleteDgramBindAccepted) IsServerError added in v1.1.0

func (o *DeleteDgramBindAccepted) IsServerError() bool

IsServerError returns true when this delete dgram bind accepted response has a 5xx status code

func (*DeleteDgramBindAccepted) IsSuccess added in v1.1.0

func (o *DeleteDgramBindAccepted) IsSuccess() bool

IsSuccess returns true when this delete dgram bind accepted response has a 2xx status code

func (*DeleteDgramBindAccepted) String added in v1.1.0

func (o *DeleteDgramBindAccepted) String() string

type DeleteDgramBindDefault

type DeleteDgramBindDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewDeleteDgramBindDefault

func NewDeleteDgramBindDefault(code int) *DeleteDgramBindDefault

NewDeleteDgramBindDefault creates a DeleteDgramBindDefault with default headers values

func (*DeleteDgramBindDefault) Code

func (o *DeleteDgramBindDefault) Code() int

Code gets the status code for the delete dgram bind default response

func (*DeleteDgramBindDefault) Error

func (o *DeleteDgramBindDefault) Error() string

func (*DeleteDgramBindDefault) GetPayload

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

func (*DeleteDgramBindDefault) IsClientError added in v1.1.0

func (o *DeleteDgramBindDefault) IsClientError() bool

IsClientError returns true when this delete dgram bind default response has a 4xx status code

func (*DeleteDgramBindDefault) IsCode added in v1.1.0

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

IsCode returns true when this delete dgram bind default response a status code equal to that given

func (*DeleteDgramBindDefault) IsRedirect added in v1.1.0

func (o *DeleteDgramBindDefault) IsRedirect() bool

IsRedirect returns true when this delete dgram bind default response has a 3xx status code

func (*DeleteDgramBindDefault) IsServerError added in v1.1.0

func (o *DeleteDgramBindDefault) IsServerError() bool

IsServerError returns true when this delete dgram bind default response has a 5xx status code

func (*DeleteDgramBindDefault) IsSuccess added in v1.1.0

func (o *DeleteDgramBindDefault) IsSuccess() bool

IsSuccess returns true when this delete dgram bind default response has a 2xx status code

func (*DeleteDgramBindDefault) String added in v1.1.0

func (o *DeleteDgramBindDefault) String() string

type DeleteDgramBindNoContent

type DeleteDgramBindNoContent struct {
}

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

Bind deleted

func NewDeleteDgramBindNoContent

func NewDeleteDgramBindNoContent() *DeleteDgramBindNoContent

NewDeleteDgramBindNoContent creates a DeleteDgramBindNoContent with default headers values

func (*DeleteDgramBindNoContent) Code added in v1.1.5

func (o *DeleteDgramBindNoContent) Code() int

Code gets the status code for the delete dgram bind no content response

func (*DeleteDgramBindNoContent) Error

func (o *DeleteDgramBindNoContent) Error() string

func (*DeleteDgramBindNoContent) IsClientError added in v1.1.0

func (o *DeleteDgramBindNoContent) IsClientError() bool

IsClientError returns true when this delete dgram bind no content response has a 4xx status code

func (*DeleteDgramBindNoContent) IsCode added in v1.1.0

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

IsCode returns true when this delete dgram bind no content response a status code equal to that given

func (*DeleteDgramBindNoContent) IsRedirect added in v1.1.0

func (o *DeleteDgramBindNoContent) IsRedirect() bool

IsRedirect returns true when this delete dgram bind no content response has a 3xx status code

func (*DeleteDgramBindNoContent) IsServerError added in v1.1.0

func (o *DeleteDgramBindNoContent) IsServerError() bool

IsServerError returns true when this delete dgram bind no content response has a 5xx status code

func (*DeleteDgramBindNoContent) IsSuccess added in v1.1.0

func (o *DeleteDgramBindNoContent) IsSuccess() bool

IsSuccess returns true when this delete dgram bind no content response has a 2xx status code

func (*DeleteDgramBindNoContent) String added in v1.1.0

func (o *DeleteDgramBindNoContent) String() string

type DeleteDgramBindNotFound

type DeleteDgramBindNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteDgramBindNotFound

func NewDeleteDgramBindNotFound() *DeleteDgramBindNotFound

NewDeleteDgramBindNotFound creates a DeleteDgramBindNotFound with default headers values

func (*DeleteDgramBindNotFound) Code added in v1.1.5

func (o *DeleteDgramBindNotFound) Code() int

Code gets the status code for the delete dgram bind not found response

func (*DeleteDgramBindNotFound) Error

func (o *DeleteDgramBindNotFound) Error() string

func (*DeleteDgramBindNotFound) GetPayload

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

func (*DeleteDgramBindNotFound) IsClientError added in v1.1.0

func (o *DeleteDgramBindNotFound) IsClientError() bool

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

func (*DeleteDgramBindNotFound) IsCode added in v1.1.0

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

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

func (*DeleteDgramBindNotFound) IsRedirect added in v1.1.0

func (o *DeleteDgramBindNotFound) IsRedirect() bool

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

func (*DeleteDgramBindNotFound) IsServerError added in v1.1.0

func (o *DeleteDgramBindNotFound) IsServerError() bool

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

func (*DeleteDgramBindNotFound) IsSuccess added in v1.1.0

func (o *DeleteDgramBindNotFound) IsSuccess() bool

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

func (*DeleteDgramBindNotFound) String added in v1.1.0

func (o *DeleteDgramBindNotFound) String() string

type DeleteDgramBindParams

type DeleteDgramBindParams 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

	/* LogForward.

	   Parent log forward name
	*/
	LogForward string

	/* Name.

	   Bind 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
}

DeleteDgramBindParams contains all the parameters to send to the API endpoint

for the delete dgram bind operation.

Typically these are written to a http.Request.

func NewDeleteDgramBindParams

func NewDeleteDgramBindParams() *DeleteDgramBindParams

NewDeleteDgramBindParams creates a new DeleteDgramBindParams 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 NewDeleteDgramBindParamsWithContext

func NewDeleteDgramBindParamsWithContext(ctx context.Context) *DeleteDgramBindParams

NewDeleteDgramBindParamsWithContext creates a new DeleteDgramBindParams object with the ability to set a context for a request.

func NewDeleteDgramBindParamsWithHTTPClient

func NewDeleteDgramBindParamsWithHTTPClient(client *http.Client) *DeleteDgramBindParams

NewDeleteDgramBindParamsWithHTTPClient creates a new DeleteDgramBindParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDgramBindParamsWithTimeout

func NewDeleteDgramBindParamsWithTimeout(timeout time.Duration) *DeleteDgramBindParams

NewDeleteDgramBindParamsWithTimeout creates a new DeleteDgramBindParams object with the ability to set a timeout on a request.

func (*DeleteDgramBindParams) SetContext

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

SetContext adds the context to the delete dgram bind params

func (*DeleteDgramBindParams) SetDefaults

func (o *DeleteDgramBindParams) SetDefaults()

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

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

func (*DeleteDgramBindParams) SetForceReload

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

SetForceReload adds the forceReload to the delete dgram bind params

func (*DeleteDgramBindParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dgram bind params

func (*DeleteDgramBindParams) SetLogForward

func (o *DeleteDgramBindParams) SetLogForward(logForward string)

SetLogForward adds the logForward to the delete dgram bind params

func (*DeleteDgramBindParams) SetName

func (o *DeleteDgramBindParams) SetName(name string)

SetName adds the name to the delete dgram bind params

func (*DeleteDgramBindParams) SetTimeout

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

SetTimeout adds the timeout to the delete dgram bind params

func (*DeleteDgramBindParams) SetTransactionID

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

SetTransactionID adds the transactionId to the delete dgram bind params

func (*DeleteDgramBindParams) SetVersion

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

SetVersion adds the version to the delete dgram bind params

func (*DeleteDgramBindParams) WithContext

WithContext adds the context to the delete dgram bind params

func (*DeleteDgramBindParams) WithDefaults

func (o *DeleteDgramBindParams) WithDefaults() *DeleteDgramBindParams

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

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

func (*DeleteDgramBindParams) WithForceReload

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

WithForceReload adds the forceReload to the delete dgram bind params

func (*DeleteDgramBindParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete dgram bind params

func (*DeleteDgramBindParams) WithLogForward

func (o *DeleteDgramBindParams) WithLogForward(logForward string) *DeleteDgramBindParams

WithLogForward adds the logForward to the delete dgram bind params

func (*DeleteDgramBindParams) WithName

WithName adds the name to the delete dgram bind params

func (*DeleteDgramBindParams) WithTimeout

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

WithTimeout adds the timeout to the delete dgram bind params

func (*DeleteDgramBindParams) WithTransactionID

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

WithTransactionID adds the transactionID to the delete dgram bind params

func (*DeleteDgramBindParams) WithVersion

func (o *DeleteDgramBindParams) WithVersion(version *int64) *DeleteDgramBindParams

WithVersion adds the version to the delete dgram bind params

func (*DeleteDgramBindParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDgramBindReader

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

DeleteDgramBindReader is a Reader for the DeleteDgramBind structure.

func (*DeleteDgramBindReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDgramBindDefault

type GetDgramBindDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetDgramBindDefault

func NewGetDgramBindDefault(code int) *GetDgramBindDefault

NewGetDgramBindDefault creates a GetDgramBindDefault with default headers values

func (*GetDgramBindDefault) Code

func (o *GetDgramBindDefault) Code() int

Code gets the status code for the get dgram bind default response

func (*GetDgramBindDefault) Error

func (o *GetDgramBindDefault) Error() string

func (*GetDgramBindDefault) GetPayload

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

func (*GetDgramBindDefault) IsClientError added in v1.1.0

func (o *GetDgramBindDefault) IsClientError() bool

IsClientError returns true when this get dgram bind default response has a 4xx status code

func (*GetDgramBindDefault) IsCode added in v1.1.0

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

IsCode returns true when this get dgram bind default response a status code equal to that given

func (*GetDgramBindDefault) IsRedirect added in v1.1.0

func (o *GetDgramBindDefault) IsRedirect() bool

IsRedirect returns true when this get dgram bind default response has a 3xx status code

func (*GetDgramBindDefault) IsServerError added in v1.1.0

func (o *GetDgramBindDefault) IsServerError() bool

IsServerError returns true when this get dgram bind default response has a 5xx status code

func (*GetDgramBindDefault) IsSuccess added in v1.1.0

func (o *GetDgramBindDefault) IsSuccess() bool

IsSuccess returns true when this get dgram bind default response has a 2xx status code

func (*GetDgramBindDefault) String added in v1.1.0

func (o *GetDgramBindDefault) String() string

type GetDgramBindNotFound

type GetDgramBindNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewGetDgramBindNotFound

func NewGetDgramBindNotFound() *GetDgramBindNotFound

NewGetDgramBindNotFound creates a GetDgramBindNotFound with default headers values

func (*GetDgramBindNotFound) Code added in v1.1.5

func (o *GetDgramBindNotFound) Code() int

Code gets the status code for the get dgram bind not found response

func (*GetDgramBindNotFound) Error

func (o *GetDgramBindNotFound) Error() string

func (*GetDgramBindNotFound) GetPayload

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

func (*GetDgramBindNotFound) IsClientError added in v1.1.0

func (o *GetDgramBindNotFound) IsClientError() bool

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

func (*GetDgramBindNotFound) IsCode added in v1.1.0

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

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

func (*GetDgramBindNotFound) IsRedirect added in v1.1.0

func (o *GetDgramBindNotFound) IsRedirect() bool

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

func (*GetDgramBindNotFound) IsServerError added in v1.1.0

func (o *GetDgramBindNotFound) IsServerError() bool

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

func (*GetDgramBindNotFound) IsSuccess added in v1.1.0

func (o *GetDgramBindNotFound) IsSuccess() bool

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

func (*GetDgramBindNotFound) String added in v1.1.0

func (o *GetDgramBindNotFound) String() string

type GetDgramBindOK

type GetDgramBindOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetDgramBindOKBody
}

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

Successful operation

func NewGetDgramBindOK

func NewGetDgramBindOK() *GetDgramBindOK

NewGetDgramBindOK creates a GetDgramBindOK with default headers values

func (*GetDgramBindOK) Code added in v1.1.5

func (o *GetDgramBindOK) Code() int

Code gets the status code for the get dgram bind o k response

func (*GetDgramBindOK) Error

func (o *GetDgramBindOK) Error() string

func (*GetDgramBindOK) GetPayload

func (o *GetDgramBindOK) GetPayload() *GetDgramBindOKBody

func (*GetDgramBindOK) IsClientError added in v1.1.0

func (o *GetDgramBindOK) IsClientError() bool

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

func (*GetDgramBindOK) IsCode added in v1.1.0

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

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

func (*GetDgramBindOK) IsRedirect added in v1.1.0

func (o *GetDgramBindOK) IsRedirect() bool

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

func (*GetDgramBindOK) IsServerError added in v1.1.0

func (o *GetDgramBindOK) IsServerError() bool

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

func (*GetDgramBindOK) IsSuccess added in v1.1.0

func (o *GetDgramBindOK) IsSuccess() bool

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

func (*GetDgramBindOK) String added in v1.1.0

func (o *GetDgramBindOK) String() string

type GetDgramBindOKBody

type GetDgramBindOKBody struct {

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

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

GetDgramBindOKBody get dgram bind o k body swagger:model GetDgramBindOKBody

func (*GetDgramBindOKBody) ContextValidate

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

ContextValidate validate this get dgram bind o k body based on the context it is used

func (*GetDgramBindOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetDgramBindOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetDgramBindOKBody) Validate

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

Validate validates this get dgram bind o k body

type GetDgramBindParams

type GetDgramBindParams struct {

	/* LogForward.

	   Parent log forward name
	*/
	LogForward string

	/* Name.

	   Bind 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
}

GetDgramBindParams contains all the parameters to send to the API endpoint

for the get dgram bind operation.

Typically these are written to a http.Request.

func NewGetDgramBindParams

func NewGetDgramBindParams() *GetDgramBindParams

NewGetDgramBindParams creates a new GetDgramBindParams 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 NewGetDgramBindParamsWithContext

func NewGetDgramBindParamsWithContext(ctx context.Context) *GetDgramBindParams

NewGetDgramBindParamsWithContext creates a new GetDgramBindParams object with the ability to set a context for a request.

func NewGetDgramBindParamsWithHTTPClient

func NewGetDgramBindParamsWithHTTPClient(client *http.Client) *GetDgramBindParams

NewGetDgramBindParamsWithHTTPClient creates a new GetDgramBindParams object with the ability to set a custom HTTPClient for a request.

func NewGetDgramBindParamsWithTimeout

func NewGetDgramBindParamsWithTimeout(timeout time.Duration) *GetDgramBindParams

NewGetDgramBindParamsWithTimeout creates a new GetDgramBindParams object with the ability to set a timeout on a request.

func (*GetDgramBindParams) SetContext

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

SetContext adds the context to the get dgram bind params

func (*GetDgramBindParams) SetDefaults

func (o *GetDgramBindParams) SetDefaults()

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

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

func (*GetDgramBindParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dgram bind params

func (*GetDgramBindParams) SetLogForward

func (o *GetDgramBindParams) SetLogForward(logForward string)

SetLogForward adds the logForward to the get dgram bind params

func (*GetDgramBindParams) SetName

func (o *GetDgramBindParams) SetName(name string)

SetName adds the name to the get dgram bind params

func (*GetDgramBindParams) SetTimeout

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

SetTimeout adds the timeout to the get dgram bind params

func (*GetDgramBindParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get dgram bind params

func (*GetDgramBindParams) WithContext

WithContext adds the context to the get dgram bind params

func (*GetDgramBindParams) WithDefaults

func (o *GetDgramBindParams) WithDefaults() *GetDgramBindParams

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

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

func (*GetDgramBindParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get dgram bind params

func (*GetDgramBindParams) WithLogForward

func (o *GetDgramBindParams) WithLogForward(logForward string) *GetDgramBindParams

WithLogForward adds the logForward to the get dgram bind params

func (*GetDgramBindParams) WithName

func (o *GetDgramBindParams) WithName(name string) *GetDgramBindParams

WithName adds the name to the get dgram bind params

func (*GetDgramBindParams) WithTimeout

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

WithTimeout adds the timeout to the get dgram bind params

func (*GetDgramBindParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get dgram bind params

func (*GetDgramBindParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDgramBindReader

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

GetDgramBindReader is a Reader for the GetDgramBind structure.

func (*GetDgramBindReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDgramBindsDefault

type GetDgramBindsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetDgramBindsDefault

func NewGetDgramBindsDefault(code int) *GetDgramBindsDefault

NewGetDgramBindsDefault creates a GetDgramBindsDefault with default headers values

func (*GetDgramBindsDefault) Code

func (o *GetDgramBindsDefault) Code() int

Code gets the status code for the get dgram binds default response

func (*GetDgramBindsDefault) Error

func (o *GetDgramBindsDefault) Error() string

func (*GetDgramBindsDefault) GetPayload

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

func (*GetDgramBindsDefault) IsClientError added in v1.1.0

func (o *GetDgramBindsDefault) IsClientError() bool

IsClientError returns true when this get dgram binds default response has a 4xx status code

func (*GetDgramBindsDefault) IsCode added in v1.1.0

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

IsCode returns true when this get dgram binds default response a status code equal to that given

func (*GetDgramBindsDefault) IsRedirect added in v1.1.0

func (o *GetDgramBindsDefault) IsRedirect() bool

IsRedirect returns true when this get dgram binds default response has a 3xx status code

func (*GetDgramBindsDefault) IsServerError added in v1.1.0

func (o *GetDgramBindsDefault) IsServerError() bool

IsServerError returns true when this get dgram binds default response has a 5xx status code

func (*GetDgramBindsDefault) IsSuccess added in v1.1.0

func (o *GetDgramBindsDefault) IsSuccess() bool

IsSuccess returns true when this get dgram binds default response has a 2xx status code

func (*GetDgramBindsDefault) String added in v1.1.0

func (o *GetDgramBindsDefault) String() string

type GetDgramBindsOK

type GetDgramBindsOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetDgramBindsOKBody
}

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

Successful operation

func NewGetDgramBindsOK

func NewGetDgramBindsOK() *GetDgramBindsOK

NewGetDgramBindsOK creates a GetDgramBindsOK with default headers values

func (*GetDgramBindsOK) Code added in v1.1.5

func (o *GetDgramBindsOK) Code() int

Code gets the status code for the get dgram binds o k response

func (*GetDgramBindsOK) Error

func (o *GetDgramBindsOK) Error() string

func (*GetDgramBindsOK) GetPayload

func (o *GetDgramBindsOK) GetPayload() *GetDgramBindsOKBody

func (*GetDgramBindsOK) IsClientError added in v1.1.0

func (o *GetDgramBindsOK) IsClientError() bool

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

func (*GetDgramBindsOK) IsCode added in v1.1.0

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

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

func (*GetDgramBindsOK) IsRedirect added in v1.1.0

func (o *GetDgramBindsOK) IsRedirect() bool

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

func (*GetDgramBindsOK) IsServerError added in v1.1.0

func (o *GetDgramBindsOK) IsServerError() bool

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

func (*GetDgramBindsOK) IsSuccess added in v1.1.0

func (o *GetDgramBindsOK) IsSuccess() bool

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

func (*GetDgramBindsOK) String added in v1.1.0

func (o *GetDgramBindsOK) String() string

type GetDgramBindsOKBody

type GetDgramBindsOKBody struct {

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

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

GetDgramBindsOKBody get dgram binds o k body swagger:model GetDgramBindsOKBody

func (*GetDgramBindsOKBody) ContextValidate

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

ContextValidate validate this get dgram binds o k body based on the context it is used

func (*GetDgramBindsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetDgramBindsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetDgramBindsOKBody) Validate

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

Validate validates this get dgram binds o k body

type GetDgramBindsParams

type GetDgramBindsParams struct {

	/* LogForward.

	   Parent log forward name
	*/
	LogForward 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
}

GetDgramBindsParams contains all the parameters to send to the API endpoint

for the get dgram binds operation.

Typically these are written to a http.Request.

func NewGetDgramBindsParams

func NewGetDgramBindsParams() *GetDgramBindsParams

NewGetDgramBindsParams creates a new GetDgramBindsParams 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 NewGetDgramBindsParamsWithContext

func NewGetDgramBindsParamsWithContext(ctx context.Context) *GetDgramBindsParams

NewGetDgramBindsParamsWithContext creates a new GetDgramBindsParams object with the ability to set a context for a request.

func NewGetDgramBindsParamsWithHTTPClient

func NewGetDgramBindsParamsWithHTTPClient(client *http.Client) *GetDgramBindsParams

NewGetDgramBindsParamsWithHTTPClient creates a new GetDgramBindsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDgramBindsParamsWithTimeout

func NewGetDgramBindsParamsWithTimeout(timeout time.Duration) *GetDgramBindsParams

NewGetDgramBindsParamsWithTimeout creates a new GetDgramBindsParams object with the ability to set a timeout on a request.

func (*GetDgramBindsParams) SetContext

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

SetContext adds the context to the get dgram binds params

func (*GetDgramBindsParams) SetDefaults

func (o *GetDgramBindsParams) SetDefaults()

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

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

func (*GetDgramBindsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dgram binds params

func (*GetDgramBindsParams) SetLogForward

func (o *GetDgramBindsParams) SetLogForward(logForward string)

SetLogForward adds the logForward to the get dgram binds params

func (*GetDgramBindsParams) SetTimeout

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

SetTimeout adds the timeout to the get dgram binds params

func (*GetDgramBindsParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get dgram binds params

func (*GetDgramBindsParams) WithContext

WithContext adds the context to the get dgram binds params

func (*GetDgramBindsParams) WithDefaults

func (o *GetDgramBindsParams) WithDefaults() *GetDgramBindsParams

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

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

func (*GetDgramBindsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get dgram binds params

func (*GetDgramBindsParams) WithLogForward

func (o *GetDgramBindsParams) WithLogForward(logForward string) *GetDgramBindsParams

WithLogForward adds the logForward to the get dgram binds params

func (*GetDgramBindsParams) WithTimeout

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

WithTimeout adds the timeout to the get dgram binds params

func (*GetDgramBindsParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get dgram binds params

func (*GetDgramBindsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDgramBindsReader

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

GetDgramBindsReader is a Reader for the GetDgramBinds structure.

func (*GetDgramBindsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceDgramBindAccepted

type ReplaceDgramBindAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.DgramBind
}

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

Configuration change accepted and reload requested

func NewReplaceDgramBindAccepted

func NewReplaceDgramBindAccepted() *ReplaceDgramBindAccepted

NewReplaceDgramBindAccepted creates a ReplaceDgramBindAccepted with default headers values

func (*ReplaceDgramBindAccepted) Code added in v1.1.5

func (o *ReplaceDgramBindAccepted) Code() int

Code gets the status code for the replace dgram bind accepted response

func (*ReplaceDgramBindAccepted) Error

func (o *ReplaceDgramBindAccepted) Error() string

func (*ReplaceDgramBindAccepted) GetPayload

func (o *ReplaceDgramBindAccepted) GetPayload() *models.DgramBind

func (*ReplaceDgramBindAccepted) IsClientError added in v1.1.0

func (o *ReplaceDgramBindAccepted) IsClientError() bool

IsClientError returns true when this replace dgram bind accepted response has a 4xx status code

func (*ReplaceDgramBindAccepted) IsCode added in v1.1.0

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

IsCode returns true when this replace dgram bind accepted response a status code equal to that given

func (*ReplaceDgramBindAccepted) IsRedirect added in v1.1.0

func (o *ReplaceDgramBindAccepted) IsRedirect() bool

IsRedirect returns true when this replace dgram bind accepted response has a 3xx status code

func (*ReplaceDgramBindAccepted) IsServerError added in v1.1.0

func (o *ReplaceDgramBindAccepted) IsServerError() bool

IsServerError returns true when this replace dgram bind accepted response has a 5xx status code

func (*ReplaceDgramBindAccepted) IsSuccess added in v1.1.0

func (o *ReplaceDgramBindAccepted) IsSuccess() bool

IsSuccess returns true when this replace dgram bind accepted response has a 2xx status code

func (*ReplaceDgramBindAccepted) String added in v1.1.0

func (o *ReplaceDgramBindAccepted) String() string

type ReplaceDgramBindBadRequest

type ReplaceDgramBindBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceDgramBindBadRequest

func NewReplaceDgramBindBadRequest() *ReplaceDgramBindBadRequest

NewReplaceDgramBindBadRequest creates a ReplaceDgramBindBadRequest with default headers values

func (*ReplaceDgramBindBadRequest) Code added in v1.1.5

func (o *ReplaceDgramBindBadRequest) Code() int

Code gets the status code for the replace dgram bind bad request response

func (*ReplaceDgramBindBadRequest) Error

func (*ReplaceDgramBindBadRequest) GetPayload

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

func (*ReplaceDgramBindBadRequest) IsClientError added in v1.1.0

func (o *ReplaceDgramBindBadRequest) IsClientError() bool

IsClientError returns true when this replace dgram bind bad request response has a 4xx status code

func (*ReplaceDgramBindBadRequest) IsCode added in v1.1.0

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

IsCode returns true when this replace dgram bind bad request response a status code equal to that given

func (*ReplaceDgramBindBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceDgramBindBadRequest) IsRedirect() bool

IsRedirect returns true when this replace dgram bind bad request response has a 3xx status code

func (*ReplaceDgramBindBadRequest) IsServerError added in v1.1.0

func (o *ReplaceDgramBindBadRequest) IsServerError() bool

IsServerError returns true when this replace dgram bind bad request response has a 5xx status code

func (*ReplaceDgramBindBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceDgramBindBadRequest) IsSuccess() bool

IsSuccess returns true when this replace dgram bind bad request response has a 2xx status code

func (*ReplaceDgramBindBadRequest) String added in v1.1.0

func (o *ReplaceDgramBindBadRequest) String() string

type ReplaceDgramBindDefault

type ReplaceDgramBindDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewReplaceDgramBindDefault

func NewReplaceDgramBindDefault(code int) *ReplaceDgramBindDefault

NewReplaceDgramBindDefault creates a ReplaceDgramBindDefault with default headers values

func (*ReplaceDgramBindDefault) Code

func (o *ReplaceDgramBindDefault) Code() int

Code gets the status code for the replace dgram bind default response

func (*ReplaceDgramBindDefault) Error

func (o *ReplaceDgramBindDefault) Error() string

func (*ReplaceDgramBindDefault) GetPayload

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

func (*ReplaceDgramBindDefault) IsClientError added in v1.1.0

func (o *ReplaceDgramBindDefault) IsClientError() bool

IsClientError returns true when this replace dgram bind default response has a 4xx status code

func (*ReplaceDgramBindDefault) IsCode added in v1.1.0

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

IsCode returns true when this replace dgram bind default response a status code equal to that given

func (*ReplaceDgramBindDefault) IsRedirect added in v1.1.0

func (o *ReplaceDgramBindDefault) IsRedirect() bool

IsRedirect returns true when this replace dgram bind default response has a 3xx status code

func (*ReplaceDgramBindDefault) IsServerError added in v1.1.0

func (o *ReplaceDgramBindDefault) IsServerError() bool

IsServerError returns true when this replace dgram bind default response has a 5xx status code

func (*ReplaceDgramBindDefault) IsSuccess added in v1.1.0

func (o *ReplaceDgramBindDefault) IsSuccess() bool

IsSuccess returns true when this replace dgram bind default response has a 2xx status code

func (*ReplaceDgramBindDefault) String added in v1.1.0

func (o *ReplaceDgramBindDefault) String() string

type ReplaceDgramBindNotFound

type ReplaceDgramBindNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceDgramBindNotFound

func NewReplaceDgramBindNotFound() *ReplaceDgramBindNotFound

NewReplaceDgramBindNotFound creates a ReplaceDgramBindNotFound with default headers values

func (*ReplaceDgramBindNotFound) Code added in v1.1.5

func (o *ReplaceDgramBindNotFound) Code() int

Code gets the status code for the replace dgram bind not found response

func (*ReplaceDgramBindNotFound) Error

func (o *ReplaceDgramBindNotFound) Error() string

func (*ReplaceDgramBindNotFound) GetPayload

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

func (*ReplaceDgramBindNotFound) IsClientError added in v1.1.0

func (o *ReplaceDgramBindNotFound) IsClientError() bool

IsClientError returns true when this replace dgram bind not found response has a 4xx status code

func (*ReplaceDgramBindNotFound) IsCode added in v1.1.0

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

IsCode returns true when this replace dgram bind not found response a status code equal to that given

func (*ReplaceDgramBindNotFound) IsRedirect added in v1.1.0

func (o *ReplaceDgramBindNotFound) IsRedirect() bool

IsRedirect returns true when this replace dgram bind not found response has a 3xx status code

func (*ReplaceDgramBindNotFound) IsServerError added in v1.1.0

func (o *ReplaceDgramBindNotFound) IsServerError() bool

IsServerError returns true when this replace dgram bind not found response has a 5xx status code

func (*ReplaceDgramBindNotFound) IsSuccess added in v1.1.0

func (o *ReplaceDgramBindNotFound) IsSuccess() bool

IsSuccess returns true when this replace dgram bind not found response has a 2xx status code

func (*ReplaceDgramBindNotFound) String added in v1.1.0

func (o *ReplaceDgramBindNotFound) String() string

type ReplaceDgramBindOK

type ReplaceDgramBindOK struct {
	Payload *models.DgramBind
}

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

Bind replaced

func NewReplaceDgramBindOK

func NewReplaceDgramBindOK() *ReplaceDgramBindOK

NewReplaceDgramBindOK creates a ReplaceDgramBindOK with default headers values

func (*ReplaceDgramBindOK) Code added in v1.1.5

func (o *ReplaceDgramBindOK) Code() int

Code gets the status code for the replace dgram bind o k response

func (*ReplaceDgramBindOK) Error

func (o *ReplaceDgramBindOK) Error() string

func (*ReplaceDgramBindOK) GetPayload

func (o *ReplaceDgramBindOK) GetPayload() *models.DgramBind

func (*ReplaceDgramBindOK) IsClientError added in v1.1.0

func (o *ReplaceDgramBindOK) IsClientError() bool

IsClientError returns true when this replace dgram bind o k response has a 4xx status code

func (*ReplaceDgramBindOK) IsCode added in v1.1.0

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

IsCode returns true when this replace dgram bind o k response a status code equal to that given

func (*ReplaceDgramBindOK) IsRedirect added in v1.1.0

func (o *ReplaceDgramBindOK) IsRedirect() bool

IsRedirect returns true when this replace dgram bind o k response has a 3xx status code

func (*ReplaceDgramBindOK) IsServerError added in v1.1.0

func (o *ReplaceDgramBindOK) IsServerError() bool

IsServerError returns true when this replace dgram bind o k response has a 5xx status code

func (*ReplaceDgramBindOK) IsSuccess added in v1.1.0

func (o *ReplaceDgramBindOK) IsSuccess() bool

IsSuccess returns true when this replace dgram bind o k response has a 2xx status code

func (*ReplaceDgramBindOK) String added in v1.1.0

func (o *ReplaceDgramBindOK) String() string

type ReplaceDgramBindParams

type ReplaceDgramBindParams struct {

	// Data.
	Data *models.DgramBind

	/* 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

	/* LogForward.

	   Parent log forward name
	*/
	LogForward string

	/* Name.

	   Bind 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
}

ReplaceDgramBindParams contains all the parameters to send to the API endpoint

for the replace dgram bind operation.

Typically these are written to a http.Request.

func NewReplaceDgramBindParams

func NewReplaceDgramBindParams() *ReplaceDgramBindParams

NewReplaceDgramBindParams creates a new ReplaceDgramBindParams 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 NewReplaceDgramBindParamsWithContext

func NewReplaceDgramBindParamsWithContext(ctx context.Context) *ReplaceDgramBindParams

NewReplaceDgramBindParamsWithContext creates a new ReplaceDgramBindParams object with the ability to set a context for a request.

func NewReplaceDgramBindParamsWithHTTPClient

func NewReplaceDgramBindParamsWithHTTPClient(client *http.Client) *ReplaceDgramBindParams

NewReplaceDgramBindParamsWithHTTPClient creates a new ReplaceDgramBindParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceDgramBindParamsWithTimeout

func NewReplaceDgramBindParamsWithTimeout(timeout time.Duration) *ReplaceDgramBindParams

NewReplaceDgramBindParamsWithTimeout creates a new ReplaceDgramBindParams object with the ability to set a timeout on a request.

func (*ReplaceDgramBindParams) SetContext

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

SetContext adds the context to the replace dgram bind params

func (*ReplaceDgramBindParams) SetData

func (o *ReplaceDgramBindParams) SetData(data *models.DgramBind)

SetData adds the data to the replace dgram bind params

func (*ReplaceDgramBindParams) SetDefaults

func (o *ReplaceDgramBindParams) SetDefaults()

SetDefaults hydrates default values in the replace dgram bind params (not the query body).

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

func (*ReplaceDgramBindParams) SetForceReload

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

SetForceReload adds the forceReload to the replace dgram bind params

func (*ReplaceDgramBindParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace dgram bind params

func (*ReplaceDgramBindParams) SetLogForward

func (o *ReplaceDgramBindParams) SetLogForward(logForward string)

SetLogForward adds the logForward to the replace dgram bind params

func (*ReplaceDgramBindParams) SetName

func (o *ReplaceDgramBindParams) SetName(name string)

SetName adds the name to the replace dgram bind params

func (*ReplaceDgramBindParams) SetTimeout

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

SetTimeout adds the timeout to the replace dgram bind params

func (*ReplaceDgramBindParams) SetTransactionID

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

SetTransactionID adds the transactionId to the replace dgram bind params

func (*ReplaceDgramBindParams) SetVersion

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

SetVersion adds the version to the replace dgram bind params

func (*ReplaceDgramBindParams) WithContext

WithContext adds the context to the replace dgram bind params

func (*ReplaceDgramBindParams) WithData

WithData adds the data to the replace dgram bind params

func (*ReplaceDgramBindParams) WithDefaults

WithDefaults hydrates default values in the replace dgram bind params (not the query body).

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

func (*ReplaceDgramBindParams) WithForceReload

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

WithForceReload adds the forceReload to the replace dgram bind params

func (*ReplaceDgramBindParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace dgram bind params

func (*ReplaceDgramBindParams) WithLogForward

func (o *ReplaceDgramBindParams) WithLogForward(logForward string) *ReplaceDgramBindParams

WithLogForward adds the logForward to the replace dgram bind params

func (*ReplaceDgramBindParams) WithName

WithName adds the name to the replace dgram bind params

func (*ReplaceDgramBindParams) WithTimeout

WithTimeout adds the timeout to the replace dgram bind params

func (*ReplaceDgramBindParams) WithTransactionID

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

WithTransactionID adds the transactionID to the replace dgram bind params

func (*ReplaceDgramBindParams) WithVersion

func (o *ReplaceDgramBindParams) WithVersion(version *int64) *ReplaceDgramBindParams

WithVersion adds the version to the replace dgram bind params

func (*ReplaceDgramBindParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceDgramBindReader

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

ReplaceDgramBindReader is a Reader for the ReplaceDgramBind structure.

func (*ReplaceDgramBindReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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