service_config

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

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 service config API

func New

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

New creates a new service config API client.

func (*Client) GetServiceConfig

func (a *Client) GetServiceConfig(params *GetServiceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceConfigOK, error)

GetServiceConfig gets service configration

func (*Client) SetServiceConfig

func (a *Client) SetServiceConfig(params *SetServiceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SetServiceConfigOK, error)

SetServiceConfig sets service configration

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ValidateEmailService

func (a *Client) ValidateEmailService(params *ValidateEmailServiceParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateEmailServiceOK, error)

ValidateEmailService validates email service

type GetServiceConfigOK

type GetServiceConfigOK struct {
	Payload *models.OpenpitrixGetServiceConfigResponse
}

GetServiceConfigOK handles this case with default header values.

A successful response.

func NewGetServiceConfigOK

func NewGetServiceConfigOK() *GetServiceConfigOK

NewGetServiceConfigOK creates a GetServiceConfigOK with default headers values

func (*GetServiceConfigOK) Error

func (o *GetServiceConfigOK) Error() string

type GetServiceConfigParams

type GetServiceConfigParams struct {

	/*Body*/
	Body *models.OpenpitrixGetServiceConfigRequest

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

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

func NewGetServiceConfigParams

func NewGetServiceConfigParams() *GetServiceConfigParams

NewGetServiceConfigParams creates a new GetServiceConfigParams object with the default values initialized.

func NewGetServiceConfigParamsWithContext

func NewGetServiceConfigParamsWithContext(ctx context.Context) *GetServiceConfigParams

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

func NewGetServiceConfigParamsWithHTTPClient

func NewGetServiceConfigParamsWithHTTPClient(client *http.Client) *GetServiceConfigParams

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

func NewGetServiceConfigParamsWithTimeout

func NewGetServiceConfigParamsWithTimeout(timeout time.Duration) *GetServiceConfigParams

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

func (*GetServiceConfigParams) SetBody

SetBody adds the body to the get service config params

func (*GetServiceConfigParams) SetContext

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

SetContext adds the context to the get service config params

func (*GetServiceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service config params

func (*GetServiceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get service config params

func (*GetServiceConfigParams) WithBody

WithBody adds the body to the get service config params

func (*GetServiceConfigParams) WithContext

WithContext adds the context to the get service config params

func (*GetServiceConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get service config params

func (*GetServiceConfigParams) WithTimeout

WithTimeout adds the timeout to the get service config params

func (*GetServiceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceConfigReader

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

GetServiceConfigReader is a Reader for the GetServiceConfig structure.

func (*GetServiceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetServiceConfigOK

type SetServiceConfigOK struct {
	Payload *models.OpenpitrixSetServiceConfigResponse
}

SetServiceConfigOK handles this case with default header values.

A successful response.

func NewSetServiceConfigOK

func NewSetServiceConfigOK() *SetServiceConfigOK

NewSetServiceConfigOK creates a SetServiceConfigOK with default headers values

func (*SetServiceConfigOK) Error

func (o *SetServiceConfigOK) Error() string

type SetServiceConfigParams

type SetServiceConfigParams struct {

	/*Body*/
	Body *models.OpenpitrixSetServiceConfigRequest

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

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

func NewSetServiceConfigParams

func NewSetServiceConfigParams() *SetServiceConfigParams

NewSetServiceConfigParams creates a new SetServiceConfigParams object with the default values initialized.

func NewSetServiceConfigParamsWithContext

func NewSetServiceConfigParamsWithContext(ctx context.Context) *SetServiceConfigParams

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

func NewSetServiceConfigParamsWithHTTPClient

func NewSetServiceConfigParamsWithHTTPClient(client *http.Client) *SetServiceConfigParams

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

func NewSetServiceConfigParamsWithTimeout

func NewSetServiceConfigParamsWithTimeout(timeout time.Duration) *SetServiceConfigParams

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

func (*SetServiceConfigParams) SetBody

SetBody adds the body to the set service config params

func (*SetServiceConfigParams) SetContext

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

SetContext adds the context to the set service config params

func (*SetServiceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set service config params

func (*SetServiceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the set service config params

func (*SetServiceConfigParams) WithBody

WithBody adds the body to the set service config params

func (*SetServiceConfigParams) WithContext

WithContext adds the context to the set service config params

func (*SetServiceConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set service config params

func (*SetServiceConfigParams) WithTimeout

WithTimeout adds the timeout to the set service config params

func (*SetServiceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetServiceConfigReader

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

SetServiceConfigReader is a Reader for the SetServiceConfig structure.

func (*SetServiceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateEmailServiceOK

type ValidateEmailServiceOK struct {
	Payload *models.OpenpitrixValidateEmailServiceResponse
}

ValidateEmailServiceOK handles this case with default header values.

A successful response.

func NewValidateEmailServiceOK

func NewValidateEmailServiceOK() *ValidateEmailServiceOK

NewValidateEmailServiceOK creates a ValidateEmailServiceOK with default headers values

func (*ValidateEmailServiceOK) Error

func (o *ValidateEmailServiceOK) Error() string

type ValidateEmailServiceParams

type ValidateEmailServiceParams struct {

	/*Body*/
	Body *models.OpenpitrixValidateEmailServiceRequest

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

ValidateEmailServiceParams contains all the parameters to send to the API endpoint for the validate email service operation typically these are written to a http.Request

func NewValidateEmailServiceParams

func NewValidateEmailServiceParams() *ValidateEmailServiceParams

NewValidateEmailServiceParams creates a new ValidateEmailServiceParams object with the default values initialized.

func NewValidateEmailServiceParamsWithContext

func NewValidateEmailServiceParamsWithContext(ctx context.Context) *ValidateEmailServiceParams

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

func NewValidateEmailServiceParamsWithHTTPClient

func NewValidateEmailServiceParamsWithHTTPClient(client *http.Client) *ValidateEmailServiceParams

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

func NewValidateEmailServiceParamsWithTimeout

func NewValidateEmailServiceParamsWithTimeout(timeout time.Duration) *ValidateEmailServiceParams

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

func (*ValidateEmailServiceParams) SetBody

SetBody adds the body to the validate email service params

func (*ValidateEmailServiceParams) SetContext

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

SetContext adds the context to the validate email service params

func (*ValidateEmailServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate email service params

func (*ValidateEmailServiceParams) SetTimeout

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

SetTimeout adds the timeout to the validate email service params

func (*ValidateEmailServiceParams) WithBody

WithBody adds the body to the validate email service params

func (*ValidateEmailServiceParams) WithContext

WithContext adds the context to the validate email service params

func (*ValidateEmailServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate email service params

func (*ValidateEmailServiceParams) WithTimeout

WithTimeout adds the timeout to the validate email service params

func (*ValidateEmailServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateEmailServiceReader

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

ValidateEmailServiceReader is a Reader for the ValidateEmailService structure.

func (*ValidateEmailServiceReader) ReadResponse

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