Documentation ¶
Index ¶
- type Client
- func (a *Client) GetServiceConfig(params *GetServiceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceConfigOK, error)
- func (a *Client) SetServiceConfig(params *SetServiceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SetServiceConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ValidateEmailService(params *ValidateEmailServiceParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateEmailServiceOK, error)
- type GetServiceConfigOK
- type GetServiceConfigParams
- func NewGetServiceConfigParams() *GetServiceConfigParams
- func NewGetServiceConfigParamsWithContext(ctx context.Context) *GetServiceConfigParams
- func NewGetServiceConfigParamsWithHTTPClient(client *http.Client) *GetServiceConfigParams
- func NewGetServiceConfigParamsWithTimeout(timeout time.Duration) *GetServiceConfigParams
- func (o *GetServiceConfigParams) SetBody(body *models.OpenpitrixGetServiceConfigRequest)
- func (o *GetServiceConfigParams) SetContext(ctx context.Context)
- func (o *GetServiceConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceConfigParams) WithBody(body *models.OpenpitrixGetServiceConfigRequest) *GetServiceConfigParams
- func (o *GetServiceConfigParams) WithContext(ctx context.Context) *GetServiceConfigParams
- func (o *GetServiceConfigParams) WithHTTPClient(client *http.Client) *GetServiceConfigParams
- func (o *GetServiceConfigParams) WithTimeout(timeout time.Duration) *GetServiceConfigParams
- func (o *GetServiceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceConfigReader
- type SetServiceConfigOK
- type SetServiceConfigParams
- func NewSetServiceConfigParams() *SetServiceConfigParams
- func NewSetServiceConfigParamsWithContext(ctx context.Context) *SetServiceConfigParams
- func NewSetServiceConfigParamsWithHTTPClient(client *http.Client) *SetServiceConfigParams
- func NewSetServiceConfigParamsWithTimeout(timeout time.Duration) *SetServiceConfigParams
- func (o *SetServiceConfigParams) SetBody(body *models.OpenpitrixSetServiceConfigRequest)
- func (o *SetServiceConfigParams) SetContext(ctx context.Context)
- func (o *SetServiceConfigParams) SetHTTPClient(client *http.Client)
- func (o *SetServiceConfigParams) SetTimeout(timeout time.Duration)
- func (o *SetServiceConfigParams) WithBody(body *models.OpenpitrixSetServiceConfigRequest) *SetServiceConfigParams
- func (o *SetServiceConfigParams) WithContext(ctx context.Context) *SetServiceConfigParams
- func (o *SetServiceConfigParams) WithHTTPClient(client *http.Client) *SetServiceConfigParams
- func (o *SetServiceConfigParams) WithTimeout(timeout time.Duration) *SetServiceConfigParams
- func (o *SetServiceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetServiceConfigReader
- type ValidateEmailServiceOK
- type ValidateEmailServiceParams
- func NewValidateEmailServiceParams() *ValidateEmailServiceParams
- func NewValidateEmailServiceParamsWithContext(ctx context.Context) *ValidateEmailServiceParams
- func NewValidateEmailServiceParamsWithHTTPClient(client *http.Client) *ValidateEmailServiceParams
- func NewValidateEmailServiceParamsWithTimeout(timeout time.Duration) *ValidateEmailServiceParams
- func (o *ValidateEmailServiceParams) SetBody(body *models.OpenpitrixValidateEmailServiceRequest)
- func (o *ValidateEmailServiceParams) SetContext(ctx context.Context)
- func (o *ValidateEmailServiceParams) SetHTTPClient(client *http.Client)
- func (o *ValidateEmailServiceParams) SetTimeout(timeout time.Duration)
- func (o *ValidateEmailServiceParams) WithBody(body *models.OpenpitrixValidateEmailServiceRequest) *ValidateEmailServiceParams
- func (o *ValidateEmailServiceParams) WithContext(ctx context.Context) *ValidateEmailServiceParams
- func (o *ValidateEmailServiceParams) WithHTTPClient(client *http.Client) *ValidateEmailServiceParams
- func (o *ValidateEmailServiceParams) WithTimeout(timeout time.Duration) *ValidateEmailServiceParams
- func (o *ValidateEmailServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateEmailServiceReader
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 ¶
func (o *GetServiceConfigParams) SetBody(body *models.OpenpitrixGetServiceConfigRequest)
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 ¶
func (o *GetServiceConfigParams) WithBody(body *models.OpenpitrixGetServiceConfigRequest) *GetServiceConfigParams
WithBody adds the body to the get service config params
func (*GetServiceConfigParams) WithContext ¶
func (o *GetServiceConfigParams) WithContext(ctx context.Context) *GetServiceConfigParams
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 ¶
func (o *GetServiceConfigParams) WithTimeout(timeout time.Duration) *GetServiceConfigParams
WithTimeout adds the timeout to the get service config params
func (*GetServiceConfigParams) WriteToRequest ¶
func (o *GetServiceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SetServiceConfigParams) SetBody(body *models.OpenpitrixSetServiceConfigRequest)
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 ¶
func (o *SetServiceConfigParams) WithBody(body *models.OpenpitrixSetServiceConfigRequest) *SetServiceConfigParams
WithBody adds the body to the set service config params
func (*SetServiceConfigParams) WithContext ¶
func (o *SetServiceConfigParams) WithContext(ctx context.Context) *SetServiceConfigParams
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 ¶
func (o *SetServiceConfigParams) WithTimeout(timeout time.Duration) *SetServiceConfigParams
WithTimeout adds the timeout to the set service config params
func (*SetServiceConfigParams) WriteToRequest ¶
func (o *SetServiceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ValidateEmailServiceParams) SetBody(body *models.OpenpitrixValidateEmailServiceRequest)
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 ¶
func (o *ValidateEmailServiceParams) WithBody(body *models.OpenpitrixValidateEmailServiceRequest) *ValidateEmailServiceParams
WithBody adds the body to the validate email service params
func (*ValidateEmailServiceParams) WithContext ¶
func (o *ValidateEmailServiceParams) WithContext(ctx context.Context) *ValidateEmailServiceParams
WithContext adds the context to the validate email service params
func (*ValidateEmailServiceParams) WithHTTPClient ¶
func (o *ValidateEmailServiceParams) WithHTTPClient(client *http.Client) *ValidateEmailServiceParams
WithHTTPClient adds the HTTPClient to the validate email service params
func (*ValidateEmailServiceParams) WithTimeout ¶
func (o *ValidateEmailServiceParams) WithTimeout(timeout time.Duration) *ValidateEmailServiceParams
WithTimeout adds the timeout to the validate email service params
func (*ValidateEmailServiceParams) WriteToRequest ¶
func (o *ValidateEmailServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.