system_messages

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 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 system messages API

func New

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

New creates a new system messages API client.

func (*Client) Config

func (a *Client) Config(params *ConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ConfigOK, error)

Config gets message processor configuration

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ConfigOK

type ConfigOK struct {
	Payload *models.MessageProcessorsConfigWithDescriptors
}

ConfigOK handles this case with default header values.

No response was specified

func NewConfigOK

func NewConfigOK() *ConfigOK

NewConfigOK creates a ConfigOK with default headers values

func (*ConfigOK) Error

func (o *ConfigOK) Error() string

type ConfigParams

type ConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ConfigParams contains all the parameters to send to the API endpoint for the config operation typically these are written to a http.Request

func NewConfigParams

func NewConfigParams() *ConfigParams

NewConfigParams creates a new ConfigParams object with the default values initialized.

func NewConfigParamsWithContext

func NewConfigParamsWithContext(ctx context.Context) *ConfigParams

NewConfigParamsWithContext creates a new ConfigParams object with the default values initialized, and the ability to set a context for a request

func NewConfigParamsWithHTTPClient

func NewConfigParamsWithHTTPClient(client *http.Client) *ConfigParams

NewConfigParamsWithHTTPClient creates a new ConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewConfigParamsWithTimeout

func NewConfigParamsWithTimeout(timeout time.Duration) *ConfigParams

NewConfigParamsWithTimeout creates a new ConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*ConfigParams) SetContext

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

SetContext adds the context to the config params

func (*ConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the config params

func (*ConfigParams) SetTimeout

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

SetTimeout adds the timeout to the config params

func (*ConfigParams) WithContext

func (o *ConfigParams) WithContext(ctx context.Context) *ConfigParams

WithContext adds the context to the config params

func (*ConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the config params

func (*ConfigParams) WithTimeout

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

WithTimeout adds the timeout to the config params

func (*ConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigReader

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

ConfigReader is a Reader for the Config structure.

func (*ConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConfigOK

type UpdateConfigOK struct {
	Payload *models.MessageProcessorsConfigWithDescriptors
}

UpdateConfigOK handles this case with default header values.

No response was specified

func NewUpdateConfigOK

func NewUpdateConfigOK() *UpdateConfigOK

NewUpdateConfigOK creates a UpdateConfigOK with default headers values

func (*UpdateConfigOK) Error

func (o *UpdateConfigOK) Error() string

type UpdateConfigParams

type UpdateConfigParams struct {

	/*Config*/
	Config *models.MessageProcessorsConfigWithDescriptors

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

UpdateConfigParams contains all the parameters to send to the API endpoint for the update config operation typically these are written to a http.Request

func NewUpdateConfigParams

func NewUpdateConfigParams() *UpdateConfigParams

NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.

func NewUpdateConfigParamsWithContext

func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams

NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateConfigParamsWithHTTPClient

func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams

NewUpdateConfigParamsWithHTTPClient creates a new UpdateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateConfigParamsWithTimeout

func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams

NewUpdateConfigParamsWithTimeout creates a new UpdateConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateConfigParams) SetConfig

SetConfig adds the config to the update config params

func (*UpdateConfigParams) SetContext

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

SetContext adds the context to the update config params

func (*UpdateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WithConfig

WithConfig adds the config to the update config params

func (*UpdateConfigParams) WithContext

WithContext adds the context to the update config params

func (*UpdateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateConfigReader

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

UpdateConfigReader is a Reader for the UpdateConfig structure.

func (*UpdateConfigReader) ReadResponse

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