Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDgramBind(params *CreateDgramBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDgramBindCreated, *CreateDgramBindAccepted, error)
- func (a *Client) DeleteDgramBind(params *DeleteDgramBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDgramBindAccepted, *DeleteDgramBindNoContent, error)
- func (a *Client) GetDgramBind(params *GetDgramBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDgramBindOK, error)
- func (a *Client) GetDgramBinds(params *GetDgramBindsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDgramBindsOK, error)
- func (a *Client) ReplaceDgramBind(params *ReplaceDgramBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceDgramBindOK, *ReplaceDgramBindAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDgramBindAccepted
- func (o *CreateDgramBindAccepted) Code() int
- func (o *CreateDgramBindAccepted) Error() string
- func (o *CreateDgramBindAccepted) GetPayload() *models.DgramBind
- func (o *CreateDgramBindAccepted) IsClientError() bool
- func (o *CreateDgramBindAccepted) IsCode(code int) bool
- func (o *CreateDgramBindAccepted) IsRedirect() bool
- func (o *CreateDgramBindAccepted) IsServerError() bool
- func (o *CreateDgramBindAccepted) IsSuccess() bool
- func (o *CreateDgramBindAccepted) String() string
- type CreateDgramBindBadRequest
- func (o *CreateDgramBindBadRequest) Code() int
- func (o *CreateDgramBindBadRequest) Error() string
- func (o *CreateDgramBindBadRequest) GetPayload() *models.Error
- func (o *CreateDgramBindBadRequest) IsClientError() bool
- func (o *CreateDgramBindBadRequest) IsCode(code int) bool
- func (o *CreateDgramBindBadRequest) IsRedirect() bool
- func (o *CreateDgramBindBadRequest) IsServerError() bool
- func (o *CreateDgramBindBadRequest) IsSuccess() bool
- func (o *CreateDgramBindBadRequest) String() string
- type CreateDgramBindConflict
- func (o *CreateDgramBindConflict) Code() int
- func (o *CreateDgramBindConflict) Error() string
- func (o *CreateDgramBindConflict) GetPayload() *models.Error
- func (o *CreateDgramBindConflict) IsClientError() bool
- func (o *CreateDgramBindConflict) IsCode(code int) bool
- func (o *CreateDgramBindConflict) IsRedirect() bool
- func (o *CreateDgramBindConflict) IsServerError() bool
- func (o *CreateDgramBindConflict) IsSuccess() bool
- func (o *CreateDgramBindConflict) String() string
- type CreateDgramBindCreated
- func (o *CreateDgramBindCreated) Code() int
- func (o *CreateDgramBindCreated) Error() string
- func (o *CreateDgramBindCreated) GetPayload() *models.DgramBind
- func (o *CreateDgramBindCreated) IsClientError() bool
- func (o *CreateDgramBindCreated) IsCode(code int) bool
- func (o *CreateDgramBindCreated) IsRedirect() bool
- func (o *CreateDgramBindCreated) IsServerError() bool
- func (o *CreateDgramBindCreated) IsSuccess() bool
- func (o *CreateDgramBindCreated) String() string
- type CreateDgramBindDefault
- func (o *CreateDgramBindDefault) Code() int
- func (o *CreateDgramBindDefault) Error() string
- func (o *CreateDgramBindDefault) GetPayload() *models.Error
- func (o *CreateDgramBindDefault) IsClientError() bool
- func (o *CreateDgramBindDefault) IsCode(code int) bool
- func (o *CreateDgramBindDefault) IsRedirect() bool
- func (o *CreateDgramBindDefault) IsServerError() bool
- func (o *CreateDgramBindDefault) IsSuccess() bool
- func (o *CreateDgramBindDefault) String() string
- type CreateDgramBindParams
- func NewCreateDgramBindParams() *CreateDgramBindParams
- func NewCreateDgramBindParamsWithContext(ctx context.Context) *CreateDgramBindParams
- func NewCreateDgramBindParamsWithHTTPClient(client *http.Client) *CreateDgramBindParams
- func NewCreateDgramBindParamsWithTimeout(timeout time.Duration) *CreateDgramBindParams
- func (o *CreateDgramBindParams) SetContext(ctx context.Context)
- func (o *CreateDgramBindParams) SetData(data *models.DgramBind)
- func (o *CreateDgramBindParams) SetDefaults()
- func (o *CreateDgramBindParams) SetForceReload(forceReload *bool)
- func (o *CreateDgramBindParams) SetHTTPClient(client *http.Client)
- func (o *CreateDgramBindParams) SetLogForward(logForward string)
- func (o *CreateDgramBindParams) SetTimeout(timeout time.Duration)
- func (o *CreateDgramBindParams) SetTransactionID(transactionID *string)
- func (o *CreateDgramBindParams) SetVersion(version *int64)
- func (o *CreateDgramBindParams) WithContext(ctx context.Context) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithData(data *models.DgramBind) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithDefaults() *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithForceReload(forceReload *bool) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithHTTPClient(client *http.Client) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithLogForward(logForward string) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithTimeout(timeout time.Duration) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithTransactionID(transactionID *string) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WithVersion(version *int64) *CreateDgramBindParams
- func (o *CreateDgramBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDgramBindReader
- type DeleteDgramBindAccepted
- func (o *DeleteDgramBindAccepted) Code() int
- func (o *DeleteDgramBindAccepted) Error() string
- func (o *DeleteDgramBindAccepted) IsClientError() bool
- func (o *DeleteDgramBindAccepted) IsCode(code int) bool
- func (o *DeleteDgramBindAccepted) IsRedirect() bool
- func (o *DeleteDgramBindAccepted) IsServerError() bool
- func (o *DeleteDgramBindAccepted) IsSuccess() bool
- func (o *DeleteDgramBindAccepted) String() string
- type DeleteDgramBindDefault
- func (o *DeleteDgramBindDefault) Code() int
- func (o *DeleteDgramBindDefault) Error() string
- func (o *DeleteDgramBindDefault) GetPayload() *models.Error
- func (o *DeleteDgramBindDefault) IsClientError() bool
- func (o *DeleteDgramBindDefault) IsCode(code int) bool
- func (o *DeleteDgramBindDefault) IsRedirect() bool
- func (o *DeleteDgramBindDefault) IsServerError() bool
- func (o *DeleteDgramBindDefault) IsSuccess() bool
- func (o *DeleteDgramBindDefault) String() string
- type DeleteDgramBindNoContent
- func (o *DeleteDgramBindNoContent) Code() int
- func (o *DeleteDgramBindNoContent) Error() string
- func (o *DeleteDgramBindNoContent) IsClientError() bool
- func (o *DeleteDgramBindNoContent) IsCode(code int) bool
- func (o *DeleteDgramBindNoContent) IsRedirect() bool
- func (o *DeleteDgramBindNoContent) IsServerError() bool
- func (o *DeleteDgramBindNoContent) IsSuccess() bool
- func (o *DeleteDgramBindNoContent) String() string
- type DeleteDgramBindNotFound
- func (o *DeleteDgramBindNotFound) Code() int
- func (o *DeleteDgramBindNotFound) Error() string
- func (o *DeleteDgramBindNotFound) GetPayload() *models.Error
- func (o *DeleteDgramBindNotFound) IsClientError() bool
- func (o *DeleteDgramBindNotFound) IsCode(code int) bool
- func (o *DeleteDgramBindNotFound) IsRedirect() bool
- func (o *DeleteDgramBindNotFound) IsServerError() bool
- func (o *DeleteDgramBindNotFound) IsSuccess() bool
- func (o *DeleteDgramBindNotFound) String() string
- type DeleteDgramBindParams
- func NewDeleteDgramBindParams() *DeleteDgramBindParams
- func NewDeleteDgramBindParamsWithContext(ctx context.Context) *DeleteDgramBindParams
- func NewDeleteDgramBindParamsWithHTTPClient(client *http.Client) *DeleteDgramBindParams
- func NewDeleteDgramBindParamsWithTimeout(timeout time.Duration) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) SetContext(ctx context.Context)
- func (o *DeleteDgramBindParams) SetDefaults()
- func (o *DeleteDgramBindParams) SetForceReload(forceReload *bool)
- func (o *DeleteDgramBindParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDgramBindParams) SetLogForward(logForward string)
- func (o *DeleteDgramBindParams) SetName(name string)
- func (o *DeleteDgramBindParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDgramBindParams) SetTransactionID(transactionID *string)
- func (o *DeleteDgramBindParams) SetVersion(version *int64)
- func (o *DeleteDgramBindParams) WithContext(ctx context.Context) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithDefaults() *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithForceReload(forceReload *bool) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithHTTPClient(client *http.Client) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithLogForward(logForward string) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithName(name string) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithTimeout(timeout time.Duration) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithTransactionID(transactionID *string) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WithVersion(version *int64) *DeleteDgramBindParams
- func (o *DeleteDgramBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDgramBindReader
- type GetDgramBindDefault
- func (o *GetDgramBindDefault) Code() int
- func (o *GetDgramBindDefault) Error() string
- func (o *GetDgramBindDefault) GetPayload() *models.Error
- func (o *GetDgramBindDefault) IsClientError() bool
- func (o *GetDgramBindDefault) IsCode(code int) bool
- func (o *GetDgramBindDefault) IsRedirect() bool
- func (o *GetDgramBindDefault) IsServerError() bool
- func (o *GetDgramBindDefault) IsSuccess() bool
- func (o *GetDgramBindDefault) String() string
- type GetDgramBindNotFound
- func (o *GetDgramBindNotFound) Code() int
- func (o *GetDgramBindNotFound) Error() string
- func (o *GetDgramBindNotFound) GetPayload() *models.Error
- func (o *GetDgramBindNotFound) IsClientError() bool
- func (o *GetDgramBindNotFound) IsCode(code int) bool
- func (o *GetDgramBindNotFound) IsRedirect() bool
- func (o *GetDgramBindNotFound) IsServerError() bool
- func (o *GetDgramBindNotFound) IsSuccess() bool
- func (o *GetDgramBindNotFound) String() string
- type GetDgramBindOK
- func (o *GetDgramBindOK) Code() int
- func (o *GetDgramBindOK) Error() string
- func (o *GetDgramBindOK) GetPayload() *GetDgramBindOKBody
- func (o *GetDgramBindOK) IsClientError() bool
- func (o *GetDgramBindOK) IsCode(code int) bool
- func (o *GetDgramBindOK) IsRedirect() bool
- func (o *GetDgramBindOK) IsServerError() bool
- func (o *GetDgramBindOK) IsSuccess() bool
- func (o *GetDgramBindOK) String() string
- type GetDgramBindOKBody
- type GetDgramBindParams
- func (o *GetDgramBindParams) SetContext(ctx context.Context)
- func (o *GetDgramBindParams) SetDefaults()
- func (o *GetDgramBindParams) SetHTTPClient(client *http.Client)
- func (o *GetDgramBindParams) SetLogForward(logForward string)
- func (o *GetDgramBindParams) SetName(name string)
- func (o *GetDgramBindParams) SetTimeout(timeout time.Duration)
- func (o *GetDgramBindParams) SetTransactionID(transactionID *string)
- func (o *GetDgramBindParams) WithContext(ctx context.Context) *GetDgramBindParams
- func (o *GetDgramBindParams) WithDefaults() *GetDgramBindParams
- func (o *GetDgramBindParams) WithHTTPClient(client *http.Client) *GetDgramBindParams
- func (o *GetDgramBindParams) WithLogForward(logForward string) *GetDgramBindParams
- func (o *GetDgramBindParams) WithName(name string) *GetDgramBindParams
- func (o *GetDgramBindParams) WithTimeout(timeout time.Duration) *GetDgramBindParams
- func (o *GetDgramBindParams) WithTransactionID(transactionID *string) *GetDgramBindParams
- func (o *GetDgramBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDgramBindReader
- type GetDgramBindsDefault
- func (o *GetDgramBindsDefault) Code() int
- func (o *GetDgramBindsDefault) Error() string
- func (o *GetDgramBindsDefault) GetPayload() *models.Error
- func (o *GetDgramBindsDefault) IsClientError() bool
- func (o *GetDgramBindsDefault) IsCode(code int) bool
- func (o *GetDgramBindsDefault) IsRedirect() bool
- func (o *GetDgramBindsDefault) IsServerError() bool
- func (o *GetDgramBindsDefault) IsSuccess() bool
- func (o *GetDgramBindsDefault) String() string
- type GetDgramBindsOK
- func (o *GetDgramBindsOK) Code() int
- func (o *GetDgramBindsOK) Error() string
- func (o *GetDgramBindsOK) GetPayload() *GetDgramBindsOKBody
- func (o *GetDgramBindsOK) IsClientError() bool
- func (o *GetDgramBindsOK) IsCode(code int) bool
- func (o *GetDgramBindsOK) IsRedirect() bool
- func (o *GetDgramBindsOK) IsServerError() bool
- func (o *GetDgramBindsOK) IsSuccess() bool
- func (o *GetDgramBindsOK) String() string
- type GetDgramBindsOKBody
- type GetDgramBindsParams
- func (o *GetDgramBindsParams) SetContext(ctx context.Context)
- func (o *GetDgramBindsParams) SetDefaults()
- func (o *GetDgramBindsParams) SetHTTPClient(client *http.Client)
- func (o *GetDgramBindsParams) SetLogForward(logForward string)
- func (o *GetDgramBindsParams) SetTimeout(timeout time.Duration)
- func (o *GetDgramBindsParams) SetTransactionID(transactionID *string)
- func (o *GetDgramBindsParams) WithContext(ctx context.Context) *GetDgramBindsParams
- func (o *GetDgramBindsParams) WithDefaults() *GetDgramBindsParams
- func (o *GetDgramBindsParams) WithHTTPClient(client *http.Client) *GetDgramBindsParams
- func (o *GetDgramBindsParams) WithLogForward(logForward string) *GetDgramBindsParams
- func (o *GetDgramBindsParams) WithTimeout(timeout time.Duration) *GetDgramBindsParams
- func (o *GetDgramBindsParams) WithTransactionID(transactionID *string) *GetDgramBindsParams
- func (o *GetDgramBindsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDgramBindsReader
- type ReplaceDgramBindAccepted
- func (o *ReplaceDgramBindAccepted) Code() int
- func (o *ReplaceDgramBindAccepted) Error() string
- func (o *ReplaceDgramBindAccepted) GetPayload() *models.DgramBind
- func (o *ReplaceDgramBindAccepted) IsClientError() bool
- func (o *ReplaceDgramBindAccepted) IsCode(code int) bool
- func (o *ReplaceDgramBindAccepted) IsRedirect() bool
- func (o *ReplaceDgramBindAccepted) IsServerError() bool
- func (o *ReplaceDgramBindAccepted) IsSuccess() bool
- func (o *ReplaceDgramBindAccepted) String() string
- type ReplaceDgramBindBadRequest
- func (o *ReplaceDgramBindBadRequest) Code() int
- func (o *ReplaceDgramBindBadRequest) Error() string
- func (o *ReplaceDgramBindBadRequest) GetPayload() *models.Error
- func (o *ReplaceDgramBindBadRequest) IsClientError() bool
- func (o *ReplaceDgramBindBadRequest) IsCode(code int) bool
- func (o *ReplaceDgramBindBadRequest) IsRedirect() bool
- func (o *ReplaceDgramBindBadRequest) IsServerError() bool
- func (o *ReplaceDgramBindBadRequest) IsSuccess() bool
- func (o *ReplaceDgramBindBadRequest) String() string
- type ReplaceDgramBindDefault
- func (o *ReplaceDgramBindDefault) Code() int
- func (o *ReplaceDgramBindDefault) Error() string
- func (o *ReplaceDgramBindDefault) GetPayload() *models.Error
- func (o *ReplaceDgramBindDefault) IsClientError() bool
- func (o *ReplaceDgramBindDefault) IsCode(code int) bool
- func (o *ReplaceDgramBindDefault) IsRedirect() bool
- func (o *ReplaceDgramBindDefault) IsServerError() bool
- func (o *ReplaceDgramBindDefault) IsSuccess() bool
- func (o *ReplaceDgramBindDefault) String() string
- type ReplaceDgramBindNotFound
- func (o *ReplaceDgramBindNotFound) Code() int
- func (o *ReplaceDgramBindNotFound) Error() string
- func (o *ReplaceDgramBindNotFound) GetPayload() *models.Error
- func (o *ReplaceDgramBindNotFound) IsClientError() bool
- func (o *ReplaceDgramBindNotFound) IsCode(code int) bool
- func (o *ReplaceDgramBindNotFound) IsRedirect() bool
- func (o *ReplaceDgramBindNotFound) IsServerError() bool
- func (o *ReplaceDgramBindNotFound) IsSuccess() bool
- func (o *ReplaceDgramBindNotFound) String() string
- type ReplaceDgramBindOK
- func (o *ReplaceDgramBindOK) Code() int
- func (o *ReplaceDgramBindOK) Error() string
- func (o *ReplaceDgramBindOK) GetPayload() *models.DgramBind
- func (o *ReplaceDgramBindOK) IsClientError() bool
- func (o *ReplaceDgramBindOK) IsCode(code int) bool
- func (o *ReplaceDgramBindOK) IsRedirect() bool
- func (o *ReplaceDgramBindOK) IsServerError() bool
- func (o *ReplaceDgramBindOK) IsSuccess() bool
- func (o *ReplaceDgramBindOK) String() string
- type ReplaceDgramBindParams
- func NewReplaceDgramBindParams() *ReplaceDgramBindParams
- func NewReplaceDgramBindParamsWithContext(ctx context.Context) *ReplaceDgramBindParams
- func NewReplaceDgramBindParamsWithHTTPClient(client *http.Client) *ReplaceDgramBindParams
- func NewReplaceDgramBindParamsWithTimeout(timeout time.Duration) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) SetContext(ctx context.Context)
- func (o *ReplaceDgramBindParams) SetData(data *models.DgramBind)
- func (o *ReplaceDgramBindParams) SetDefaults()
- func (o *ReplaceDgramBindParams) SetForceReload(forceReload *bool)
- func (o *ReplaceDgramBindParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceDgramBindParams) SetLogForward(logForward string)
- func (o *ReplaceDgramBindParams) SetName(name string)
- func (o *ReplaceDgramBindParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceDgramBindParams) SetTransactionID(transactionID *string)
- func (o *ReplaceDgramBindParams) SetVersion(version *int64)
- func (o *ReplaceDgramBindParams) WithContext(ctx context.Context) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithData(data *models.DgramBind) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithDefaults() *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithForceReload(forceReload *bool) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithHTTPClient(client *http.Client) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithLogForward(logForward string) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithName(name string) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithTimeout(timeout time.Duration) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithTransactionID(transactionID *string) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WithVersion(version *int64) *ReplaceDgramBindParams
- func (o *ReplaceDgramBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceDgramBindReader
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 ¶
func (a *Client) CreateDgramBind(params *CreateDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDgramBindCreated, *CreateDgramBindAccepted, error)
CreateDgramBind adds a new dgram bind
Adds a new dgram bind in the specified log forward in the configuration file.
func (*Client) DeleteDgramBind ¶
func (a *Client) DeleteDgramBind(params *DeleteDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDgramBindAccepted, *DeleteDgramBindNoContent, error)
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 ¶
func (a *Client) ReplaceDgramBind(params *ReplaceDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceDgramBindOK, *ReplaceDgramBindAccepted, error)
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 ¶
type ClientService interface { CreateDgramBind(params *CreateDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDgramBindCreated, *CreateDgramBindAccepted, error) DeleteDgramBind(params *DeleteDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDgramBindAccepted, *DeleteDgramBindNoContent, error) GetDgramBind(params *GetDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDgramBindOK, error) GetDgramBinds(params *GetDgramBindsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDgramBindsOK, error) ReplaceDgramBind(params *ReplaceDgramBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceDgramBindOK, *ReplaceDgramBindAccepted, 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 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 ¶
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 ¶
func (o *CreateDgramBindParams) WithContext(ctx context.Context) *CreateDgramBindParams
WithContext adds the context to the create dgram bind params
func (*CreateDgramBindParams) WithData ¶
func (o *CreateDgramBindParams) WithData(data *models.DgramBind) *CreateDgramBindParams
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 ¶
func (o *DeleteDgramBindParams) WithContext(ctx context.Context) *DeleteDgramBindParams
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 ¶
func (o *DeleteDgramBindParams) WithName(name string) *DeleteDgramBindParams
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 ¶
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
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 ¶
func (o *GetDgramBindParams) WithContext(ctx context.Context) *GetDgramBindParams
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 ¶
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
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 ¶
func (o *GetDgramBindsParams) WithContext(ctx context.Context) *GetDgramBindsParams
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 (o *ReplaceDgramBindBadRequest) Error() string
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 ¶
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 ¶
func (o *ReplaceDgramBindParams) WithContext(ctx context.Context) *ReplaceDgramBindParams
WithContext adds the context to the replace dgram bind params
func (*ReplaceDgramBindParams) WithData ¶
func (o *ReplaceDgramBindParams) WithData(data *models.DgramBind) *ReplaceDgramBindParams
WithData adds the data to the replace dgram bind params
func (*ReplaceDgramBindParams) WithDefaults ¶
func (o *ReplaceDgramBindParams) WithDefaults() *ReplaceDgramBindParams
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 ¶
func (o *ReplaceDgramBindParams) WithName(name string) *ReplaceDgramBindParams
WithName adds the name to the replace dgram bind params
func (*ReplaceDgramBindParams) WithTimeout ¶
func (o *ReplaceDgramBindParams) WithTimeout(timeout time.Duration) *ReplaceDgramBindParams
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 ¶
func (o *ReplaceDgramBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_dgram_bind_parameters.go
- create_dgram_bind_responses.go
- delete_dgram_bind_parameters.go
- delete_dgram_bind_responses.go
- dgram_bind_client.go
- get_dgram_bind_parameters.go
- get_dgram_bind_responses.go
- get_dgram_binds_parameters.go
- get_dgram_binds_responses.go
- replace_dgram_bind_parameters.go
- replace_dgram_bind_responses.go