Documentation
¶
Index ¶
- type API
- type Client
- func (a *Client) GetChatSettings(ctx context.Context, params *GetChatSettingsParams) (*GetChatSettingsOK, error)
- func (a *Client) GetChatsSettings(ctx context.Context, params *GetChatsSettingsParams) (*GetChatsSettingsOK, error)
- func (a *Client) PatchChatSettings(ctx context.Context, params *PatchChatSettingsParams) (*PatchChatSettingsOK, error)
- func (a *Client) PatchChatsSettings(ctx context.Context, params *PatchChatsSettingsParams) (*PatchChatsSettingsOK, error)
- func (a *Client) PutChatSettings(ctx context.Context, params *PutChatSettingsParams) (*PutChatSettingsOK, error)
- func (a *Client) PutChatsSettings(ctx context.Context, params *PutChatsSettingsParams) (*PutChatsSettingsOK, error)
- type GetChatSettingsBadRequest
- func (o *GetChatSettingsBadRequest) Error() string
- func (o *GetChatSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsBadRequest) IsClientError() bool
- func (o *GetChatSettingsBadRequest) IsCode(code int) bool
- func (o *GetChatSettingsBadRequest) IsRedirect() bool
- func (o *GetChatSettingsBadRequest) IsServerError() bool
- func (o *GetChatSettingsBadRequest) IsSuccess() bool
- func (o *GetChatSettingsBadRequest) String() string
- type GetChatSettingsForbidden
- func (o *GetChatSettingsForbidden) Error() string
- func (o *GetChatSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsForbidden) IsClientError() bool
- func (o *GetChatSettingsForbidden) IsCode(code int) bool
- func (o *GetChatSettingsForbidden) IsRedirect() bool
- func (o *GetChatSettingsForbidden) IsServerError() bool
- func (o *GetChatSettingsForbidden) IsSuccess() bool
- func (o *GetChatSettingsForbidden) String() string
- type GetChatSettingsGatewayTimeout
- func (o *GetChatSettingsGatewayTimeout) Error() string
- func (o *GetChatSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsGatewayTimeout) IsClientError() bool
- func (o *GetChatSettingsGatewayTimeout) IsCode(code int) bool
- func (o *GetChatSettingsGatewayTimeout) IsRedirect() bool
- func (o *GetChatSettingsGatewayTimeout) IsServerError() bool
- func (o *GetChatSettingsGatewayTimeout) IsSuccess() bool
- func (o *GetChatSettingsGatewayTimeout) String() string
- type GetChatSettingsInternalServerError
- func (o *GetChatSettingsInternalServerError) Error() string
- func (o *GetChatSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsInternalServerError) IsClientError() bool
- func (o *GetChatSettingsInternalServerError) IsCode(code int) bool
- func (o *GetChatSettingsInternalServerError) IsRedirect() bool
- func (o *GetChatSettingsInternalServerError) IsServerError() bool
- func (o *GetChatSettingsInternalServerError) IsSuccess() bool
- func (o *GetChatSettingsInternalServerError) String() string
- type GetChatSettingsNotFound
- func (o *GetChatSettingsNotFound) Error() string
- func (o *GetChatSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsNotFound) IsClientError() bool
- func (o *GetChatSettingsNotFound) IsCode(code int) bool
- func (o *GetChatSettingsNotFound) IsRedirect() bool
- func (o *GetChatSettingsNotFound) IsServerError() bool
- func (o *GetChatSettingsNotFound) IsSuccess() bool
- func (o *GetChatSettingsNotFound) String() string
- type GetChatSettingsOK
- func (o *GetChatSettingsOK) Error() string
- func (o *GetChatSettingsOK) GetPayload() *models.ChatSettings
- func (o *GetChatSettingsOK) IsClientError() bool
- func (o *GetChatSettingsOK) IsCode(code int) bool
- func (o *GetChatSettingsOK) IsRedirect() bool
- func (o *GetChatSettingsOK) IsServerError() bool
- func (o *GetChatSettingsOK) IsSuccess() bool
- func (o *GetChatSettingsOK) String() string
- type GetChatSettingsParams
- func NewGetChatSettingsParams() *GetChatSettingsParams
- func NewGetChatSettingsParamsWithContext(ctx context.Context) *GetChatSettingsParams
- func NewGetChatSettingsParamsWithHTTPClient(client *http.Client) *GetChatSettingsParams
- func NewGetChatSettingsParamsWithTimeout(timeout time.Duration) *GetChatSettingsParams
- func (o *GetChatSettingsParams) SetContext(ctx context.Context)
- func (o *GetChatSettingsParams) SetDefaults()
- func (o *GetChatSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetChatSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetChatSettingsParams) WithContext(ctx context.Context) *GetChatSettingsParams
- func (o *GetChatSettingsParams) WithDefaults() *GetChatSettingsParams
- func (o *GetChatSettingsParams) WithHTTPClient(client *http.Client) *GetChatSettingsParams
- func (o *GetChatSettingsParams) WithTimeout(timeout time.Duration) *GetChatSettingsParams
- func (o *GetChatSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChatSettingsReader
- type GetChatSettingsRequestEntityTooLarge
- func (o *GetChatSettingsRequestEntityTooLarge) Error() string
- func (o *GetChatSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *GetChatSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetChatSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetChatSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *GetChatSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetChatSettingsRequestEntityTooLarge) String() string
- type GetChatSettingsRequestTimeout
- func (o *GetChatSettingsRequestTimeout) Error() string
- func (o *GetChatSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsRequestTimeout) IsClientError() bool
- func (o *GetChatSettingsRequestTimeout) IsCode(code int) bool
- func (o *GetChatSettingsRequestTimeout) IsRedirect() bool
- func (o *GetChatSettingsRequestTimeout) IsServerError() bool
- func (o *GetChatSettingsRequestTimeout) IsSuccess() bool
- func (o *GetChatSettingsRequestTimeout) String() string
- type GetChatSettingsServiceUnavailable
- func (o *GetChatSettingsServiceUnavailable) Error() string
- func (o *GetChatSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsServiceUnavailable) IsClientError() bool
- func (o *GetChatSettingsServiceUnavailable) IsCode(code int) bool
- func (o *GetChatSettingsServiceUnavailable) IsRedirect() bool
- func (o *GetChatSettingsServiceUnavailable) IsServerError() bool
- func (o *GetChatSettingsServiceUnavailable) IsSuccess() bool
- func (o *GetChatSettingsServiceUnavailable) String() string
- type GetChatSettingsTooManyRequests
- func (o *GetChatSettingsTooManyRequests) Error() string
- func (o *GetChatSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsTooManyRequests) IsClientError() bool
- func (o *GetChatSettingsTooManyRequests) IsCode(code int) bool
- func (o *GetChatSettingsTooManyRequests) IsRedirect() bool
- func (o *GetChatSettingsTooManyRequests) IsServerError() bool
- func (o *GetChatSettingsTooManyRequests) IsSuccess() bool
- func (o *GetChatSettingsTooManyRequests) String() string
- type GetChatSettingsUnauthorized
- func (o *GetChatSettingsUnauthorized) Error() string
- func (o *GetChatSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsUnauthorized) IsClientError() bool
- func (o *GetChatSettingsUnauthorized) IsCode(code int) bool
- func (o *GetChatSettingsUnauthorized) IsRedirect() bool
- func (o *GetChatSettingsUnauthorized) IsServerError() bool
- func (o *GetChatSettingsUnauthorized) IsSuccess() bool
- func (o *GetChatSettingsUnauthorized) String() string
- type GetChatSettingsUnsupportedMediaType
- func (o *GetChatSettingsUnsupportedMediaType) Error() string
- func (o *GetChatSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetChatSettingsUnsupportedMediaType) IsClientError() bool
- func (o *GetChatSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetChatSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *GetChatSettingsUnsupportedMediaType) IsServerError() bool
- func (o *GetChatSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *GetChatSettingsUnsupportedMediaType) String() string
- type GetChatsSettingsBadRequest
- func (o *GetChatsSettingsBadRequest) Error() string
- func (o *GetChatsSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsBadRequest) IsClientError() bool
- func (o *GetChatsSettingsBadRequest) IsCode(code int) bool
- func (o *GetChatsSettingsBadRequest) IsRedirect() bool
- func (o *GetChatsSettingsBadRequest) IsServerError() bool
- func (o *GetChatsSettingsBadRequest) IsSuccess() bool
- func (o *GetChatsSettingsBadRequest) String() string
- type GetChatsSettingsForbidden
- func (o *GetChatsSettingsForbidden) Error() string
- func (o *GetChatsSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsForbidden) IsClientError() bool
- func (o *GetChatsSettingsForbidden) IsCode(code int) bool
- func (o *GetChatsSettingsForbidden) IsRedirect() bool
- func (o *GetChatsSettingsForbidden) IsServerError() bool
- func (o *GetChatsSettingsForbidden) IsSuccess() bool
- func (o *GetChatsSettingsForbidden) String() string
- type GetChatsSettingsGatewayTimeout
- func (o *GetChatsSettingsGatewayTimeout) Error() string
- func (o *GetChatsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsGatewayTimeout) IsClientError() bool
- func (o *GetChatsSettingsGatewayTimeout) IsCode(code int) bool
- func (o *GetChatsSettingsGatewayTimeout) IsRedirect() bool
- func (o *GetChatsSettingsGatewayTimeout) IsServerError() bool
- func (o *GetChatsSettingsGatewayTimeout) IsSuccess() bool
- func (o *GetChatsSettingsGatewayTimeout) String() string
- type GetChatsSettingsInternalServerError
- func (o *GetChatsSettingsInternalServerError) Error() string
- func (o *GetChatsSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsInternalServerError) IsClientError() bool
- func (o *GetChatsSettingsInternalServerError) IsCode(code int) bool
- func (o *GetChatsSettingsInternalServerError) IsRedirect() bool
- func (o *GetChatsSettingsInternalServerError) IsServerError() bool
- func (o *GetChatsSettingsInternalServerError) IsSuccess() bool
- func (o *GetChatsSettingsInternalServerError) String() string
- type GetChatsSettingsNotFound
- func (o *GetChatsSettingsNotFound) Error() string
- func (o *GetChatsSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsNotFound) IsClientError() bool
- func (o *GetChatsSettingsNotFound) IsCode(code int) bool
- func (o *GetChatsSettingsNotFound) IsRedirect() bool
- func (o *GetChatsSettingsNotFound) IsServerError() bool
- func (o *GetChatsSettingsNotFound) IsSuccess() bool
- func (o *GetChatsSettingsNotFound) String() string
- type GetChatsSettingsOK
- func (o *GetChatsSettingsOK) Error() string
- func (o *GetChatsSettingsOK) GetPayload() *models.ChatSettings
- func (o *GetChatsSettingsOK) IsClientError() bool
- func (o *GetChatsSettingsOK) IsCode(code int) bool
- func (o *GetChatsSettingsOK) IsRedirect() bool
- func (o *GetChatsSettingsOK) IsServerError() bool
- func (o *GetChatsSettingsOK) IsSuccess() bool
- func (o *GetChatsSettingsOK) String() string
- type GetChatsSettingsParams
- func NewGetChatsSettingsParams() *GetChatsSettingsParams
- func NewGetChatsSettingsParamsWithContext(ctx context.Context) *GetChatsSettingsParams
- func NewGetChatsSettingsParamsWithHTTPClient(client *http.Client) *GetChatsSettingsParams
- func NewGetChatsSettingsParamsWithTimeout(timeout time.Duration) *GetChatsSettingsParams
- func (o *GetChatsSettingsParams) SetContext(ctx context.Context)
- func (o *GetChatsSettingsParams) SetDefaults()
- func (o *GetChatsSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetChatsSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetChatsSettingsParams) WithContext(ctx context.Context) *GetChatsSettingsParams
- func (o *GetChatsSettingsParams) WithDefaults() *GetChatsSettingsParams
- func (o *GetChatsSettingsParams) WithHTTPClient(client *http.Client) *GetChatsSettingsParams
- func (o *GetChatsSettingsParams) WithTimeout(timeout time.Duration) *GetChatsSettingsParams
- func (o *GetChatsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChatsSettingsReader
- type GetChatsSettingsRequestEntityTooLarge
- func (o *GetChatsSettingsRequestEntityTooLarge) Error() string
- func (o *GetChatsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *GetChatsSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetChatsSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetChatsSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *GetChatsSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetChatsSettingsRequestEntityTooLarge) String() string
- type GetChatsSettingsRequestTimeout
- func (o *GetChatsSettingsRequestTimeout) Error() string
- func (o *GetChatsSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsRequestTimeout) IsClientError() bool
- func (o *GetChatsSettingsRequestTimeout) IsCode(code int) bool
- func (o *GetChatsSettingsRequestTimeout) IsRedirect() bool
- func (o *GetChatsSettingsRequestTimeout) IsServerError() bool
- func (o *GetChatsSettingsRequestTimeout) IsSuccess() bool
- func (o *GetChatsSettingsRequestTimeout) String() string
- type GetChatsSettingsServiceUnavailable
- func (o *GetChatsSettingsServiceUnavailable) Error() string
- func (o *GetChatsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsServiceUnavailable) IsClientError() bool
- func (o *GetChatsSettingsServiceUnavailable) IsCode(code int) bool
- func (o *GetChatsSettingsServiceUnavailable) IsRedirect() bool
- func (o *GetChatsSettingsServiceUnavailable) IsServerError() bool
- func (o *GetChatsSettingsServiceUnavailable) IsSuccess() bool
- func (o *GetChatsSettingsServiceUnavailable) String() string
- type GetChatsSettingsTooManyRequests
- func (o *GetChatsSettingsTooManyRequests) Error() string
- func (o *GetChatsSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsTooManyRequests) IsClientError() bool
- func (o *GetChatsSettingsTooManyRequests) IsCode(code int) bool
- func (o *GetChatsSettingsTooManyRequests) IsRedirect() bool
- func (o *GetChatsSettingsTooManyRequests) IsServerError() bool
- func (o *GetChatsSettingsTooManyRequests) IsSuccess() bool
- func (o *GetChatsSettingsTooManyRequests) String() string
- type GetChatsSettingsUnauthorized
- func (o *GetChatsSettingsUnauthorized) Error() string
- func (o *GetChatsSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsUnauthorized) IsClientError() bool
- func (o *GetChatsSettingsUnauthorized) IsCode(code int) bool
- func (o *GetChatsSettingsUnauthorized) IsRedirect() bool
- func (o *GetChatsSettingsUnauthorized) IsServerError() bool
- func (o *GetChatsSettingsUnauthorized) IsSuccess() bool
- func (o *GetChatsSettingsUnauthorized) String() string
- type GetChatsSettingsUnsupportedMediaType
- func (o *GetChatsSettingsUnsupportedMediaType) Error() string
- func (o *GetChatsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetChatsSettingsUnsupportedMediaType) IsClientError() bool
- func (o *GetChatsSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetChatsSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *GetChatsSettingsUnsupportedMediaType) IsServerError() bool
- func (o *GetChatsSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *GetChatsSettingsUnsupportedMediaType) String() string
- type PatchChatSettingsBadRequest
- func (o *PatchChatSettingsBadRequest) Error() string
- func (o *PatchChatSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsBadRequest) IsClientError() bool
- func (o *PatchChatSettingsBadRequest) IsCode(code int) bool
- func (o *PatchChatSettingsBadRequest) IsRedirect() bool
- func (o *PatchChatSettingsBadRequest) IsServerError() bool
- func (o *PatchChatSettingsBadRequest) IsSuccess() bool
- func (o *PatchChatSettingsBadRequest) String() string
- type PatchChatSettingsForbidden
- func (o *PatchChatSettingsForbidden) Error() string
- func (o *PatchChatSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsForbidden) IsClientError() bool
- func (o *PatchChatSettingsForbidden) IsCode(code int) bool
- func (o *PatchChatSettingsForbidden) IsRedirect() bool
- func (o *PatchChatSettingsForbidden) IsServerError() bool
- func (o *PatchChatSettingsForbidden) IsSuccess() bool
- func (o *PatchChatSettingsForbidden) String() string
- type PatchChatSettingsGatewayTimeout
- func (o *PatchChatSettingsGatewayTimeout) Error() string
- func (o *PatchChatSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsGatewayTimeout) IsClientError() bool
- func (o *PatchChatSettingsGatewayTimeout) IsCode(code int) bool
- func (o *PatchChatSettingsGatewayTimeout) IsRedirect() bool
- func (o *PatchChatSettingsGatewayTimeout) IsServerError() bool
- func (o *PatchChatSettingsGatewayTimeout) IsSuccess() bool
- func (o *PatchChatSettingsGatewayTimeout) String() string
- type PatchChatSettingsInternalServerError
- func (o *PatchChatSettingsInternalServerError) Error() string
- func (o *PatchChatSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsInternalServerError) IsClientError() bool
- func (o *PatchChatSettingsInternalServerError) IsCode(code int) bool
- func (o *PatchChatSettingsInternalServerError) IsRedirect() bool
- func (o *PatchChatSettingsInternalServerError) IsServerError() bool
- func (o *PatchChatSettingsInternalServerError) IsSuccess() bool
- func (o *PatchChatSettingsInternalServerError) String() string
- type PatchChatSettingsNotFound
- func (o *PatchChatSettingsNotFound) Error() string
- func (o *PatchChatSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsNotFound) IsClientError() bool
- func (o *PatchChatSettingsNotFound) IsCode(code int) bool
- func (o *PatchChatSettingsNotFound) IsRedirect() bool
- func (o *PatchChatSettingsNotFound) IsServerError() bool
- func (o *PatchChatSettingsNotFound) IsSuccess() bool
- func (o *PatchChatSettingsNotFound) String() string
- type PatchChatSettingsOK
- func (o *PatchChatSettingsOK) Error() string
- func (o *PatchChatSettingsOK) GetPayload() *models.ChatSettings
- func (o *PatchChatSettingsOK) IsClientError() bool
- func (o *PatchChatSettingsOK) IsCode(code int) bool
- func (o *PatchChatSettingsOK) IsRedirect() bool
- func (o *PatchChatSettingsOK) IsServerError() bool
- func (o *PatchChatSettingsOK) IsSuccess() bool
- func (o *PatchChatSettingsOK) String() string
- type PatchChatSettingsParams
- func NewPatchChatSettingsParams() *PatchChatSettingsParams
- func NewPatchChatSettingsParamsWithContext(ctx context.Context) *PatchChatSettingsParams
- func NewPatchChatSettingsParamsWithHTTPClient(client *http.Client) *PatchChatSettingsParams
- func NewPatchChatSettingsParamsWithTimeout(timeout time.Duration) *PatchChatSettingsParams
- func (o *PatchChatSettingsParams) SetBody(body *models.ChatSettings)
- func (o *PatchChatSettingsParams) SetContext(ctx context.Context)
- func (o *PatchChatSettingsParams) SetDefaults()
- func (o *PatchChatSettingsParams) SetHTTPClient(client *http.Client)
- func (o *PatchChatSettingsParams) SetTimeout(timeout time.Duration)
- func (o *PatchChatSettingsParams) WithBody(body *models.ChatSettings) *PatchChatSettingsParams
- func (o *PatchChatSettingsParams) WithContext(ctx context.Context) *PatchChatSettingsParams
- func (o *PatchChatSettingsParams) WithDefaults() *PatchChatSettingsParams
- func (o *PatchChatSettingsParams) WithHTTPClient(client *http.Client) *PatchChatSettingsParams
- func (o *PatchChatSettingsParams) WithTimeout(timeout time.Duration) *PatchChatSettingsParams
- func (o *PatchChatSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchChatSettingsReader
- type PatchChatSettingsRequestEntityTooLarge
- func (o *PatchChatSettingsRequestEntityTooLarge) Error() string
- func (o *PatchChatSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *PatchChatSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchChatSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchChatSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *PatchChatSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchChatSettingsRequestEntityTooLarge) String() string
- type PatchChatSettingsRequestTimeout
- func (o *PatchChatSettingsRequestTimeout) Error() string
- func (o *PatchChatSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsRequestTimeout) IsClientError() bool
- func (o *PatchChatSettingsRequestTimeout) IsCode(code int) bool
- func (o *PatchChatSettingsRequestTimeout) IsRedirect() bool
- func (o *PatchChatSettingsRequestTimeout) IsServerError() bool
- func (o *PatchChatSettingsRequestTimeout) IsSuccess() bool
- func (o *PatchChatSettingsRequestTimeout) String() string
- type PatchChatSettingsServiceUnavailable
- func (o *PatchChatSettingsServiceUnavailable) Error() string
- func (o *PatchChatSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsServiceUnavailable) IsClientError() bool
- func (o *PatchChatSettingsServiceUnavailable) IsCode(code int) bool
- func (o *PatchChatSettingsServiceUnavailable) IsRedirect() bool
- func (o *PatchChatSettingsServiceUnavailable) IsServerError() bool
- func (o *PatchChatSettingsServiceUnavailable) IsSuccess() bool
- func (o *PatchChatSettingsServiceUnavailable) String() string
- type PatchChatSettingsTooManyRequests
- func (o *PatchChatSettingsTooManyRequests) Error() string
- func (o *PatchChatSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsTooManyRequests) IsClientError() bool
- func (o *PatchChatSettingsTooManyRequests) IsCode(code int) bool
- func (o *PatchChatSettingsTooManyRequests) IsRedirect() bool
- func (o *PatchChatSettingsTooManyRequests) IsServerError() bool
- func (o *PatchChatSettingsTooManyRequests) IsSuccess() bool
- func (o *PatchChatSettingsTooManyRequests) String() string
- type PatchChatSettingsUnauthorized
- func (o *PatchChatSettingsUnauthorized) Error() string
- func (o *PatchChatSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsUnauthorized) IsClientError() bool
- func (o *PatchChatSettingsUnauthorized) IsCode(code int) bool
- func (o *PatchChatSettingsUnauthorized) IsRedirect() bool
- func (o *PatchChatSettingsUnauthorized) IsServerError() bool
- func (o *PatchChatSettingsUnauthorized) IsSuccess() bool
- func (o *PatchChatSettingsUnauthorized) String() string
- type PatchChatSettingsUnsupportedMediaType
- func (o *PatchChatSettingsUnsupportedMediaType) Error() string
- func (o *PatchChatSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PatchChatSettingsUnsupportedMediaType) IsClientError() bool
- func (o *PatchChatSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchChatSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *PatchChatSettingsUnsupportedMediaType) IsServerError() bool
- func (o *PatchChatSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *PatchChatSettingsUnsupportedMediaType) String() string
- type PatchChatsSettingsBadRequest
- func (o *PatchChatsSettingsBadRequest) Error() string
- func (o *PatchChatsSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsBadRequest) IsClientError() bool
- func (o *PatchChatsSettingsBadRequest) IsCode(code int) bool
- func (o *PatchChatsSettingsBadRequest) IsRedirect() bool
- func (o *PatchChatsSettingsBadRequest) IsServerError() bool
- func (o *PatchChatsSettingsBadRequest) IsSuccess() bool
- func (o *PatchChatsSettingsBadRequest) String() string
- type PatchChatsSettingsForbidden
- func (o *PatchChatsSettingsForbidden) Error() string
- func (o *PatchChatsSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsForbidden) IsClientError() bool
- func (o *PatchChatsSettingsForbidden) IsCode(code int) bool
- func (o *PatchChatsSettingsForbidden) IsRedirect() bool
- func (o *PatchChatsSettingsForbidden) IsServerError() bool
- func (o *PatchChatsSettingsForbidden) IsSuccess() bool
- func (o *PatchChatsSettingsForbidden) String() string
- type PatchChatsSettingsGatewayTimeout
- func (o *PatchChatsSettingsGatewayTimeout) Error() string
- func (o *PatchChatsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsGatewayTimeout) IsClientError() bool
- func (o *PatchChatsSettingsGatewayTimeout) IsCode(code int) bool
- func (o *PatchChatsSettingsGatewayTimeout) IsRedirect() bool
- func (o *PatchChatsSettingsGatewayTimeout) IsServerError() bool
- func (o *PatchChatsSettingsGatewayTimeout) IsSuccess() bool
- func (o *PatchChatsSettingsGatewayTimeout) String() string
- type PatchChatsSettingsInternalServerError
- func (o *PatchChatsSettingsInternalServerError) Error() string
- func (o *PatchChatsSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsInternalServerError) IsClientError() bool
- func (o *PatchChatsSettingsInternalServerError) IsCode(code int) bool
- func (o *PatchChatsSettingsInternalServerError) IsRedirect() bool
- func (o *PatchChatsSettingsInternalServerError) IsServerError() bool
- func (o *PatchChatsSettingsInternalServerError) IsSuccess() bool
- func (o *PatchChatsSettingsInternalServerError) String() string
- type PatchChatsSettingsNotFound
- func (o *PatchChatsSettingsNotFound) Error() string
- func (o *PatchChatsSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsNotFound) IsClientError() bool
- func (o *PatchChatsSettingsNotFound) IsCode(code int) bool
- func (o *PatchChatsSettingsNotFound) IsRedirect() bool
- func (o *PatchChatsSettingsNotFound) IsServerError() bool
- func (o *PatchChatsSettingsNotFound) IsSuccess() bool
- func (o *PatchChatsSettingsNotFound) String() string
- type PatchChatsSettingsOK
- func (o *PatchChatsSettingsOK) Error() string
- func (o *PatchChatsSettingsOK) GetPayload() *models.ChatSettings
- func (o *PatchChatsSettingsOK) IsClientError() bool
- func (o *PatchChatsSettingsOK) IsCode(code int) bool
- func (o *PatchChatsSettingsOK) IsRedirect() bool
- func (o *PatchChatsSettingsOK) IsServerError() bool
- func (o *PatchChatsSettingsOK) IsSuccess() bool
- func (o *PatchChatsSettingsOK) String() string
- type PatchChatsSettingsParams
- func NewPatchChatsSettingsParams() *PatchChatsSettingsParams
- func NewPatchChatsSettingsParamsWithContext(ctx context.Context) *PatchChatsSettingsParams
- func NewPatchChatsSettingsParamsWithHTTPClient(client *http.Client) *PatchChatsSettingsParams
- func NewPatchChatsSettingsParamsWithTimeout(timeout time.Duration) *PatchChatsSettingsParams
- func (o *PatchChatsSettingsParams) SetBody(body *models.ChatSettings)
- func (o *PatchChatsSettingsParams) SetContext(ctx context.Context)
- func (o *PatchChatsSettingsParams) SetDefaults()
- func (o *PatchChatsSettingsParams) SetHTTPClient(client *http.Client)
- func (o *PatchChatsSettingsParams) SetTimeout(timeout time.Duration)
- func (o *PatchChatsSettingsParams) WithBody(body *models.ChatSettings) *PatchChatsSettingsParams
- func (o *PatchChatsSettingsParams) WithContext(ctx context.Context) *PatchChatsSettingsParams
- func (o *PatchChatsSettingsParams) WithDefaults() *PatchChatsSettingsParams
- func (o *PatchChatsSettingsParams) WithHTTPClient(client *http.Client) *PatchChatsSettingsParams
- func (o *PatchChatsSettingsParams) WithTimeout(timeout time.Duration) *PatchChatsSettingsParams
- func (o *PatchChatsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchChatsSettingsReader
- type PatchChatsSettingsRequestEntityTooLarge
- func (o *PatchChatsSettingsRequestEntityTooLarge) Error() string
- func (o *PatchChatsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *PatchChatsSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchChatsSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchChatsSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *PatchChatsSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchChatsSettingsRequestEntityTooLarge) String() string
- type PatchChatsSettingsRequestTimeout
- func (o *PatchChatsSettingsRequestTimeout) Error() string
- func (o *PatchChatsSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsRequestTimeout) IsClientError() bool
- func (o *PatchChatsSettingsRequestTimeout) IsCode(code int) bool
- func (o *PatchChatsSettingsRequestTimeout) IsRedirect() bool
- func (o *PatchChatsSettingsRequestTimeout) IsServerError() bool
- func (o *PatchChatsSettingsRequestTimeout) IsSuccess() bool
- func (o *PatchChatsSettingsRequestTimeout) String() string
- type PatchChatsSettingsServiceUnavailable
- func (o *PatchChatsSettingsServiceUnavailable) Error() string
- func (o *PatchChatsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsServiceUnavailable) IsClientError() bool
- func (o *PatchChatsSettingsServiceUnavailable) IsCode(code int) bool
- func (o *PatchChatsSettingsServiceUnavailable) IsRedirect() bool
- func (o *PatchChatsSettingsServiceUnavailable) IsServerError() bool
- func (o *PatchChatsSettingsServiceUnavailable) IsSuccess() bool
- func (o *PatchChatsSettingsServiceUnavailable) String() string
- type PatchChatsSettingsTooManyRequests
- func (o *PatchChatsSettingsTooManyRequests) Error() string
- func (o *PatchChatsSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsTooManyRequests) IsClientError() bool
- func (o *PatchChatsSettingsTooManyRequests) IsCode(code int) bool
- func (o *PatchChatsSettingsTooManyRequests) IsRedirect() bool
- func (o *PatchChatsSettingsTooManyRequests) IsServerError() bool
- func (o *PatchChatsSettingsTooManyRequests) IsSuccess() bool
- func (o *PatchChatsSettingsTooManyRequests) String() string
- type PatchChatsSettingsUnauthorized
- func (o *PatchChatsSettingsUnauthorized) Error() string
- func (o *PatchChatsSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsUnauthorized) IsClientError() bool
- func (o *PatchChatsSettingsUnauthorized) IsCode(code int) bool
- func (o *PatchChatsSettingsUnauthorized) IsRedirect() bool
- func (o *PatchChatsSettingsUnauthorized) IsServerError() bool
- func (o *PatchChatsSettingsUnauthorized) IsSuccess() bool
- func (o *PatchChatsSettingsUnauthorized) String() string
- type PatchChatsSettingsUnsupportedMediaType
- func (o *PatchChatsSettingsUnsupportedMediaType) Error() string
- func (o *PatchChatsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PatchChatsSettingsUnsupportedMediaType) IsClientError() bool
- func (o *PatchChatsSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchChatsSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *PatchChatsSettingsUnsupportedMediaType) IsServerError() bool
- func (o *PatchChatsSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *PatchChatsSettingsUnsupportedMediaType) String() string
- type PutChatSettingsBadRequest
- func (o *PutChatSettingsBadRequest) Error() string
- func (o *PutChatSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsBadRequest) IsClientError() bool
- func (o *PutChatSettingsBadRequest) IsCode(code int) bool
- func (o *PutChatSettingsBadRequest) IsRedirect() bool
- func (o *PutChatSettingsBadRequest) IsServerError() bool
- func (o *PutChatSettingsBadRequest) IsSuccess() bool
- func (o *PutChatSettingsBadRequest) String() string
- type PutChatSettingsForbidden
- func (o *PutChatSettingsForbidden) Error() string
- func (o *PutChatSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsForbidden) IsClientError() bool
- func (o *PutChatSettingsForbidden) IsCode(code int) bool
- func (o *PutChatSettingsForbidden) IsRedirect() bool
- func (o *PutChatSettingsForbidden) IsServerError() bool
- func (o *PutChatSettingsForbidden) IsSuccess() bool
- func (o *PutChatSettingsForbidden) String() string
- type PutChatSettingsGatewayTimeout
- func (o *PutChatSettingsGatewayTimeout) Error() string
- func (o *PutChatSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsGatewayTimeout) IsClientError() bool
- func (o *PutChatSettingsGatewayTimeout) IsCode(code int) bool
- func (o *PutChatSettingsGatewayTimeout) IsRedirect() bool
- func (o *PutChatSettingsGatewayTimeout) IsServerError() bool
- func (o *PutChatSettingsGatewayTimeout) IsSuccess() bool
- func (o *PutChatSettingsGatewayTimeout) String() string
- type PutChatSettingsInternalServerError
- func (o *PutChatSettingsInternalServerError) Error() string
- func (o *PutChatSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsInternalServerError) IsClientError() bool
- func (o *PutChatSettingsInternalServerError) IsCode(code int) bool
- func (o *PutChatSettingsInternalServerError) IsRedirect() bool
- func (o *PutChatSettingsInternalServerError) IsServerError() bool
- func (o *PutChatSettingsInternalServerError) IsSuccess() bool
- func (o *PutChatSettingsInternalServerError) String() string
- type PutChatSettingsNotFound
- func (o *PutChatSettingsNotFound) Error() string
- func (o *PutChatSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsNotFound) IsClientError() bool
- func (o *PutChatSettingsNotFound) IsCode(code int) bool
- func (o *PutChatSettingsNotFound) IsRedirect() bool
- func (o *PutChatSettingsNotFound) IsServerError() bool
- func (o *PutChatSettingsNotFound) IsSuccess() bool
- func (o *PutChatSettingsNotFound) String() string
- type PutChatSettingsOK
- func (o *PutChatSettingsOK) Error() string
- func (o *PutChatSettingsOK) GetPayload() *models.ChatSettings
- func (o *PutChatSettingsOK) IsClientError() bool
- func (o *PutChatSettingsOK) IsCode(code int) bool
- func (o *PutChatSettingsOK) IsRedirect() bool
- func (o *PutChatSettingsOK) IsServerError() bool
- func (o *PutChatSettingsOK) IsSuccess() bool
- func (o *PutChatSettingsOK) String() string
- type PutChatSettingsParams
- func NewPutChatSettingsParams() *PutChatSettingsParams
- func NewPutChatSettingsParamsWithContext(ctx context.Context) *PutChatSettingsParams
- func NewPutChatSettingsParamsWithHTTPClient(client *http.Client) *PutChatSettingsParams
- func NewPutChatSettingsParamsWithTimeout(timeout time.Duration) *PutChatSettingsParams
- func (o *PutChatSettingsParams) SetBody(body *models.ChatSettings)
- func (o *PutChatSettingsParams) SetContext(ctx context.Context)
- func (o *PutChatSettingsParams) SetDefaults()
- func (o *PutChatSettingsParams) SetHTTPClient(client *http.Client)
- func (o *PutChatSettingsParams) SetTimeout(timeout time.Duration)
- func (o *PutChatSettingsParams) WithBody(body *models.ChatSettings) *PutChatSettingsParams
- func (o *PutChatSettingsParams) WithContext(ctx context.Context) *PutChatSettingsParams
- func (o *PutChatSettingsParams) WithDefaults() *PutChatSettingsParams
- func (o *PutChatSettingsParams) WithHTTPClient(client *http.Client) *PutChatSettingsParams
- func (o *PutChatSettingsParams) WithTimeout(timeout time.Duration) *PutChatSettingsParams
- func (o *PutChatSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutChatSettingsReader
- type PutChatSettingsRequestEntityTooLarge
- func (o *PutChatSettingsRequestEntityTooLarge) Error() string
- func (o *PutChatSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *PutChatSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PutChatSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *PutChatSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *PutChatSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *PutChatSettingsRequestEntityTooLarge) String() string
- type PutChatSettingsRequestTimeout
- func (o *PutChatSettingsRequestTimeout) Error() string
- func (o *PutChatSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsRequestTimeout) IsClientError() bool
- func (o *PutChatSettingsRequestTimeout) IsCode(code int) bool
- func (o *PutChatSettingsRequestTimeout) IsRedirect() bool
- func (o *PutChatSettingsRequestTimeout) IsServerError() bool
- func (o *PutChatSettingsRequestTimeout) IsSuccess() bool
- func (o *PutChatSettingsRequestTimeout) String() string
- type PutChatSettingsServiceUnavailable
- func (o *PutChatSettingsServiceUnavailable) Error() string
- func (o *PutChatSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsServiceUnavailable) IsClientError() bool
- func (o *PutChatSettingsServiceUnavailable) IsCode(code int) bool
- func (o *PutChatSettingsServiceUnavailable) IsRedirect() bool
- func (o *PutChatSettingsServiceUnavailable) IsServerError() bool
- func (o *PutChatSettingsServiceUnavailable) IsSuccess() bool
- func (o *PutChatSettingsServiceUnavailable) String() string
- type PutChatSettingsTooManyRequests
- func (o *PutChatSettingsTooManyRequests) Error() string
- func (o *PutChatSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsTooManyRequests) IsClientError() bool
- func (o *PutChatSettingsTooManyRequests) IsCode(code int) bool
- func (o *PutChatSettingsTooManyRequests) IsRedirect() bool
- func (o *PutChatSettingsTooManyRequests) IsServerError() bool
- func (o *PutChatSettingsTooManyRequests) IsSuccess() bool
- func (o *PutChatSettingsTooManyRequests) String() string
- type PutChatSettingsUnauthorized
- func (o *PutChatSettingsUnauthorized) Error() string
- func (o *PutChatSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsUnauthorized) IsClientError() bool
- func (o *PutChatSettingsUnauthorized) IsCode(code int) bool
- func (o *PutChatSettingsUnauthorized) IsRedirect() bool
- func (o *PutChatSettingsUnauthorized) IsServerError() bool
- func (o *PutChatSettingsUnauthorized) IsSuccess() bool
- func (o *PutChatSettingsUnauthorized) String() string
- type PutChatSettingsUnsupportedMediaType
- func (o *PutChatSettingsUnsupportedMediaType) Error() string
- func (o *PutChatSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PutChatSettingsUnsupportedMediaType) IsClientError() bool
- func (o *PutChatSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *PutChatSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *PutChatSettingsUnsupportedMediaType) IsServerError() bool
- func (o *PutChatSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *PutChatSettingsUnsupportedMediaType) String() string
- type PutChatsSettingsBadRequest
- func (o *PutChatsSettingsBadRequest) Error() string
- func (o *PutChatsSettingsBadRequest) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsBadRequest) IsClientError() bool
- func (o *PutChatsSettingsBadRequest) IsCode(code int) bool
- func (o *PutChatsSettingsBadRequest) IsRedirect() bool
- func (o *PutChatsSettingsBadRequest) IsServerError() bool
- func (o *PutChatsSettingsBadRequest) IsSuccess() bool
- func (o *PutChatsSettingsBadRequest) String() string
- type PutChatsSettingsForbidden
- func (o *PutChatsSettingsForbidden) Error() string
- func (o *PutChatsSettingsForbidden) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsForbidden) IsClientError() bool
- func (o *PutChatsSettingsForbidden) IsCode(code int) bool
- func (o *PutChatsSettingsForbidden) IsRedirect() bool
- func (o *PutChatsSettingsForbidden) IsServerError() bool
- func (o *PutChatsSettingsForbidden) IsSuccess() bool
- func (o *PutChatsSettingsForbidden) String() string
- type PutChatsSettingsGatewayTimeout
- func (o *PutChatsSettingsGatewayTimeout) Error() string
- func (o *PutChatsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsGatewayTimeout) IsClientError() bool
- func (o *PutChatsSettingsGatewayTimeout) IsCode(code int) bool
- func (o *PutChatsSettingsGatewayTimeout) IsRedirect() bool
- func (o *PutChatsSettingsGatewayTimeout) IsServerError() bool
- func (o *PutChatsSettingsGatewayTimeout) IsSuccess() bool
- func (o *PutChatsSettingsGatewayTimeout) String() string
- type PutChatsSettingsInternalServerError
- func (o *PutChatsSettingsInternalServerError) Error() string
- func (o *PutChatsSettingsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsInternalServerError) IsClientError() bool
- func (o *PutChatsSettingsInternalServerError) IsCode(code int) bool
- func (o *PutChatsSettingsInternalServerError) IsRedirect() bool
- func (o *PutChatsSettingsInternalServerError) IsServerError() bool
- func (o *PutChatsSettingsInternalServerError) IsSuccess() bool
- func (o *PutChatsSettingsInternalServerError) String() string
- type PutChatsSettingsNotFound
- func (o *PutChatsSettingsNotFound) Error() string
- func (o *PutChatsSettingsNotFound) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsNotFound) IsClientError() bool
- func (o *PutChatsSettingsNotFound) IsCode(code int) bool
- func (o *PutChatsSettingsNotFound) IsRedirect() bool
- func (o *PutChatsSettingsNotFound) IsServerError() bool
- func (o *PutChatsSettingsNotFound) IsSuccess() bool
- func (o *PutChatsSettingsNotFound) String() string
- type PutChatsSettingsOK
- func (o *PutChatsSettingsOK) Error() string
- func (o *PutChatsSettingsOK) GetPayload() *models.ChatSettings
- func (o *PutChatsSettingsOK) IsClientError() bool
- func (o *PutChatsSettingsOK) IsCode(code int) bool
- func (o *PutChatsSettingsOK) IsRedirect() bool
- func (o *PutChatsSettingsOK) IsServerError() bool
- func (o *PutChatsSettingsOK) IsSuccess() bool
- func (o *PutChatsSettingsOK) String() string
- type PutChatsSettingsParams
- func NewPutChatsSettingsParams() *PutChatsSettingsParams
- func NewPutChatsSettingsParamsWithContext(ctx context.Context) *PutChatsSettingsParams
- func NewPutChatsSettingsParamsWithHTTPClient(client *http.Client) *PutChatsSettingsParams
- func NewPutChatsSettingsParamsWithTimeout(timeout time.Duration) *PutChatsSettingsParams
- func (o *PutChatsSettingsParams) SetBody(body *models.ChatSettings)
- func (o *PutChatsSettingsParams) SetContext(ctx context.Context)
- func (o *PutChatsSettingsParams) SetDefaults()
- func (o *PutChatsSettingsParams) SetHTTPClient(client *http.Client)
- func (o *PutChatsSettingsParams) SetTimeout(timeout time.Duration)
- func (o *PutChatsSettingsParams) WithBody(body *models.ChatSettings) *PutChatsSettingsParams
- func (o *PutChatsSettingsParams) WithContext(ctx context.Context) *PutChatsSettingsParams
- func (o *PutChatsSettingsParams) WithDefaults() *PutChatsSettingsParams
- func (o *PutChatsSettingsParams) WithHTTPClient(client *http.Client) *PutChatsSettingsParams
- func (o *PutChatsSettingsParams) WithTimeout(timeout time.Duration) *PutChatsSettingsParams
- func (o *PutChatsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutChatsSettingsReader
- type PutChatsSettingsRequestEntityTooLarge
- func (o *PutChatsSettingsRequestEntityTooLarge) Error() string
- func (o *PutChatsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsRequestEntityTooLarge) IsClientError() bool
- func (o *PutChatsSettingsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PutChatsSettingsRequestEntityTooLarge) IsRedirect() bool
- func (o *PutChatsSettingsRequestEntityTooLarge) IsServerError() bool
- func (o *PutChatsSettingsRequestEntityTooLarge) IsSuccess() bool
- func (o *PutChatsSettingsRequestEntityTooLarge) String() string
- type PutChatsSettingsRequestTimeout
- func (o *PutChatsSettingsRequestTimeout) Error() string
- func (o *PutChatsSettingsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsRequestTimeout) IsClientError() bool
- func (o *PutChatsSettingsRequestTimeout) IsCode(code int) bool
- func (o *PutChatsSettingsRequestTimeout) IsRedirect() bool
- func (o *PutChatsSettingsRequestTimeout) IsServerError() bool
- func (o *PutChatsSettingsRequestTimeout) IsSuccess() bool
- func (o *PutChatsSettingsRequestTimeout) String() string
- type PutChatsSettingsServiceUnavailable
- func (o *PutChatsSettingsServiceUnavailable) Error() string
- func (o *PutChatsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsServiceUnavailable) IsClientError() bool
- func (o *PutChatsSettingsServiceUnavailable) IsCode(code int) bool
- func (o *PutChatsSettingsServiceUnavailable) IsRedirect() bool
- func (o *PutChatsSettingsServiceUnavailable) IsServerError() bool
- func (o *PutChatsSettingsServiceUnavailable) IsSuccess() bool
- func (o *PutChatsSettingsServiceUnavailable) String() string
- type PutChatsSettingsTooManyRequests
- func (o *PutChatsSettingsTooManyRequests) Error() string
- func (o *PutChatsSettingsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsTooManyRequests) IsClientError() bool
- func (o *PutChatsSettingsTooManyRequests) IsCode(code int) bool
- func (o *PutChatsSettingsTooManyRequests) IsRedirect() bool
- func (o *PutChatsSettingsTooManyRequests) IsServerError() bool
- func (o *PutChatsSettingsTooManyRequests) IsSuccess() bool
- func (o *PutChatsSettingsTooManyRequests) String() string
- type PutChatsSettingsUnauthorized
- func (o *PutChatsSettingsUnauthorized) Error() string
- func (o *PutChatsSettingsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsUnauthorized) IsClientError() bool
- func (o *PutChatsSettingsUnauthorized) IsCode(code int) bool
- func (o *PutChatsSettingsUnauthorized) IsRedirect() bool
- func (o *PutChatsSettingsUnauthorized) IsServerError() bool
- func (o *PutChatsSettingsUnauthorized) IsSuccess() bool
- func (o *PutChatsSettingsUnauthorized) String() string
- type PutChatsSettingsUnsupportedMediaType
- func (o *PutChatsSettingsUnsupportedMediaType) Error() string
- func (o *PutChatsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PutChatsSettingsUnsupportedMediaType) IsClientError() bool
- func (o *PutChatsSettingsUnsupportedMediaType) IsCode(code int) bool
- func (o *PutChatsSettingsUnsupportedMediaType) IsRedirect() bool
- func (o *PutChatsSettingsUnsupportedMediaType) IsServerError() bool
- func (o *PutChatsSettingsUnsupportedMediaType) IsSuccess() bool
- func (o *PutChatsSettingsUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* GetChatSettings gets chat settings This route is deprecated, please use /chats/settings instead */ GetChatSettings(ctx context.Context, params *GetChatSettingsParams) (*GetChatSettingsOK, error) /* GetChatsSettings gets chat settings */ GetChatsSettings(ctx context.Context, params *GetChatsSettingsParams) (*GetChatsSettingsOK, error) /* PatchChatSettings patches chat settings This route is deprecated, please use /chats/settings instead */ PatchChatSettings(ctx context.Context, params *PatchChatSettingsParams) (*PatchChatSettingsOK, error) /* PatchChatsSettings patches chat settings */ PatchChatsSettings(ctx context.Context, params *PatchChatsSettingsParams) (*PatchChatsSettingsOK, error) /* PutChatSettings updates chat settings This route is deprecated, please use /chats/settings instead */ PutChatSettings(ctx context.Context, params *PutChatSettingsParams) (*PutChatSettingsOK, error) /* PutChatsSettings updates chat settings */ PutChatsSettings(ctx context.Context, params *PutChatsSettingsParams) (*PutChatsSettingsOK, error) }
API is the interface of the chat client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for chat API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new chat API client.
func (*Client) GetChatSettings ¶
func (a *Client) GetChatSettings(ctx context.Context, params *GetChatSettingsParams) (*GetChatSettingsOK, error)
GetChatSettings gets chat settings
This route is deprecated, please use /chats/settings instead
func (*Client) GetChatsSettings ¶
func (a *Client) GetChatsSettings(ctx context.Context, params *GetChatsSettingsParams) (*GetChatsSettingsOK, error)
GetChatsSettings gets chat settings
func (*Client) PatchChatSettings ¶
func (a *Client) PatchChatSettings(ctx context.Context, params *PatchChatSettingsParams) (*PatchChatSettingsOK, error)
PatchChatSettings patches chat settings
This route is deprecated, please use /chats/settings instead
func (*Client) PatchChatsSettings ¶
func (a *Client) PatchChatsSettings(ctx context.Context, params *PatchChatsSettingsParams) (*PatchChatsSettingsOK, error)
PatchChatsSettings patches chat settings
func (*Client) PutChatSettings ¶
func (a *Client) PutChatSettings(ctx context.Context, params *PutChatSettingsParams) (*PutChatSettingsOK, error)
PutChatSettings updates chat settings
This route is deprecated, please use /chats/settings instead
func (*Client) PutChatsSettings ¶
func (a *Client) PutChatsSettings(ctx context.Context, params *PutChatsSettingsParams) (*PutChatsSettingsOK, error)
PutChatsSettings updates chat settings
type GetChatSettingsBadRequest ¶
GetChatSettingsBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewGetChatSettingsBadRequest ¶
func NewGetChatSettingsBadRequest() *GetChatSettingsBadRequest
NewGetChatSettingsBadRequest creates a GetChatSettingsBadRequest with default headers values
func (*GetChatSettingsBadRequest) Error ¶
func (o *GetChatSettingsBadRequest) Error() string
func (*GetChatSettingsBadRequest) GetPayload ¶
func (o *GetChatSettingsBadRequest) GetPayload() *models.ErrorBody
func (*GetChatSettingsBadRequest) IsClientError ¶
func (o *GetChatSettingsBadRequest) IsClientError() bool
IsClientError returns true when this get chat settings bad request response has a 4xx status code
func (*GetChatSettingsBadRequest) IsCode ¶
func (o *GetChatSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this get chat settings bad request response a status code equal to that given
func (*GetChatSettingsBadRequest) IsRedirect ¶
func (o *GetChatSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this get chat settings bad request response has a 3xx status code
func (*GetChatSettingsBadRequest) IsServerError ¶
func (o *GetChatSettingsBadRequest) IsServerError() bool
IsServerError returns true when this get chat settings bad request response has a 5xx status code
func (*GetChatSettingsBadRequest) IsSuccess ¶
func (o *GetChatSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this get chat settings bad request response has a 2xx status code
func (*GetChatSettingsBadRequest) String ¶
func (o *GetChatSettingsBadRequest) String() string
type GetChatSettingsForbidden ¶
GetChatSettingsForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewGetChatSettingsForbidden ¶
func NewGetChatSettingsForbidden() *GetChatSettingsForbidden
NewGetChatSettingsForbidden creates a GetChatSettingsForbidden with default headers values
func (*GetChatSettingsForbidden) Error ¶
func (o *GetChatSettingsForbidden) Error() string
func (*GetChatSettingsForbidden) GetPayload ¶
func (o *GetChatSettingsForbidden) GetPayload() *models.ErrorBody
func (*GetChatSettingsForbidden) IsClientError ¶
func (o *GetChatSettingsForbidden) IsClientError() bool
IsClientError returns true when this get chat settings forbidden response has a 4xx status code
func (*GetChatSettingsForbidden) IsCode ¶
func (o *GetChatSettingsForbidden) IsCode(code int) bool
IsCode returns true when this get chat settings forbidden response a status code equal to that given
func (*GetChatSettingsForbidden) IsRedirect ¶
func (o *GetChatSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this get chat settings forbidden response has a 3xx status code
func (*GetChatSettingsForbidden) IsServerError ¶
func (o *GetChatSettingsForbidden) IsServerError() bool
IsServerError returns true when this get chat settings forbidden response has a 5xx status code
func (*GetChatSettingsForbidden) IsSuccess ¶
func (o *GetChatSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this get chat settings forbidden response has a 2xx status code
func (*GetChatSettingsForbidden) String ¶
func (o *GetChatSettingsForbidden) String() string
type GetChatSettingsGatewayTimeout ¶
GetChatSettingsGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewGetChatSettingsGatewayTimeout ¶
func NewGetChatSettingsGatewayTimeout() *GetChatSettingsGatewayTimeout
NewGetChatSettingsGatewayTimeout creates a GetChatSettingsGatewayTimeout with default headers values
func (*GetChatSettingsGatewayTimeout) Error ¶
func (o *GetChatSettingsGatewayTimeout) Error() string
func (*GetChatSettingsGatewayTimeout) GetPayload ¶
func (o *GetChatSettingsGatewayTimeout) GetPayload() *models.ErrorBody
func (*GetChatSettingsGatewayTimeout) IsClientError ¶
func (o *GetChatSettingsGatewayTimeout) IsClientError() bool
IsClientError returns true when this get chat settings gateway timeout response has a 4xx status code
func (*GetChatSettingsGatewayTimeout) IsCode ¶
func (o *GetChatSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get chat settings gateway timeout response a status code equal to that given
func (*GetChatSettingsGatewayTimeout) IsRedirect ¶
func (o *GetChatSettingsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this get chat settings gateway timeout response has a 3xx status code
func (*GetChatSettingsGatewayTimeout) IsServerError ¶
func (o *GetChatSettingsGatewayTimeout) IsServerError() bool
IsServerError returns true when this get chat settings gateway timeout response has a 5xx status code
func (*GetChatSettingsGatewayTimeout) IsSuccess ¶
func (o *GetChatSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get chat settings gateway timeout response has a 2xx status code
func (*GetChatSettingsGatewayTimeout) String ¶
func (o *GetChatSettingsGatewayTimeout) String() string
type GetChatSettingsInternalServerError ¶
GetChatSettingsInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewGetChatSettingsInternalServerError ¶
func NewGetChatSettingsInternalServerError() *GetChatSettingsInternalServerError
NewGetChatSettingsInternalServerError creates a GetChatSettingsInternalServerError with default headers values
func (*GetChatSettingsInternalServerError) Error ¶
func (o *GetChatSettingsInternalServerError) Error() string
func (*GetChatSettingsInternalServerError) GetPayload ¶
func (o *GetChatSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*GetChatSettingsInternalServerError) IsClientError ¶
func (o *GetChatSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this get chat settings internal server error response has a 4xx status code
func (*GetChatSettingsInternalServerError) IsCode ¶
func (o *GetChatSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get chat settings internal server error response a status code equal to that given
func (*GetChatSettingsInternalServerError) IsRedirect ¶
func (o *GetChatSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get chat settings internal server error response has a 3xx status code
func (*GetChatSettingsInternalServerError) IsServerError ¶
func (o *GetChatSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this get chat settings internal server error response has a 5xx status code
func (*GetChatSettingsInternalServerError) IsSuccess ¶
func (o *GetChatSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get chat settings internal server error response has a 2xx status code
func (*GetChatSettingsInternalServerError) String ¶
func (o *GetChatSettingsInternalServerError) String() string
type GetChatSettingsNotFound ¶
GetChatSettingsNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewGetChatSettingsNotFound ¶
func NewGetChatSettingsNotFound() *GetChatSettingsNotFound
NewGetChatSettingsNotFound creates a GetChatSettingsNotFound with default headers values
func (*GetChatSettingsNotFound) Error ¶
func (o *GetChatSettingsNotFound) Error() string
func (*GetChatSettingsNotFound) GetPayload ¶
func (o *GetChatSettingsNotFound) GetPayload() *models.ErrorBody
func (*GetChatSettingsNotFound) IsClientError ¶
func (o *GetChatSettingsNotFound) IsClientError() bool
IsClientError returns true when this get chat settings not found response has a 4xx status code
func (*GetChatSettingsNotFound) IsCode ¶
func (o *GetChatSettingsNotFound) IsCode(code int) bool
IsCode returns true when this get chat settings not found response a status code equal to that given
func (*GetChatSettingsNotFound) IsRedirect ¶
func (o *GetChatSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this get chat settings not found response has a 3xx status code
func (*GetChatSettingsNotFound) IsServerError ¶
func (o *GetChatSettingsNotFound) IsServerError() bool
IsServerError returns true when this get chat settings not found response has a 5xx status code
func (*GetChatSettingsNotFound) IsSuccess ¶
func (o *GetChatSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this get chat settings not found response has a 2xx status code
func (*GetChatSettingsNotFound) String ¶
func (o *GetChatSettingsNotFound) String() string
type GetChatSettingsOK ¶
type GetChatSettingsOK struct {
Payload *models.ChatSettings
}
GetChatSettingsOK describes a response with status code 200, with default header values.
successful operation
func NewGetChatSettingsOK ¶
func NewGetChatSettingsOK() *GetChatSettingsOK
NewGetChatSettingsOK creates a GetChatSettingsOK with default headers values
func (*GetChatSettingsOK) Error ¶
func (o *GetChatSettingsOK) Error() string
func (*GetChatSettingsOK) GetPayload ¶
func (o *GetChatSettingsOK) GetPayload() *models.ChatSettings
func (*GetChatSettingsOK) IsClientError ¶
func (o *GetChatSettingsOK) IsClientError() bool
IsClientError returns true when this get chat settings o k response has a 4xx status code
func (*GetChatSettingsOK) IsCode ¶
func (o *GetChatSettingsOK) IsCode(code int) bool
IsCode returns true when this get chat settings o k response a status code equal to that given
func (*GetChatSettingsOK) IsRedirect ¶
func (o *GetChatSettingsOK) IsRedirect() bool
IsRedirect returns true when this get chat settings o k response has a 3xx status code
func (*GetChatSettingsOK) IsServerError ¶
func (o *GetChatSettingsOK) IsServerError() bool
IsServerError returns true when this get chat settings o k response has a 5xx status code
func (*GetChatSettingsOK) IsSuccess ¶
func (o *GetChatSettingsOK) IsSuccess() bool
IsSuccess returns true when this get chat settings o k response has a 2xx status code
func (*GetChatSettingsOK) String ¶
func (o *GetChatSettingsOK) String() string
type GetChatSettingsParams ¶
type GetChatSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChatSettingsParams contains all the parameters to send to the API endpoint
for the get chat settings operation. Typically these are written to a http.Request.
func NewGetChatSettingsParams ¶
func NewGetChatSettingsParams() *GetChatSettingsParams
NewGetChatSettingsParams creates a new GetChatSettingsParams 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 NewGetChatSettingsParamsWithContext ¶
func NewGetChatSettingsParamsWithContext(ctx context.Context) *GetChatSettingsParams
NewGetChatSettingsParamsWithContext creates a new GetChatSettingsParams object with the ability to set a context for a request.
func NewGetChatSettingsParamsWithHTTPClient ¶
func NewGetChatSettingsParamsWithHTTPClient(client *http.Client) *GetChatSettingsParams
NewGetChatSettingsParamsWithHTTPClient creates a new GetChatSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetChatSettingsParamsWithTimeout ¶
func NewGetChatSettingsParamsWithTimeout(timeout time.Duration) *GetChatSettingsParams
NewGetChatSettingsParamsWithTimeout creates a new GetChatSettingsParams object with the ability to set a timeout on a request.
func (*GetChatSettingsParams) SetContext ¶
func (o *GetChatSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get chat settings params
func (*GetChatSettingsParams) SetDefaults ¶
func (o *GetChatSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get chat settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetChatSettingsParams) SetHTTPClient ¶
func (o *GetChatSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get chat settings params
func (*GetChatSettingsParams) SetTimeout ¶
func (o *GetChatSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get chat settings params
func (*GetChatSettingsParams) WithContext ¶
func (o *GetChatSettingsParams) WithContext(ctx context.Context) *GetChatSettingsParams
WithContext adds the context to the get chat settings params
func (*GetChatSettingsParams) WithDefaults ¶
func (o *GetChatSettingsParams) WithDefaults() *GetChatSettingsParams
WithDefaults hydrates default values in the get chat settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetChatSettingsParams) WithHTTPClient ¶
func (o *GetChatSettingsParams) WithHTTPClient(client *http.Client) *GetChatSettingsParams
WithHTTPClient adds the HTTPClient to the get chat settings params
func (*GetChatSettingsParams) WithTimeout ¶
func (o *GetChatSettingsParams) WithTimeout(timeout time.Duration) *GetChatSettingsParams
WithTimeout adds the timeout to the get chat settings params
func (*GetChatSettingsParams) WriteToRequest ¶
func (o *GetChatSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChatSettingsReader ¶
type GetChatSettingsReader struct {
// contains filtered or unexported fields
}
GetChatSettingsReader is a Reader for the GetChatSettings structure.
func (*GetChatSettingsReader) ReadResponse ¶
func (o *GetChatSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChatSettingsRequestEntityTooLarge ¶
GetChatSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewGetChatSettingsRequestEntityTooLarge ¶
func NewGetChatSettingsRequestEntityTooLarge() *GetChatSettingsRequestEntityTooLarge
NewGetChatSettingsRequestEntityTooLarge creates a GetChatSettingsRequestEntityTooLarge with default headers values
func (*GetChatSettingsRequestEntityTooLarge) Error ¶
func (o *GetChatSettingsRequestEntityTooLarge) Error() string
func (*GetChatSettingsRequestEntityTooLarge) GetPayload ¶
func (o *GetChatSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetChatSettingsRequestEntityTooLarge) IsClientError ¶
func (o *GetChatSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get chat settings request entity too large response has a 4xx status code
func (*GetChatSettingsRequestEntityTooLarge) IsCode ¶
func (o *GetChatSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get chat settings request entity too large response a status code equal to that given
func (*GetChatSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *GetChatSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get chat settings request entity too large response has a 3xx status code
func (*GetChatSettingsRequestEntityTooLarge) IsServerError ¶
func (o *GetChatSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get chat settings request entity too large response has a 5xx status code
func (*GetChatSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *GetChatSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get chat settings request entity too large response has a 2xx status code
func (*GetChatSettingsRequestEntityTooLarge) String ¶
func (o *GetChatSettingsRequestEntityTooLarge) String() string
type GetChatSettingsRequestTimeout ¶
GetChatSettingsRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewGetChatSettingsRequestTimeout ¶
func NewGetChatSettingsRequestTimeout() *GetChatSettingsRequestTimeout
NewGetChatSettingsRequestTimeout creates a GetChatSettingsRequestTimeout with default headers values
func (*GetChatSettingsRequestTimeout) Error ¶
func (o *GetChatSettingsRequestTimeout) Error() string
func (*GetChatSettingsRequestTimeout) GetPayload ¶
func (o *GetChatSettingsRequestTimeout) GetPayload() *models.ErrorBody
func (*GetChatSettingsRequestTimeout) IsClientError ¶
func (o *GetChatSettingsRequestTimeout) IsClientError() bool
IsClientError returns true when this get chat settings request timeout response has a 4xx status code
func (*GetChatSettingsRequestTimeout) IsCode ¶
func (o *GetChatSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this get chat settings request timeout response a status code equal to that given
func (*GetChatSettingsRequestTimeout) IsRedirect ¶
func (o *GetChatSettingsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this get chat settings request timeout response has a 3xx status code
func (*GetChatSettingsRequestTimeout) IsServerError ¶
func (o *GetChatSettingsRequestTimeout) IsServerError() bool
IsServerError returns true when this get chat settings request timeout response has a 5xx status code
func (*GetChatSettingsRequestTimeout) IsSuccess ¶
func (o *GetChatSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get chat settings request timeout response has a 2xx status code
func (*GetChatSettingsRequestTimeout) String ¶
func (o *GetChatSettingsRequestTimeout) String() string
type GetChatSettingsServiceUnavailable ¶
type GetChatSettingsServiceUnavailable struct {
}GetChatSettingsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewGetChatSettingsServiceUnavailable ¶
func NewGetChatSettingsServiceUnavailable() *GetChatSettingsServiceUnavailable
NewGetChatSettingsServiceUnavailable creates a GetChatSettingsServiceUnavailable with default headers values
func (*GetChatSettingsServiceUnavailable) Error ¶
func (o *GetChatSettingsServiceUnavailable) Error() string
func (*GetChatSettingsServiceUnavailable) GetPayload ¶
func (o *GetChatSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetChatSettingsServiceUnavailable) IsClientError ¶
func (o *GetChatSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get chat settings service unavailable response has a 4xx status code
func (*GetChatSettingsServiceUnavailable) IsCode ¶
func (o *GetChatSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get chat settings service unavailable response a status code equal to that given
func (*GetChatSettingsServiceUnavailable) IsRedirect ¶
func (o *GetChatSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get chat settings service unavailable response has a 3xx status code
func (*GetChatSettingsServiceUnavailable) IsServerError ¶
func (o *GetChatSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get chat settings service unavailable response has a 5xx status code
func (*GetChatSettingsServiceUnavailable) IsSuccess ¶
func (o *GetChatSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get chat settings service unavailable response has a 2xx status code
func (*GetChatSettingsServiceUnavailable) String ¶
func (o *GetChatSettingsServiceUnavailable) String() string
type GetChatSettingsTooManyRequests ¶
GetChatSettingsTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewGetChatSettingsTooManyRequests ¶
func NewGetChatSettingsTooManyRequests() *GetChatSettingsTooManyRequests
NewGetChatSettingsTooManyRequests creates a GetChatSettingsTooManyRequests with default headers values
func (*GetChatSettingsTooManyRequests) Error ¶
func (o *GetChatSettingsTooManyRequests) Error() string
func (*GetChatSettingsTooManyRequests) GetPayload ¶
func (o *GetChatSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*GetChatSettingsTooManyRequests) IsClientError ¶
func (o *GetChatSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this get chat settings too many requests response has a 4xx status code
func (*GetChatSettingsTooManyRequests) IsCode ¶
func (o *GetChatSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get chat settings too many requests response a status code equal to that given
func (*GetChatSettingsTooManyRequests) IsRedirect ¶
func (o *GetChatSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get chat settings too many requests response has a 3xx status code
func (*GetChatSettingsTooManyRequests) IsServerError ¶
func (o *GetChatSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this get chat settings too many requests response has a 5xx status code
func (*GetChatSettingsTooManyRequests) IsSuccess ¶
func (o *GetChatSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get chat settings too many requests response has a 2xx status code
func (*GetChatSettingsTooManyRequests) String ¶
func (o *GetChatSettingsTooManyRequests) String() string
type GetChatSettingsUnauthorized ¶
type GetChatSettingsUnauthorized struct {
}GetChatSettingsUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewGetChatSettingsUnauthorized ¶
func NewGetChatSettingsUnauthorized() *GetChatSettingsUnauthorized
NewGetChatSettingsUnauthorized creates a GetChatSettingsUnauthorized with default headers values
func (*GetChatSettingsUnauthorized) Error ¶
func (o *GetChatSettingsUnauthorized) Error() string
func (*GetChatSettingsUnauthorized) GetPayload ¶
func (o *GetChatSettingsUnauthorized) GetPayload() *models.ErrorBody
func (*GetChatSettingsUnauthorized) IsClientError ¶
func (o *GetChatSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this get chat settings unauthorized response has a 4xx status code
func (*GetChatSettingsUnauthorized) IsCode ¶
func (o *GetChatSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this get chat settings unauthorized response a status code equal to that given
func (*GetChatSettingsUnauthorized) IsRedirect ¶
func (o *GetChatSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get chat settings unauthorized response has a 3xx status code
func (*GetChatSettingsUnauthorized) IsServerError ¶
func (o *GetChatSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this get chat settings unauthorized response has a 5xx status code
func (*GetChatSettingsUnauthorized) IsSuccess ¶
func (o *GetChatSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get chat settings unauthorized response has a 2xx status code
func (*GetChatSettingsUnauthorized) String ¶
func (o *GetChatSettingsUnauthorized) String() string
type GetChatSettingsUnsupportedMediaType ¶
GetChatSettingsUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewGetChatSettingsUnsupportedMediaType ¶
func NewGetChatSettingsUnsupportedMediaType() *GetChatSettingsUnsupportedMediaType
NewGetChatSettingsUnsupportedMediaType creates a GetChatSettingsUnsupportedMediaType with default headers values
func (*GetChatSettingsUnsupportedMediaType) Error ¶
func (o *GetChatSettingsUnsupportedMediaType) Error() string
func (*GetChatSettingsUnsupportedMediaType) GetPayload ¶
func (o *GetChatSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetChatSettingsUnsupportedMediaType) IsClientError ¶
func (o *GetChatSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get chat settings unsupported media type response has a 4xx status code
func (*GetChatSettingsUnsupportedMediaType) IsCode ¶
func (o *GetChatSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get chat settings unsupported media type response a status code equal to that given
func (*GetChatSettingsUnsupportedMediaType) IsRedirect ¶
func (o *GetChatSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get chat settings unsupported media type response has a 3xx status code
func (*GetChatSettingsUnsupportedMediaType) IsServerError ¶
func (o *GetChatSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get chat settings unsupported media type response has a 5xx status code
func (*GetChatSettingsUnsupportedMediaType) IsSuccess ¶
func (o *GetChatSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get chat settings unsupported media type response has a 2xx status code
func (*GetChatSettingsUnsupportedMediaType) String ¶
func (o *GetChatSettingsUnsupportedMediaType) String() string
type GetChatsSettingsBadRequest ¶
GetChatsSettingsBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewGetChatsSettingsBadRequest ¶
func NewGetChatsSettingsBadRequest() *GetChatsSettingsBadRequest
NewGetChatsSettingsBadRequest creates a GetChatsSettingsBadRequest with default headers values
func (*GetChatsSettingsBadRequest) Error ¶
func (o *GetChatsSettingsBadRequest) Error() string
func (*GetChatsSettingsBadRequest) GetPayload ¶
func (o *GetChatsSettingsBadRequest) GetPayload() *models.ErrorBody
func (*GetChatsSettingsBadRequest) IsClientError ¶
func (o *GetChatsSettingsBadRequest) IsClientError() bool
IsClientError returns true when this get chats settings bad request response has a 4xx status code
func (*GetChatsSettingsBadRequest) IsCode ¶
func (o *GetChatsSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this get chats settings bad request response a status code equal to that given
func (*GetChatsSettingsBadRequest) IsRedirect ¶
func (o *GetChatsSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this get chats settings bad request response has a 3xx status code
func (*GetChatsSettingsBadRequest) IsServerError ¶
func (o *GetChatsSettingsBadRequest) IsServerError() bool
IsServerError returns true when this get chats settings bad request response has a 5xx status code
func (*GetChatsSettingsBadRequest) IsSuccess ¶
func (o *GetChatsSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this get chats settings bad request response has a 2xx status code
func (*GetChatsSettingsBadRequest) String ¶
func (o *GetChatsSettingsBadRequest) String() string
type GetChatsSettingsForbidden ¶
GetChatsSettingsForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewGetChatsSettingsForbidden ¶
func NewGetChatsSettingsForbidden() *GetChatsSettingsForbidden
NewGetChatsSettingsForbidden creates a GetChatsSettingsForbidden with default headers values
func (*GetChatsSettingsForbidden) Error ¶
func (o *GetChatsSettingsForbidden) Error() string
func (*GetChatsSettingsForbidden) GetPayload ¶
func (o *GetChatsSettingsForbidden) GetPayload() *models.ErrorBody
func (*GetChatsSettingsForbidden) IsClientError ¶
func (o *GetChatsSettingsForbidden) IsClientError() bool
IsClientError returns true when this get chats settings forbidden response has a 4xx status code
func (*GetChatsSettingsForbidden) IsCode ¶
func (o *GetChatsSettingsForbidden) IsCode(code int) bool
IsCode returns true when this get chats settings forbidden response a status code equal to that given
func (*GetChatsSettingsForbidden) IsRedirect ¶
func (o *GetChatsSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this get chats settings forbidden response has a 3xx status code
func (*GetChatsSettingsForbidden) IsServerError ¶
func (o *GetChatsSettingsForbidden) IsServerError() bool
IsServerError returns true when this get chats settings forbidden response has a 5xx status code
func (*GetChatsSettingsForbidden) IsSuccess ¶
func (o *GetChatsSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this get chats settings forbidden response has a 2xx status code
func (*GetChatsSettingsForbidden) String ¶
func (o *GetChatsSettingsForbidden) String() string
type GetChatsSettingsGatewayTimeout ¶
GetChatsSettingsGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewGetChatsSettingsGatewayTimeout ¶
func NewGetChatsSettingsGatewayTimeout() *GetChatsSettingsGatewayTimeout
NewGetChatsSettingsGatewayTimeout creates a GetChatsSettingsGatewayTimeout with default headers values
func (*GetChatsSettingsGatewayTimeout) Error ¶
func (o *GetChatsSettingsGatewayTimeout) Error() string
func (*GetChatsSettingsGatewayTimeout) GetPayload ¶
func (o *GetChatsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
func (*GetChatsSettingsGatewayTimeout) IsClientError ¶
func (o *GetChatsSettingsGatewayTimeout) IsClientError() bool
IsClientError returns true when this get chats settings gateway timeout response has a 4xx status code
func (*GetChatsSettingsGatewayTimeout) IsCode ¶
func (o *GetChatsSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get chats settings gateway timeout response a status code equal to that given
func (*GetChatsSettingsGatewayTimeout) IsRedirect ¶
func (o *GetChatsSettingsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this get chats settings gateway timeout response has a 3xx status code
func (*GetChatsSettingsGatewayTimeout) IsServerError ¶
func (o *GetChatsSettingsGatewayTimeout) IsServerError() bool
IsServerError returns true when this get chats settings gateway timeout response has a 5xx status code
func (*GetChatsSettingsGatewayTimeout) IsSuccess ¶
func (o *GetChatsSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get chats settings gateway timeout response has a 2xx status code
func (*GetChatsSettingsGatewayTimeout) String ¶
func (o *GetChatsSettingsGatewayTimeout) String() string
type GetChatsSettingsInternalServerError ¶
GetChatsSettingsInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewGetChatsSettingsInternalServerError ¶
func NewGetChatsSettingsInternalServerError() *GetChatsSettingsInternalServerError
NewGetChatsSettingsInternalServerError creates a GetChatsSettingsInternalServerError with default headers values
func (*GetChatsSettingsInternalServerError) Error ¶
func (o *GetChatsSettingsInternalServerError) Error() string
func (*GetChatsSettingsInternalServerError) GetPayload ¶
func (o *GetChatsSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*GetChatsSettingsInternalServerError) IsClientError ¶
func (o *GetChatsSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this get chats settings internal server error response has a 4xx status code
func (*GetChatsSettingsInternalServerError) IsCode ¶
func (o *GetChatsSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get chats settings internal server error response a status code equal to that given
func (*GetChatsSettingsInternalServerError) IsRedirect ¶
func (o *GetChatsSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get chats settings internal server error response has a 3xx status code
func (*GetChatsSettingsInternalServerError) IsServerError ¶
func (o *GetChatsSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this get chats settings internal server error response has a 5xx status code
func (*GetChatsSettingsInternalServerError) IsSuccess ¶
func (o *GetChatsSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get chats settings internal server error response has a 2xx status code
func (*GetChatsSettingsInternalServerError) String ¶
func (o *GetChatsSettingsInternalServerError) String() string
type GetChatsSettingsNotFound ¶
GetChatsSettingsNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewGetChatsSettingsNotFound ¶
func NewGetChatsSettingsNotFound() *GetChatsSettingsNotFound
NewGetChatsSettingsNotFound creates a GetChatsSettingsNotFound with default headers values
func (*GetChatsSettingsNotFound) Error ¶
func (o *GetChatsSettingsNotFound) Error() string
func (*GetChatsSettingsNotFound) GetPayload ¶
func (o *GetChatsSettingsNotFound) GetPayload() *models.ErrorBody
func (*GetChatsSettingsNotFound) IsClientError ¶
func (o *GetChatsSettingsNotFound) IsClientError() bool
IsClientError returns true when this get chats settings not found response has a 4xx status code
func (*GetChatsSettingsNotFound) IsCode ¶
func (o *GetChatsSettingsNotFound) IsCode(code int) bool
IsCode returns true when this get chats settings not found response a status code equal to that given
func (*GetChatsSettingsNotFound) IsRedirect ¶
func (o *GetChatsSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this get chats settings not found response has a 3xx status code
func (*GetChatsSettingsNotFound) IsServerError ¶
func (o *GetChatsSettingsNotFound) IsServerError() bool
IsServerError returns true when this get chats settings not found response has a 5xx status code
func (*GetChatsSettingsNotFound) IsSuccess ¶
func (o *GetChatsSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this get chats settings not found response has a 2xx status code
func (*GetChatsSettingsNotFound) String ¶
func (o *GetChatsSettingsNotFound) String() string
type GetChatsSettingsOK ¶
type GetChatsSettingsOK struct {
Payload *models.ChatSettings
}
GetChatsSettingsOK describes a response with status code 200, with default header values.
successful operation
func NewGetChatsSettingsOK ¶
func NewGetChatsSettingsOK() *GetChatsSettingsOK
NewGetChatsSettingsOK creates a GetChatsSettingsOK with default headers values
func (*GetChatsSettingsOK) Error ¶
func (o *GetChatsSettingsOK) Error() string
func (*GetChatsSettingsOK) GetPayload ¶
func (o *GetChatsSettingsOK) GetPayload() *models.ChatSettings
func (*GetChatsSettingsOK) IsClientError ¶
func (o *GetChatsSettingsOK) IsClientError() bool
IsClientError returns true when this get chats settings o k response has a 4xx status code
func (*GetChatsSettingsOK) IsCode ¶
func (o *GetChatsSettingsOK) IsCode(code int) bool
IsCode returns true when this get chats settings o k response a status code equal to that given
func (*GetChatsSettingsOK) IsRedirect ¶
func (o *GetChatsSettingsOK) IsRedirect() bool
IsRedirect returns true when this get chats settings o k response has a 3xx status code
func (*GetChatsSettingsOK) IsServerError ¶
func (o *GetChatsSettingsOK) IsServerError() bool
IsServerError returns true when this get chats settings o k response has a 5xx status code
func (*GetChatsSettingsOK) IsSuccess ¶
func (o *GetChatsSettingsOK) IsSuccess() bool
IsSuccess returns true when this get chats settings o k response has a 2xx status code
func (*GetChatsSettingsOK) String ¶
func (o *GetChatsSettingsOK) String() string
type GetChatsSettingsParams ¶
type GetChatsSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChatsSettingsParams contains all the parameters to send to the API endpoint
for the get chats settings operation. Typically these are written to a http.Request.
func NewGetChatsSettingsParams ¶
func NewGetChatsSettingsParams() *GetChatsSettingsParams
NewGetChatsSettingsParams creates a new GetChatsSettingsParams 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 NewGetChatsSettingsParamsWithContext ¶
func NewGetChatsSettingsParamsWithContext(ctx context.Context) *GetChatsSettingsParams
NewGetChatsSettingsParamsWithContext creates a new GetChatsSettingsParams object with the ability to set a context for a request.
func NewGetChatsSettingsParamsWithHTTPClient ¶
func NewGetChatsSettingsParamsWithHTTPClient(client *http.Client) *GetChatsSettingsParams
NewGetChatsSettingsParamsWithHTTPClient creates a new GetChatsSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetChatsSettingsParamsWithTimeout ¶
func NewGetChatsSettingsParamsWithTimeout(timeout time.Duration) *GetChatsSettingsParams
NewGetChatsSettingsParamsWithTimeout creates a new GetChatsSettingsParams object with the ability to set a timeout on a request.
func (*GetChatsSettingsParams) SetContext ¶
func (o *GetChatsSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get chats settings params
func (*GetChatsSettingsParams) SetDefaults ¶
func (o *GetChatsSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get chats settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetChatsSettingsParams) SetHTTPClient ¶
func (o *GetChatsSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get chats settings params
func (*GetChatsSettingsParams) SetTimeout ¶
func (o *GetChatsSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get chats settings params
func (*GetChatsSettingsParams) WithContext ¶
func (o *GetChatsSettingsParams) WithContext(ctx context.Context) *GetChatsSettingsParams
WithContext adds the context to the get chats settings params
func (*GetChatsSettingsParams) WithDefaults ¶
func (o *GetChatsSettingsParams) WithDefaults() *GetChatsSettingsParams
WithDefaults hydrates default values in the get chats settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetChatsSettingsParams) WithHTTPClient ¶
func (o *GetChatsSettingsParams) WithHTTPClient(client *http.Client) *GetChatsSettingsParams
WithHTTPClient adds the HTTPClient to the get chats settings params
func (*GetChatsSettingsParams) WithTimeout ¶
func (o *GetChatsSettingsParams) WithTimeout(timeout time.Duration) *GetChatsSettingsParams
WithTimeout adds the timeout to the get chats settings params
func (*GetChatsSettingsParams) WriteToRequest ¶
func (o *GetChatsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChatsSettingsReader ¶
type GetChatsSettingsReader struct {
// contains filtered or unexported fields
}
GetChatsSettingsReader is a Reader for the GetChatsSettings structure.
func (*GetChatsSettingsReader) ReadResponse ¶
func (o *GetChatsSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChatsSettingsRequestEntityTooLarge ¶
GetChatsSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewGetChatsSettingsRequestEntityTooLarge ¶
func NewGetChatsSettingsRequestEntityTooLarge() *GetChatsSettingsRequestEntityTooLarge
NewGetChatsSettingsRequestEntityTooLarge creates a GetChatsSettingsRequestEntityTooLarge with default headers values
func (*GetChatsSettingsRequestEntityTooLarge) Error ¶
func (o *GetChatsSettingsRequestEntityTooLarge) Error() string
func (*GetChatsSettingsRequestEntityTooLarge) GetPayload ¶
func (o *GetChatsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetChatsSettingsRequestEntityTooLarge) IsClientError ¶
func (o *GetChatsSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get chats settings request entity too large response has a 4xx status code
func (*GetChatsSettingsRequestEntityTooLarge) IsCode ¶
func (o *GetChatsSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get chats settings request entity too large response a status code equal to that given
func (*GetChatsSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *GetChatsSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get chats settings request entity too large response has a 3xx status code
func (*GetChatsSettingsRequestEntityTooLarge) IsServerError ¶
func (o *GetChatsSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get chats settings request entity too large response has a 5xx status code
func (*GetChatsSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *GetChatsSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get chats settings request entity too large response has a 2xx status code
func (*GetChatsSettingsRequestEntityTooLarge) String ¶
func (o *GetChatsSettingsRequestEntityTooLarge) String() string
type GetChatsSettingsRequestTimeout ¶
GetChatsSettingsRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewGetChatsSettingsRequestTimeout ¶
func NewGetChatsSettingsRequestTimeout() *GetChatsSettingsRequestTimeout
NewGetChatsSettingsRequestTimeout creates a GetChatsSettingsRequestTimeout with default headers values
func (*GetChatsSettingsRequestTimeout) Error ¶
func (o *GetChatsSettingsRequestTimeout) Error() string
func (*GetChatsSettingsRequestTimeout) GetPayload ¶
func (o *GetChatsSettingsRequestTimeout) GetPayload() *models.ErrorBody
func (*GetChatsSettingsRequestTimeout) IsClientError ¶
func (o *GetChatsSettingsRequestTimeout) IsClientError() bool
IsClientError returns true when this get chats settings request timeout response has a 4xx status code
func (*GetChatsSettingsRequestTimeout) IsCode ¶
func (o *GetChatsSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this get chats settings request timeout response a status code equal to that given
func (*GetChatsSettingsRequestTimeout) IsRedirect ¶
func (o *GetChatsSettingsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this get chats settings request timeout response has a 3xx status code
func (*GetChatsSettingsRequestTimeout) IsServerError ¶
func (o *GetChatsSettingsRequestTimeout) IsServerError() bool
IsServerError returns true when this get chats settings request timeout response has a 5xx status code
func (*GetChatsSettingsRequestTimeout) IsSuccess ¶
func (o *GetChatsSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get chats settings request timeout response has a 2xx status code
func (*GetChatsSettingsRequestTimeout) String ¶
func (o *GetChatsSettingsRequestTimeout) String() string
type GetChatsSettingsServiceUnavailable ¶
type GetChatsSettingsServiceUnavailable struct {
}GetChatsSettingsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewGetChatsSettingsServiceUnavailable ¶
func NewGetChatsSettingsServiceUnavailable() *GetChatsSettingsServiceUnavailable
NewGetChatsSettingsServiceUnavailable creates a GetChatsSettingsServiceUnavailable with default headers values
func (*GetChatsSettingsServiceUnavailable) Error ¶
func (o *GetChatsSettingsServiceUnavailable) Error() string
func (*GetChatsSettingsServiceUnavailable) GetPayload ¶
func (o *GetChatsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetChatsSettingsServiceUnavailable) IsClientError ¶
func (o *GetChatsSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get chats settings service unavailable response has a 4xx status code
func (*GetChatsSettingsServiceUnavailable) IsCode ¶
func (o *GetChatsSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get chats settings service unavailable response a status code equal to that given
func (*GetChatsSettingsServiceUnavailable) IsRedirect ¶
func (o *GetChatsSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get chats settings service unavailable response has a 3xx status code
func (*GetChatsSettingsServiceUnavailable) IsServerError ¶
func (o *GetChatsSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get chats settings service unavailable response has a 5xx status code
func (*GetChatsSettingsServiceUnavailable) IsSuccess ¶
func (o *GetChatsSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get chats settings service unavailable response has a 2xx status code
func (*GetChatsSettingsServiceUnavailable) String ¶
func (o *GetChatsSettingsServiceUnavailable) String() string
type GetChatsSettingsTooManyRequests ¶
GetChatsSettingsTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewGetChatsSettingsTooManyRequests ¶
func NewGetChatsSettingsTooManyRequests() *GetChatsSettingsTooManyRequests
NewGetChatsSettingsTooManyRequests creates a GetChatsSettingsTooManyRequests with default headers values
func (*GetChatsSettingsTooManyRequests) Error ¶
func (o *GetChatsSettingsTooManyRequests) Error() string
func (*GetChatsSettingsTooManyRequests) GetPayload ¶
func (o *GetChatsSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*GetChatsSettingsTooManyRequests) IsClientError ¶
func (o *GetChatsSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this get chats settings too many requests response has a 4xx status code
func (*GetChatsSettingsTooManyRequests) IsCode ¶
func (o *GetChatsSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get chats settings too many requests response a status code equal to that given
func (*GetChatsSettingsTooManyRequests) IsRedirect ¶
func (o *GetChatsSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get chats settings too many requests response has a 3xx status code
func (*GetChatsSettingsTooManyRequests) IsServerError ¶
func (o *GetChatsSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this get chats settings too many requests response has a 5xx status code
func (*GetChatsSettingsTooManyRequests) IsSuccess ¶
func (o *GetChatsSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get chats settings too many requests response has a 2xx status code
func (*GetChatsSettingsTooManyRequests) String ¶
func (o *GetChatsSettingsTooManyRequests) String() string
type GetChatsSettingsUnauthorized ¶
type GetChatsSettingsUnauthorized struct {
}GetChatsSettingsUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewGetChatsSettingsUnauthorized ¶
func NewGetChatsSettingsUnauthorized() *GetChatsSettingsUnauthorized
NewGetChatsSettingsUnauthorized creates a GetChatsSettingsUnauthorized with default headers values
func (*GetChatsSettingsUnauthorized) Error ¶
func (o *GetChatsSettingsUnauthorized) Error() string
func (*GetChatsSettingsUnauthorized) GetPayload ¶
func (o *GetChatsSettingsUnauthorized) GetPayload() *models.ErrorBody
func (*GetChatsSettingsUnauthorized) IsClientError ¶
func (o *GetChatsSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this get chats settings unauthorized response has a 4xx status code
func (*GetChatsSettingsUnauthorized) IsCode ¶
func (o *GetChatsSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this get chats settings unauthorized response a status code equal to that given
func (*GetChatsSettingsUnauthorized) IsRedirect ¶
func (o *GetChatsSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get chats settings unauthorized response has a 3xx status code
func (*GetChatsSettingsUnauthorized) IsServerError ¶
func (o *GetChatsSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this get chats settings unauthorized response has a 5xx status code
func (*GetChatsSettingsUnauthorized) IsSuccess ¶
func (o *GetChatsSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get chats settings unauthorized response has a 2xx status code
func (*GetChatsSettingsUnauthorized) String ¶
func (o *GetChatsSettingsUnauthorized) String() string
type GetChatsSettingsUnsupportedMediaType ¶
GetChatsSettingsUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewGetChatsSettingsUnsupportedMediaType ¶
func NewGetChatsSettingsUnsupportedMediaType() *GetChatsSettingsUnsupportedMediaType
NewGetChatsSettingsUnsupportedMediaType creates a GetChatsSettingsUnsupportedMediaType with default headers values
func (*GetChatsSettingsUnsupportedMediaType) Error ¶
func (o *GetChatsSettingsUnsupportedMediaType) Error() string
func (*GetChatsSettingsUnsupportedMediaType) GetPayload ¶
func (o *GetChatsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetChatsSettingsUnsupportedMediaType) IsClientError ¶
func (o *GetChatsSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get chats settings unsupported media type response has a 4xx status code
func (*GetChatsSettingsUnsupportedMediaType) IsCode ¶
func (o *GetChatsSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get chats settings unsupported media type response a status code equal to that given
func (*GetChatsSettingsUnsupportedMediaType) IsRedirect ¶
func (o *GetChatsSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get chats settings unsupported media type response has a 3xx status code
func (*GetChatsSettingsUnsupportedMediaType) IsServerError ¶
func (o *GetChatsSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get chats settings unsupported media type response has a 5xx status code
func (*GetChatsSettingsUnsupportedMediaType) IsSuccess ¶
func (o *GetChatsSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get chats settings unsupported media type response has a 2xx status code
func (*GetChatsSettingsUnsupportedMediaType) String ¶
func (o *GetChatsSettingsUnsupportedMediaType) String() string
type PatchChatSettingsBadRequest ¶
PatchChatSettingsBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewPatchChatSettingsBadRequest ¶
func NewPatchChatSettingsBadRequest() *PatchChatSettingsBadRequest
NewPatchChatSettingsBadRequest creates a PatchChatSettingsBadRequest with default headers values
func (*PatchChatSettingsBadRequest) Error ¶
func (o *PatchChatSettingsBadRequest) Error() string
func (*PatchChatSettingsBadRequest) GetPayload ¶
func (o *PatchChatSettingsBadRequest) GetPayload() *models.ErrorBody
func (*PatchChatSettingsBadRequest) IsClientError ¶
func (o *PatchChatSettingsBadRequest) IsClientError() bool
IsClientError returns true when this patch chat settings bad request response has a 4xx status code
func (*PatchChatSettingsBadRequest) IsCode ¶
func (o *PatchChatSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this patch chat settings bad request response a status code equal to that given
func (*PatchChatSettingsBadRequest) IsRedirect ¶
func (o *PatchChatSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this patch chat settings bad request response has a 3xx status code
func (*PatchChatSettingsBadRequest) IsServerError ¶
func (o *PatchChatSettingsBadRequest) IsServerError() bool
IsServerError returns true when this patch chat settings bad request response has a 5xx status code
func (*PatchChatSettingsBadRequest) IsSuccess ¶
func (o *PatchChatSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this patch chat settings bad request response has a 2xx status code
func (*PatchChatSettingsBadRequest) String ¶
func (o *PatchChatSettingsBadRequest) String() string
type PatchChatSettingsForbidden ¶
PatchChatSettingsForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewPatchChatSettingsForbidden ¶
func NewPatchChatSettingsForbidden() *PatchChatSettingsForbidden
NewPatchChatSettingsForbidden creates a PatchChatSettingsForbidden with default headers values
func (*PatchChatSettingsForbidden) Error ¶
func (o *PatchChatSettingsForbidden) Error() string
func (*PatchChatSettingsForbidden) GetPayload ¶
func (o *PatchChatSettingsForbidden) GetPayload() *models.ErrorBody
func (*PatchChatSettingsForbidden) IsClientError ¶
func (o *PatchChatSettingsForbidden) IsClientError() bool
IsClientError returns true when this patch chat settings forbidden response has a 4xx status code
func (*PatchChatSettingsForbidden) IsCode ¶
func (o *PatchChatSettingsForbidden) IsCode(code int) bool
IsCode returns true when this patch chat settings forbidden response a status code equal to that given
func (*PatchChatSettingsForbidden) IsRedirect ¶
func (o *PatchChatSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this patch chat settings forbidden response has a 3xx status code
func (*PatchChatSettingsForbidden) IsServerError ¶
func (o *PatchChatSettingsForbidden) IsServerError() bool
IsServerError returns true when this patch chat settings forbidden response has a 5xx status code
func (*PatchChatSettingsForbidden) IsSuccess ¶
func (o *PatchChatSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this patch chat settings forbidden response has a 2xx status code
func (*PatchChatSettingsForbidden) String ¶
func (o *PatchChatSettingsForbidden) String() string
type PatchChatSettingsGatewayTimeout ¶
PatchChatSettingsGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewPatchChatSettingsGatewayTimeout ¶
func NewPatchChatSettingsGatewayTimeout() *PatchChatSettingsGatewayTimeout
NewPatchChatSettingsGatewayTimeout creates a PatchChatSettingsGatewayTimeout with default headers values
func (*PatchChatSettingsGatewayTimeout) Error ¶
func (o *PatchChatSettingsGatewayTimeout) Error() string
func (*PatchChatSettingsGatewayTimeout) GetPayload ¶
func (o *PatchChatSettingsGatewayTimeout) GetPayload() *models.ErrorBody
func (*PatchChatSettingsGatewayTimeout) IsClientError ¶
func (o *PatchChatSettingsGatewayTimeout) IsClientError() bool
IsClientError returns true when this patch chat settings gateway timeout response has a 4xx status code
func (*PatchChatSettingsGatewayTimeout) IsCode ¶
func (o *PatchChatSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this patch chat settings gateway timeout response a status code equal to that given
func (*PatchChatSettingsGatewayTimeout) IsRedirect ¶
func (o *PatchChatSettingsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this patch chat settings gateway timeout response has a 3xx status code
func (*PatchChatSettingsGatewayTimeout) IsServerError ¶
func (o *PatchChatSettingsGatewayTimeout) IsServerError() bool
IsServerError returns true when this patch chat settings gateway timeout response has a 5xx status code
func (*PatchChatSettingsGatewayTimeout) IsSuccess ¶
func (o *PatchChatSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this patch chat settings gateway timeout response has a 2xx status code
func (*PatchChatSettingsGatewayTimeout) String ¶
func (o *PatchChatSettingsGatewayTimeout) String() string
type PatchChatSettingsInternalServerError ¶
PatchChatSettingsInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewPatchChatSettingsInternalServerError ¶
func NewPatchChatSettingsInternalServerError() *PatchChatSettingsInternalServerError
NewPatchChatSettingsInternalServerError creates a PatchChatSettingsInternalServerError with default headers values
func (*PatchChatSettingsInternalServerError) Error ¶
func (o *PatchChatSettingsInternalServerError) Error() string
func (*PatchChatSettingsInternalServerError) GetPayload ¶
func (o *PatchChatSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*PatchChatSettingsInternalServerError) IsClientError ¶
func (o *PatchChatSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this patch chat settings internal server error response has a 4xx status code
func (*PatchChatSettingsInternalServerError) IsCode ¶
func (o *PatchChatSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this patch chat settings internal server error response a status code equal to that given
func (*PatchChatSettingsInternalServerError) IsRedirect ¶
func (o *PatchChatSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this patch chat settings internal server error response has a 3xx status code
func (*PatchChatSettingsInternalServerError) IsServerError ¶
func (o *PatchChatSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this patch chat settings internal server error response has a 5xx status code
func (*PatchChatSettingsInternalServerError) IsSuccess ¶
func (o *PatchChatSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch chat settings internal server error response has a 2xx status code
func (*PatchChatSettingsInternalServerError) String ¶
func (o *PatchChatSettingsInternalServerError) String() string
type PatchChatSettingsNotFound ¶
PatchChatSettingsNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewPatchChatSettingsNotFound ¶
func NewPatchChatSettingsNotFound() *PatchChatSettingsNotFound
NewPatchChatSettingsNotFound creates a PatchChatSettingsNotFound with default headers values
func (*PatchChatSettingsNotFound) Error ¶
func (o *PatchChatSettingsNotFound) Error() string
func (*PatchChatSettingsNotFound) GetPayload ¶
func (o *PatchChatSettingsNotFound) GetPayload() *models.ErrorBody
func (*PatchChatSettingsNotFound) IsClientError ¶
func (o *PatchChatSettingsNotFound) IsClientError() bool
IsClientError returns true when this patch chat settings not found response has a 4xx status code
func (*PatchChatSettingsNotFound) IsCode ¶
func (o *PatchChatSettingsNotFound) IsCode(code int) bool
IsCode returns true when this patch chat settings not found response a status code equal to that given
func (*PatchChatSettingsNotFound) IsRedirect ¶
func (o *PatchChatSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this patch chat settings not found response has a 3xx status code
func (*PatchChatSettingsNotFound) IsServerError ¶
func (o *PatchChatSettingsNotFound) IsServerError() bool
IsServerError returns true when this patch chat settings not found response has a 5xx status code
func (*PatchChatSettingsNotFound) IsSuccess ¶
func (o *PatchChatSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this patch chat settings not found response has a 2xx status code
func (*PatchChatSettingsNotFound) String ¶
func (o *PatchChatSettingsNotFound) String() string
type PatchChatSettingsOK ¶
type PatchChatSettingsOK struct {
Payload *models.ChatSettings
}
PatchChatSettingsOK describes a response with status code 200, with default header values.
successful operation
func NewPatchChatSettingsOK ¶
func NewPatchChatSettingsOK() *PatchChatSettingsOK
NewPatchChatSettingsOK creates a PatchChatSettingsOK with default headers values
func (*PatchChatSettingsOK) Error ¶
func (o *PatchChatSettingsOK) Error() string
func (*PatchChatSettingsOK) GetPayload ¶
func (o *PatchChatSettingsOK) GetPayload() *models.ChatSettings
func (*PatchChatSettingsOK) IsClientError ¶
func (o *PatchChatSettingsOK) IsClientError() bool
IsClientError returns true when this patch chat settings o k response has a 4xx status code
func (*PatchChatSettingsOK) IsCode ¶
func (o *PatchChatSettingsOK) IsCode(code int) bool
IsCode returns true when this patch chat settings o k response a status code equal to that given
func (*PatchChatSettingsOK) IsRedirect ¶
func (o *PatchChatSettingsOK) IsRedirect() bool
IsRedirect returns true when this patch chat settings o k response has a 3xx status code
func (*PatchChatSettingsOK) IsServerError ¶
func (o *PatchChatSettingsOK) IsServerError() bool
IsServerError returns true when this patch chat settings o k response has a 5xx status code
func (*PatchChatSettingsOK) IsSuccess ¶
func (o *PatchChatSettingsOK) IsSuccess() bool
IsSuccess returns true when this patch chat settings o k response has a 2xx status code
func (*PatchChatSettingsOK) String ¶
func (o *PatchChatSettingsOK) String() string
type PatchChatSettingsParams ¶
type PatchChatSettingsParams struct { /* Body. Chat */ Body *models.ChatSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchChatSettingsParams contains all the parameters to send to the API endpoint
for the patch chat settings operation. Typically these are written to a http.Request.
func NewPatchChatSettingsParams ¶
func NewPatchChatSettingsParams() *PatchChatSettingsParams
NewPatchChatSettingsParams creates a new PatchChatSettingsParams 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 NewPatchChatSettingsParamsWithContext ¶
func NewPatchChatSettingsParamsWithContext(ctx context.Context) *PatchChatSettingsParams
NewPatchChatSettingsParamsWithContext creates a new PatchChatSettingsParams object with the ability to set a context for a request.
func NewPatchChatSettingsParamsWithHTTPClient ¶
func NewPatchChatSettingsParamsWithHTTPClient(client *http.Client) *PatchChatSettingsParams
NewPatchChatSettingsParamsWithHTTPClient creates a new PatchChatSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewPatchChatSettingsParamsWithTimeout ¶
func NewPatchChatSettingsParamsWithTimeout(timeout time.Duration) *PatchChatSettingsParams
NewPatchChatSettingsParamsWithTimeout creates a new PatchChatSettingsParams object with the ability to set a timeout on a request.
func (*PatchChatSettingsParams) SetBody ¶
func (o *PatchChatSettingsParams) SetBody(body *models.ChatSettings)
SetBody adds the body to the patch chat settings params
func (*PatchChatSettingsParams) SetContext ¶
func (o *PatchChatSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch chat settings params
func (*PatchChatSettingsParams) SetDefaults ¶
func (o *PatchChatSettingsParams) SetDefaults()
SetDefaults hydrates default values in the patch chat settings params (not the query body).
All values with no default are reset to their zero value.
func (*PatchChatSettingsParams) SetHTTPClient ¶
func (o *PatchChatSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch chat settings params
func (*PatchChatSettingsParams) SetTimeout ¶
func (o *PatchChatSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch chat settings params
func (*PatchChatSettingsParams) WithBody ¶
func (o *PatchChatSettingsParams) WithBody(body *models.ChatSettings) *PatchChatSettingsParams
WithBody adds the body to the patch chat settings params
func (*PatchChatSettingsParams) WithContext ¶
func (o *PatchChatSettingsParams) WithContext(ctx context.Context) *PatchChatSettingsParams
WithContext adds the context to the patch chat settings params
func (*PatchChatSettingsParams) WithDefaults ¶
func (o *PatchChatSettingsParams) WithDefaults() *PatchChatSettingsParams
WithDefaults hydrates default values in the patch chat settings params (not the query body).
All values with no default are reset to their zero value.
func (*PatchChatSettingsParams) WithHTTPClient ¶
func (o *PatchChatSettingsParams) WithHTTPClient(client *http.Client) *PatchChatSettingsParams
WithHTTPClient adds the HTTPClient to the patch chat settings params
func (*PatchChatSettingsParams) WithTimeout ¶
func (o *PatchChatSettingsParams) WithTimeout(timeout time.Duration) *PatchChatSettingsParams
WithTimeout adds the timeout to the patch chat settings params
func (*PatchChatSettingsParams) WriteToRequest ¶
func (o *PatchChatSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchChatSettingsReader ¶
type PatchChatSettingsReader struct {
// contains filtered or unexported fields
}
PatchChatSettingsReader is a Reader for the PatchChatSettings structure.
func (*PatchChatSettingsReader) ReadResponse ¶
func (o *PatchChatSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchChatSettingsRequestEntityTooLarge ¶
PatchChatSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewPatchChatSettingsRequestEntityTooLarge ¶
func NewPatchChatSettingsRequestEntityTooLarge() *PatchChatSettingsRequestEntityTooLarge
NewPatchChatSettingsRequestEntityTooLarge creates a PatchChatSettingsRequestEntityTooLarge with default headers values
func (*PatchChatSettingsRequestEntityTooLarge) Error ¶
func (o *PatchChatSettingsRequestEntityTooLarge) Error() string
func (*PatchChatSettingsRequestEntityTooLarge) GetPayload ¶
func (o *PatchChatSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PatchChatSettingsRequestEntityTooLarge) IsClientError ¶
func (o *PatchChatSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this patch chat settings request entity too large response has a 4xx status code
func (*PatchChatSettingsRequestEntityTooLarge) IsCode ¶
func (o *PatchChatSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this patch chat settings request entity too large response a status code equal to that given
func (*PatchChatSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *PatchChatSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this patch chat settings request entity too large response has a 3xx status code
func (*PatchChatSettingsRequestEntityTooLarge) IsServerError ¶
func (o *PatchChatSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this patch chat settings request entity too large response has a 5xx status code
func (*PatchChatSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *PatchChatSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch chat settings request entity too large response has a 2xx status code
func (*PatchChatSettingsRequestEntityTooLarge) String ¶
func (o *PatchChatSettingsRequestEntityTooLarge) String() string
type PatchChatSettingsRequestTimeout ¶
PatchChatSettingsRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewPatchChatSettingsRequestTimeout ¶
func NewPatchChatSettingsRequestTimeout() *PatchChatSettingsRequestTimeout
NewPatchChatSettingsRequestTimeout creates a PatchChatSettingsRequestTimeout with default headers values
func (*PatchChatSettingsRequestTimeout) Error ¶
func (o *PatchChatSettingsRequestTimeout) Error() string
func (*PatchChatSettingsRequestTimeout) GetPayload ¶
func (o *PatchChatSettingsRequestTimeout) GetPayload() *models.ErrorBody
func (*PatchChatSettingsRequestTimeout) IsClientError ¶
func (o *PatchChatSettingsRequestTimeout) IsClientError() bool
IsClientError returns true when this patch chat settings request timeout response has a 4xx status code
func (*PatchChatSettingsRequestTimeout) IsCode ¶
func (o *PatchChatSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this patch chat settings request timeout response a status code equal to that given
func (*PatchChatSettingsRequestTimeout) IsRedirect ¶
func (o *PatchChatSettingsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this patch chat settings request timeout response has a 3xx status code
func (*PatchChatSettingsRequestTimeout) IsServerError ¶
func (o *PatchChatSettingsRequestTimeout) IsServerError() bool
IsServerError returns true when this patch chat settings request timeout response has a 5xx status code
func (*PatchChatSettingsRequestTimeout) IsSuccess ¶
func (o *PatchChatSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this patch chat settings request timeout response has a 2xx status code
func (*PatchChatSettingsRequestTimeout) String ¶
func (o *PatchChatSettingsRequestTimeout) String() string
type PatchChatSettingsServiceUnavailable ¶
type PatchChatSettingsServiceUnavailable struct {
}PatchChatSettingsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewPatchChatSettingsServiceUnavailable ¶
func NewPatchChatSettingsServiceUnavailable() *PatchChatSettingsServiceUnavailable
NewPatchChatSettingsServiceUnavailable creates a PatchChatSettingsServiceUnavailable with default headers values
func (*PatchChatSettingsServiceUnavailable) Error ¶
func (o *PatchChatSettingsServiceUnavailable) Error() string
func (*PatchChatSettingsServiceUnavailable) GetPayload ¶
func (o *PatchChatSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*PatchChatSettingsServiceUnavailable) IsClientError ¶
func (o *PatchChatSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this patch chat settings service unavailable response has a 4xx status code
func (*PatchChatSettingsServiceUnavailable) IsCode ¶
func (o *PatchChatSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this patch chat settings service unavailable response a status code equal to that given
func (*PatchChatSettingsServiceUnavailable) IsRedirect ¶
func (o *PatchChatSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this patch chat settings service unavailable response has a 3xx status code
func (*PatchChatSettingsServiceUnavailable) IsServerError ¶
func (o *PatchChatSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this patch chat settings service unavailable response has a 5xx status code
func (*PatchChatSettingsServiceUnavailable) IsSuccess ¶
func (o *PatchChatSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch chat settings service unavailable response has a 2xx status code
func (*PatchChatSettingsServiceUnavailable) String ¶
func (o *PatchChatSettingsServiceUnavailable) String() string
type PatchChatSettingsTooManyRequests ¶
PatchChatSettingsTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewPatchChatSettingsTooManyRequests ¶
func NewPatchChatSettingsTooManyRequests() *PatchChatSettingsTooManyRequests
NewPatchChatSettingsTooManyRequests creates a PatchChatSettingsTooManyRequests with default headers values
func (*PatchChatSettingsTooManyRequests) Error ¶
func (o *PatchChatSettingsTooManyRequests) Error() string
func (*PatchChatSettingsTooManyRequests) GetPayload ¶
func (o *PatchChatSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*PatchChatSettingsTooManyRequests) IsClientError ¶
func (o *PatchChatSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this patch chat settings too many requests response has a 4xx status code
func (*PatchChatSettingsTooManyRequests) IsCode ¶
func (o *PatchChatSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch chat settings too many requests response a status code equal to that given
func (*PatchChatSettingsTooManyRequests) IsRedirect ¶
func (o *PatchChatSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch chat settings too many requests response has a 3xx status code
func (*PatchChatSettingsTooManyRequests) IsServerError ¶
func (o *PatchChatSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this patch chat settings too many requests response has a 5xx status code
func (*PatchChatSettingsTooManyRequests) IsSuccess ¶
func (o *PatchChatSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch chat settings too many requests response has a 2xx status code
func (*PatchChatSettingsTooManyRequests) String ¶
func (o *PatchChatSettingsTooManyRequests) String() string
type PatchChatSettingsUnauthorized ¶
type PatchChatSettingsUnauthorized struct {
}PatchChatSettingsUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewPatchChatSettingsUnauthorized ¶
func NewPatchChatSettingsUnauthorized() *PatchChatSettingsUnauthorized
NewPatchChatSettingsUnauthorized creates a PatchChatSettingsUnauthorized with default headers values
func (*PatchChatSettingsUnauthorized) Error ¶
func (o *PatchChatSettingsUnauthorized) Error() string
func (*PatchChatSettingsUnauthorized) GetPayload ¶
func (o *PatchChatSettingsUnauthorized) GetPayload() *models.ErrorBody
func (*PatchChatSettingsUnauthorized) IsClientError ¶
func (o *PatchChatSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this patch chat settings unauthorized response has a 4xx status code
func (*PatchChatSettingsUnauthorized) IsCode ¶
func (o *PatchChatSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this patch chat settings unauthorized response a status code equal to that given
func (*PatchChatSettingsUnauthorized) IsRedirect ¶
func (o *PatchChatSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch chat settings unauthorized response has a 3xx status code
func (*PatchChatSettingsUnauthorized) IsServerError ¶
func (o *PatchChatSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this patch chat settings unauthorized response has a 5xx status code
func (*PatchChatSettingsUnauthorized) IsSuccess ¶
func (o *PatchChatSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch chat settings unauthorized response has a 2xx status code
func (*PatchChatSettingsUnauthorized) String ¶
func (o *PatchChatSettingsUnauthorized) String() string
type PatchChatSettingsUnsupportedMediaType ¶
PatchChatSettingsUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewPatchChatSettingsUnsupportedMediaType ¶
func NewPatchChatSettingsUnsupportedMediaType() *PatchChatSettingsUnsupportedMediaType
NewPatchChatSettingsUnsupportedMediaType creates a PatchChatSettingsUnsupportedMediaType with default headers values
func (*PatchChatSettingsUnsupportedMediaType) Error ¶
func (o *PatchChatSettingsUnsupportedMediaType) Error() string
func (*PatchChatSettingsUnsupportedMediaType) GetPayload ¶
func (o *PatchChatSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PatchChatSettingsUnsupportedMediaType) IsClientError ¶
func (o *PatchChatSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this patch chat settings unsupported media type response has a 4xx status code
func (*PatchChatSettingsUnsupportedMediaType) IsCode ¶
func (o *PatchChatSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this patch chat settings unsupported media type response a status code equal to that given
func (*PatchChatSettingsUnsupportedMediaType) IsRedirect ¶
func (o *PatchChatSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this patch chat settings unsupported media type response has a 3xx status code
func (*PatchChatSettingsUnsupportedMediaType) IsServerError ¶
func (o *PatchChatSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this patch chat settings unsupported media type response has a 5xx status code
func (*PatchChatSettingsUnsupportedMediaType) IsSuccess ¶
func (o *PatchChatSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this patch chat settings unsupported media type response has a 2xx status code
func (*PatchChatSettingsUnsupportedMediaType) String ¶
func (o *PatchChatSettingsUnsupportedMediaType) String() string
type PatchChatsSettingsBadRequest ¶
PatchChatsSettingsBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewPatchChatsSettingsBadRequest ¶
func NewPatchChatsSettingsBadRequest() *PatchChatsSettingsBadRequest
NewPatchChatsSettingsBadRequest creates a PatchChatsSettingsBadRequest with default headers values
func (*PatchChatsSettingsBadRequest) Error ¶
func (o *PatchChatsSettingsBadRequest) Error() string
func (*PatchChatsSettingsBadRequest) GetPayload ¶
func (o *PatchChatsSettingsBadRequest) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsBadRequest) IsClientError ¶
func (o *PatchChatsSettingsBadRequest) IsClientError() bool
IsClientError returns true when this patch chats settings bad request response has a 4xx status code
func (*PatchChatsSettingsBadRequest) IsCode ¶
func (o *PatchChatsSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this patch chats settings bad request response a status code equal to that given
func (*PatchChatsSettingsBadRequest) IsRedirect ¶
func (o *PatchChatsSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this patch chats settings bad request response has a 3xx status code
func (*PatchChatsSettingsBadRequest) IsServerError ¶
func (o *PatchChatsSettingsBadRequest) IsServerError() bool
IsServerError returns true when this patch chats settings bad request response has a 5xx status code
func (*PatchChatsSettingsBadRequest) IsSuccess ¶
func (o *PatchChatsSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this patch chats settings bad request response has a 2xx status code
func (*PatchChatsSettingsBadRequest) String ¶
func (o *PatchChatsSettingsBadRequest) String() string
type PatchChatsSettingsForbidden ¶
PatchChatsSettingsForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewPatchChatsSettingsForbidden ¶
func NewPatchChatsSettingsForbidden() *PatchChatsSettingsForbidden
NewPatchChatsSettingsForbidden creates a PatchChatsSettingsForbidden with default headers values
func (*PatchChatsSettingsForbidden) Error ¶
func (o *PatchChatsSettingsForbidden) Error() string
func (*PatchChatsSettingsForbidden) GetPayload ¶
func (o *PatchChatsSettingsForbidden) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsForbidden) IsClientError ¶
func (o *PatchChatsSettingsForbidden) IsClientError() bool
IsClientError returns true when this patch chats settings forbidden response has a 4xx status code
func (*PatchChatsSettingsForbidden) IsCode ¶
func (o *PatchChatsSettingsForbidden) IsCode(code int) bool
IsCode returns true when this patch chats settings forbidden response a status code equal to that given
func (*PatchChatsSettingsForbidden) IsRedirect ¶
func (o *PatchChatsSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this patch chats settings forbidden response has a 3xx status code
func (*PatchChatsSettingsForbidden) IsServerError ¶
func (o *PatchChatsSettingsForbidden) IsServerError() bool
IsServerError returns true when this patch chats settings forbidden response has a 5xx status code
func (*PatchChatsSettingsForbidden) IsSuccess ¶
func (o *PatchChatsSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this patch chats settings forbidden response has a 2xx status code
func (*PatchChatsSettingsForbidden) String ¶
func (o *PatchChatsSettingsForbidden) String() string
type PatchChatsSettingsGatewayTimeout ¶
PatchChatsSettingsGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewPatchChatsSettingsGatewayTimeout ¶
func NewPatchChatsSettingsGatewayTimeout() *PatchChatsSettingsGatewayTimeout
NewPatchChatsSettingsGatewayTimeout creates a PatchChatsSettingsGatewayTimeout with default headers values
func (*PatchChatsSettingsGatewayTimeout) Error ¶
func (o *PatchChatsSettingsGatewayTimeout) Error() string
func (*PatchChatsSettingsGatewayTimeout) GetPayload ¶
func (o *PatchChatsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsGatewayTimeout) IsClientError ¶
func (o *PatchChatsSettingsGatewayTimeout) IsClientError() bool
IsClientError returns true when this patch chats settings gateway timeout response has a 4xx status code
func (*PatchChatsSettingsGatewayTimeout) IsCode ¶
func (o *PatchChatsSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this patch chats settings gateway timeout response a status code equal to that given
func (*PatchChatsSettingsGatewayTimeout) IsRedirect ¶
func (o *PatchChatsSettingsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this patch chats settings gateway timeout response has a 3xx status code
func (*PatchChatsSettingsGatewayTimeout) IsServerError ¶
func (o *PatchChatsSettingsGatewayTimeout) IsServerError() bool
IsServerError returns true when this patch chats settings gateway timeout response has a 5xx status code
func (*PatchChatsSettingsGatewayTimeout) IsSuccess ¶
func (o *PatchChatsSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this patch chats settings gateway timeout response has a 2xx status code
func (*PatchChatsSettingsGatewayTimeout) String ¶
func (o *PatchChatsSettingsGatewayTimeout) String() string
type PatchChatsSettingsInternalServerError ¶
PatchChatsSettingsInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewPatchChatsSettingsInternalServerError ¶
func NewPatchChatsSettingsInternalServerError() *PatchChatsSettingsInternalServerError
NewPatchChatsSettingsInternalServerError creates a PatchChatsSettingsInternalServerError with default headers values
func (*PatchChatsSettingsInternalServerError) Error ¶
func (o *PatchChatsSettingsInternalServerError) Error() string
func (*PatchChatsSettingsInternalServerError) GetPayload ¶
func (o *PatchChatsSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsInternalServerError) IsClientError ¶
func (o *PatchChatsSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this patch chats settings internal server error response has a 4xx status code
func (*PatchChatsSettingsInternalServerError) IsCode ¶
func (o *PatchChatsSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this patch chats settings internal server error response a status code equal to that given
func (*PatchChatsSettingsInternalServerError) IsRedirect ¶
func (o *PatchChatsSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this patch chats settings internal server error response has a 3xx status code
func (*PatchChatsSettingsInternalServerError) IsServerError ¶
func (o *PatchChatsSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this patch chats settings internal server error response has a 5xx status code
func (*PatchChatsSettingsInternalServerError) IsSuccess ¶
func (o *PatchChatsSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch chats settings internal server error response has a 2xx status code
func (*PatchChatsSettingsInternalServerError) String ¶
func (o *PatchChatsSettingsInternalServerError) String() string
type PatchChatsSettingsNotFound ¶
PatchChatsSettingsNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewPatchChatsSettingsNotFound ¶
func NewPatchChatsSettingsNotFound() *PatchChatsSettingsNotFound
NewPatchChatsSettingsNotFound creates a PatchChatsSettingsNotFound with default headers values
func (*PatchChatsSettingsNotFound) Error ¶
func (o *PatchChatsSettingsNotFound) Error() string
func (*PatchChatsSettingsNotFound) GetPayload ¶
func (o *PatchChatsSettingsNotFound) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsNotFound) IsClientError ¶
func (o *PatchChatsSettingsNotFound) IsClientError() bool
IsClientError returns true when this patch chats settings not found response has a 4xx status code
func (*PatchChatsSettingsNotFound) IsCode ¶
func (o *PatchChatsSettingsNotFound) IsCode(code int) bool
IsCode returns true when this patch chats settings not found response a status code equal to that given
func (*PatchChatsSettingsNotFound) IsRedirect ¶
func (o *PatchChatsSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this patch chats settings not found response has a 3xx status code
func (*PatchChatsSettingsNotFound) IsServerError ¶
func (o *PatchChatsSettingsNotFound) IsServerError() bool
IsServerError returns true when this patch chats settings not found response has a 5xx status code
func (*PatchChatsSettingsNotFound) IsSuccess ¶
func (o *PatchChatsSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this patch chats settings not found response has a 2xx status code
func (*PatchChatsSettingsNotFound) String ¶
func (o *PatchChatsSettingsNotFound) String() string
type PatchChatsSettingsOK ¶
type PatchChatsSettingsOK struct {
Payload *models.ChatSettings
}
PatchChatsSettingsOK describes a response with status code 200, with default header values.
successful operation
func NewPatchChatsSettingsOK ¶
func NewPatchChatsSettingsOK() *PatchChatsSettingsOK
NewPatchChatsSettingsOK creates a PatchChatsSettingsOK with default headers values
func (*PatchChatsSettingsOK) Error ¶
func (o *PatchChatsSettingsOK) Error() string
func (*PatchChatsSettingsOK) GetPayload ¶
func (o *PatchChatsSettingsOK) GetPayload() *models.ChatSettings
func (*PatchChatsSettingsOK) IsClientError ¶
func (o *PatchChatsSettingsOK) IsClientError() bool
IsClientError returns true when this patch chats settings o k response has a 4xx status code
func (*PatchChatsSettingsOK) IsCode ¶
func (o *PatchChatsSettingsOK) IsCode(code int) bool
IsCode returns true when this patch chats settings o k response a status code equal to that given
func (*PatchChatsSettingsOK) IsRedirect ¶
func (o *PatchChatsSettingsOK) IsRedirect() bool
IsRedirect returns true when this patch chats settings o k response has a 3xx status code
func (*PatchChatsSettingsOK) IsServerError ¶
func (o *PatchChatsSettingsOK) IsServerError() bool
IsServerError returns true when this patch chats settings o k response has a 5xx status code
func (*PatchChatsSettingsOK) IsSuccess ¶
func (o *PatchChatsSettingsOK) IsSuccess() bool
IsSuccess returns true when this patch chats settings o k response has a 2xx status code
func (*PatchChatsSettingsOK) String ¶
func (o *PatchChatsSettingsOK) String() string
type PatchChatsSettingsParams ¶
type PatchChatsSettingsParams struct { /* Body. Chat */ Body *models.ChatSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchChatsSettingsParams contains all the parameters to send to the API endpoint
for the patch chats settings operation. Typically these are written to a http.Request.
func NewPatchChatsSettingsParams ¶
func NewPatchChatsSettingsParams() *PatchChatsSettingsParams
NewPatchChatsSettingsParams creates a new PatchChatsSettingsParams 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 NewPatchChatsSettingsParamsWithContext ¶
func NewPatchChatsSettingsParamsWithContext(ctx context.Context) *PatchChatsSettingsParams
NewPatchChatsSettingsParamsWithContext creates a new PatchChatsSettingsParams object with the ability to set a context for a request.
func NewPatchChatsSettingsParamsWithHTTPClient ¶
func NewPatchChatsSettingsParamsWithHTTPClient(client *http.Client) *PatchChatsSettingsParams
NewPatchChatsSettingsParamsWithHTTPClient creates a new PatchChatsSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewPatchChatsSettingsParamsWithTimeout ¶
func NewPatchChatsSettingsParamsWithTimeout(timeout time.Duration) *PatchChatsSettingsParams
NewPatchChatsSettingsParamsWithTimeout creates a new PatchChatsSettingsParams object with the ability to set a timeout on a request.
func (*PatchChatsSettingsParams) SetBody ¶
func (o *PatchChatsSettingsParams) SetBody(body *models.ChatSettings)
SetBody adds the body to the patch chats settings params
func (*PatchChatsSettingsParams) SetContext ¶
func (o *PatchChatsSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch chats settings params
func (*PatchChatsSettingsParams) SetDefaults ¶
func (o *PatchChatsSettingsParams) SetDefaults()
SetDefaults hydrates default values in the patch chats settings params (not the query body).
All values with no default are reset to their zero value.
func (*PatchChatsSettingsParams) SetHTTPClient ¶
func (o *PatchChatsSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch chats settings params
func (*PatchChatsSettingsParams) SetTimeout ¶
func (o *PatchChatsSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch chats settings params
func (*PatchChatsSettingsParams) WithBody ¶
func (o *PatchChatsSettingsParams) WithBody(body *models.ChatSettings) *PatchChatsSettingsParams
WithBody adds the body to the patch chats settings params
func (*PatchChatsSettingsParams) WithContext ¶
func (o *PatchChatsSettingsParams) WithContext(ctx context.Context) *PatchChatsSettingsParams
WithContext adds the context to the patch chats settings params
func (*PatchChatsSettingsParams) WithDefaults ¶
func (o *PatchChatsSettingsParams) WithDefaults() *PatchChatsSettingsParams
WithDefaults hydrates default values in the patch chats settings params (not the query body).
All values with no default are reset to their zero value.
func (*PatchChatsSettingsParams) WithHTTPClient ¶
func (o *PatchChatsSettingsParams) WithHTTPClient(client *http.Client) *PatchChatsSettingsParams
WithHTTPClient adds the HTTPClient to the patch chats settings params
func (*PatchChatsSettingsParams) WithTimeout ¶
func (o *PatchChatsSettingsParams) WithTimeout(timeout time.Duration) *PatchChatsSettingsParams
WithTimeout adds the timeout to the patch chats settings params
func (*PatchChatsSettingsParams) WriteToRequest ¶
func (o *PatchChatsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchChatsSettingsReader ¶
type PatchChatsSettingsReader struct {
// contains filtered or unexported fields
}
PatchChatsSettingsReader is a Reader for the PatchChatsSettings structure.
func (*PatchChatsSettingsReader) ReadResponse ¶
func (o *PatchChatsSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchChatsSettingsRequestEntityTooLarge ¶
PatchChatsSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewPatchChatsSettingsRequestEntityTooLarge ¶
func NewPatchChatsSettingsRequestEntityTooLarge() *PatchChatsSettingsRequestEntityTooLarge
NewPatchChatsSettingsRequestEntityTooLarge creates a PatchChatsSettingsRequestEntityTooLarge with default headers values
func (*PatchChatsSettingsRequestEntityTooLarge) Error ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) Error() string
func (*PatchChatsSettingsRequestEntityTooLarge) GetPayload ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsRequestEntityTooLarge) IsClientError ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this patch chats settings request entity too large response has a 4xx status code
func (*PatchChatsSettingsRequestEntityTooLarge) IsCode ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this patch chats settings request entity too large response a status code equal to that given
func (*PatchChatsSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this patch chats settings request entity too large response has a 3xx status code
func (*PatchChatsSettingsRequestEntityTooLarge) IsServerError ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this patch chats settings request entity too large response has a 5xx status code
func (*PatchChatsSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch chats settings request entity too large response has a 2xx status code
func (*PatchChatsSettingsRequestEntityTooLarge) String ¶
func (o *PatchChatsSettingsRequestEntityTooLarge) String() string
type PatchChatsSettingsRequestTimeout ¶
PatchChatsSettingsRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewPatchChatsSettingsRequestTimeout ¶
func NewPatchChatsSettingsRequestTimeout() *PatchChatsSettingsRequestTimeout
NewPatchChatsSettingsRequestTimeout creates a PatchChatsSettingsRequestTimeout with default headers values
func (*PatchChatsSettingsRequestTimeout) Error ¶
func (o *PatchChatsSettingsRequestTimeout) Error() string
func (*PatchChatsSettingsRequestTimeout) GetPayload ¶
func (o *PatchChatsSettingsRequestTimeout) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsRequestTimeout) IsClientError ¶
func (o *PatchChatsSettingsRequestTimeout) IsClientError() bool
IsClientError returns true when this patch chats settings request timeout response has a 4xx status code
func (*PatchChatsSettingsRequestTimeout) IsCode ¶
func (o *PatchChatsSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this patch chats settings request timeout response a status code equal to that given
func (*PatchChatsSettingsRequestTimeout) IsRedirect ¶
func (o *PatchChatsSettingsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this patch chats settings request timeout response has a 3xx status code
func (*PatchChatsSettingsRequestTimeout) IsServerError ¶
func (o *PatchChatsSettingsRequestTimeout) IsServerError() bool
IsServerError returns true when this patch chats settings request timeout response has a 5xx status code
func (*PatchChatsSettingsRequestTimeout) IsSuccess ¶
func (o *PatchChatsSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this patch chats settings request timeout response has a 2xx status code
func (*PatchChatsSettingsRequestTimeout) String ¶
func (o *PatchChatsSettingsRequestTimeout) String() string
type PatchChatsSettingsServiceUnavailable ¶
type PatchChatsSettingsServiceUnavailable struct {
}PatchChatsSettingsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewPatchChatsSettingsServiceUnavailable ¶
func NewPatchChatsSettingsServiceUnavailable() *PatchChatsSettingsServiceUnavailable
NewPatchChatsSettingsServiceUnavailable creates a PatchChatsSettingsServiceUnavailable with default headers values
func (*PatchChatsSettingsServiceUnavailable) Error ¶
func (o *PatchChatsSettingsServiceUnavailable) Error() string
func (*PatchChatsSettingsServiceUnavailable) GetPayload ¶
func (o *PatchChatsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsServiceUnavailable) IsClientError ¶
func (o *PatchChatsSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this patch chats settings service unavailable response has a 4xx status code
func (*PatchChatsSettingsServiceUnavailable) IsCode ¶
func (o *PatchChatsSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this patch chats settings service unavailable response a status code equal to that given
func (*PatchChatsSettingsServiceUnavailable) IsRedirect ¶
func (o *PatchChatsSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this patch chats settings service unavailable response has a 3xx status code
func (*PatchChatsSettingsServiceUnavailable) IsServerError ¶
func (o *PatchChatsSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this patch chats settings service unavailable response has a 5xx status code
func (*PatchChatsSettingsServiceUnavailable) IsSuccess ¶
func (o *PatchChatsSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch chats settings service unavailable response has a 2xx status code
func (*PatchChatsSettingsServiceUnavailable) String ¶
func (o *PatchChatsSettingsServiceUnavailable) String() string
type PatchChatsSettingsTooManyRequests ¶
PatchChatsSettingsTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewPatchChatsSettingsTooManyRequests ¶
func NewPatchChatsSettingsTooManyRequests() *PatchChatsSettingsTooManyRequests
NewPatchChatsSettingsTooManyRequests creates a PatchChatsSettingsTooManyRequests with default headers values
func (*PatchChatsSettingsTooManyRequests) Error ¶
func (o *PatchChatsSettingsTooManyRequests) Error() string
func (*PatchChatsSettingsTooManyRequests) GetPayload ¶
func (o *PatchChatsSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsTooManyRequests) IsClientError ¶
func (o *PatchChatsSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this patch chats settings too many requests response has a 4xx status code
func (*PatchChatsSettingsTooManyRequests) IsCode ¶
func (o *PatchChatsSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch chats settings too many requests response a status code equal to that given
func (*PatchChatsSettingsTooManyRequests) IsRedirect ¶
func (o *PatchChatsSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch chats settings too many requests response has a 3xx status code
func (*PatchChatsSettingsTooManyRequests) IsServerError ¶
func (o *PatchChatsSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this patch chats settings too many requests response has a 5xx status code
func (*PatchChatsSettingsTooManyRequests) IsSuccess ¶
func (o *PatchChatsSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch chats settings too many requests response has a 2xx status code
func (*PatchChatsSettingsTooManyRequests) String ¶
func (o *PatchChatsSettingsTooManyRequests) String() string
type PatchChatsSettingsUnauthorized ¶
type PatchChatsSettingsUnauthorized struct {
}PatchChatsSettingsUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewPatchChatsSettingsUnauthorized ¶
func NewPatchChatsSettingsUnauthorized() *PatchChatsSettingsUnauthorized
NewPatchChatsSettingsUnauthorized creates a PatchChatsSettingsUnauthorized with default headers values
func (*PatchChatsSettingsUnauthorized) Error ¶
func (o *PatchChatsSettingsUnauthorized) Error() string
func (*PatchChatsSettingsUnauthorized) GetPayload ¶
func (o *PatchChatsSettingsUnauthorized) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsUnauthorized) IsClientError ¶
func (o *PatchChatsSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this patch chats settings unauthorized response has a 4xx status code
func (*PatchChatsSettingsUnauthorized) IsCode ¶
func (o *PatchChatsSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this patch chats settings unauthorized response a status code equal to that given
func (*PatchChatsSettingsUnauthorized) IsRedirect ¶
func (o *PatchChatsSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch chats settings unauthorized response has a 3xx status code
func (*PatchChatsSettingsUnauthorized) IsServerError ¶
func (o *PatchChatsSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this patch chats settings unauthorized response has a 5xx status code
func (*PatchChatsSettingsUnauthorized) IsSuccess ¶
func (o *PatchChatsSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch chats settings unauthorized response has a 2xx status code
func (*PatchChatsSettingsUnauthorized) String ¶
func (o *PatchChatsSettingsUnauthorized) String() string
type PatchChatsSettingsUnsupportedMediaType ¶
PatchChatsSettingsUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewPatchChatsSettingsUnsupportedMediaType ¶
func NewPatchChatsSettingsUnsupportedMediaType() *PatchChatsSettingsUnsupportedMediaType
NewPatchChatsSettingsUnsupportedMediaType creates a PatchChatsSettingsUnsupportedMediaType with default headers values
func (*PatchChatsSettingsUnsupportedMediaType) Error ¶
func (o *PatchChatsSettingsUnsupportedMediaType) Error() string
func (*PatchChatsSettingsUnsupportedMediaType) GetPayload ¶
func (o *PatchChatsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PatchChatsSettingsUnsupportedMediaType) IsClientError ¶
func (o *PatchChatsSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this patch chats settings unsupported media type response has a 4xx status code
func (*PatchChatsSettingsUnsupportedMediaType) IsCode ¶
func (o *PatchChatsSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this patch chats settings unsupported media type response a status code equal to that given
func (*PatchChatsSettingsUnsupportedMediaType) IsRedirect ¶
func (o *PatchChatsSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this patch chats settings unsupported media type response has a 3xx status code
func (*PatchChatsSettingsUnsupportedMediaType) IsServerError ¶
func (o *PatchChatsSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this patch chats settings unsupported media type response has a 5xx status code
func (*PatchChatsSettingsUnsupportedMediaType) IsSuccess ¶
func (o *PatchChatsSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this patch chats settings unsupported media type response has a 2xx status code
func (*PatchChatsSettingsUnsupportedMediaType) String ¶
func (o *PatchChatsSettingsUnsupportedMediaType) String() string
type PutChatSettingsBadRequest ¶
PutChatSettingsBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewPutChatSettingsBadRequest ¶
func NewPutChatSettingsBadRequest() *PutChatSettingsBadRequest
NewPutChatSettingsBadRequest creates a PutChatSettingsBadRequest with default headers values
func (*PutChatSettingsBadRequest) Error ¶
func (o *PutChatSettingsBadRequest) Error() string
func (*PutChatSettingsBadRequest) GetPayload ¶
func (o *PutChatSettingsBadRequest) GetPayload() *models.ErrorBody
func (*PutChatSettingsBadRequest) IsClientError ¶
func (o *PutChatSettingsBadRequest) IsClientError() bool
IsClientError returns true when this put chat settings bad request response has a 4xx status code
func (*PutChatSettingsBadRequest) IsCode ¶
func (o *PutChatSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this put chat settings bad request response a status code equal to that given
func (*PutChatSettingsBadRequest) IsRedirect ¶
func (o *PutChatSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this put chat settings bad request response has a 3xx status code
func (*PutChatSettingsBadRequest) IsServerError ¶
func (o *PutChatSettingsBadRequest) IsServerError() bool
IsServerError returns true when this put chat settings bad request response has a 5xx status code
func (*PutChatSettingsBadRequest) IsSuccess ¶
func (o *PutChatSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this put chat settings bad request response has a 2xx status code
func (*PutChatSettingsBadRequest) String ¶
func (o *PutChatSettingsBadRequest) String() string
type PutChatSettingsForbidden ¶
PutChatSettingsForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewPutChatSettingsForbidden ¶
func NewPutChatSettingsForbidden() *PutChatSettingsForbidden
NewPutChatSettingsForbidden creates a PutChatSettingsForbidden with default headers values
func (*PutChatSettingsForbidden) Error ¶
func (o *PutChatSettingsForbidden) Error() string
func (*PutChatSettingsForbidden) GetPayload ¶
func (o *PutChatSettingsForbidden) GetPayload() *models.ErrorBody
func (*PutChatSettingsForbidden) IsClientError ¶
func (o *PutChatSettingsForbidden) IsClientError() bool
IsClientError returns true when this put chat settings forbidden response has a 4xx status code
func (*PutChatSettingsForbidden) IsCode ¶
func (o *PutChatSettingsForbidden) IsCode(code int) bool
IsCode returns true when this put chat settings forbidden response a status code equal to that given
func (*PutChatSettingsForbidden) IsRedirect ¶
func (o *PutChatSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this put chat settings forbidden response has a 3xx status code
func (*PutChatSettingsForbidden) IsServerError ¶
func (o *PutChatSettingsForbidden) IsServerError() bool
IsServerError returns true when this put chat settings forbidden response has a 5xx status code
func (*PutChatSettingsForbidden) IsSuccess ¶
func (o *PutChatSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this put chat settings forbidden response has a 2xx status code
func (*PutChatSettingsForbidden) String ¶
func (o *PutChatSettingsForbidden) String() string
type PutChatSettingsGatewayTimeout ¶
PutChatSettingsGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewPutChatSettingsGatewayTimeout ¶
func NewPutChatSettingsGatewayTimeout() *PutChatSettingsGatewayTimeout
NewPutChatSettingsGatewayTimeout creates a PutChatSettingsGatewayTimeout with default headers values
func (*PutChatSettingsGatewayTimeout) Error ¶
func (o *PutChatSettingsGatewayTimeout) Error() string
func (*PutChatSettingsGatewayTimeout) GetPayload ¶
func (o *PutChatSettingsGatewayTimeout) GetPayload() *models.ErrorBody
func (*PutChatSettingsGatewayTimeout) IsClientError ¶
func (o *PutChatSettingsGatewayTimeout) IsClientError() bool
IsClientError returns true when this put chat settings gateway timeout response has a 4xx status code
func (*PutChatSettingsGatewayTimeout) IsCode ¶
func (o *PutChatSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this put chat settings gateway timeout response a status code equal to that given
func (*PutChatSettingsGatewayTimeout) IsRedirect ¶
func (o *PutChatSettingsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this put chat settings gateway timeout response has a 3xx status code
func (*PutChatSettingsGatewayTimeout) IsServerError ¶
func (o *PutChatSettingsGatewayTimeout) IsServerError() bool
IsServerError returns true when this put chat settings gateway timeout response has a 5xx status code
func (*PutChatSettingsGatewayTimeout) IsSuccess ¶
func (o *PutChatSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this put chat settings gateway timeout response has a 2xx status code
func (*PutChatSettingsGatewayTimeout) String ¶
func (o *PutChatSettingsGatewayTimeout) String() string
type PutChatSettingsInternalServerError ¶
PutChatSettingsInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewPutChatSettingsInternalServerError ¶
func NewPutChatSettingsInternalServerError() *PutChatSettingsInternalServerError
NewPutChatSettingsInternalServerError creates a PutChatSettingsInternalServerError with default headers values
func (*PutChatSettingsInternalServerError) Error ¶
func (o *PutChatSettingsInternalServerError) Error() string
func (*PutChatSettingsInternalServerError) GetPayload ¶
func (o *PutChatSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*PutChatSettingsInternalServerError) IsClientError ¶
func (o *PutChatSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this put chat settings internal server error response has a 4xx status code
func (*PutChatSettingsInternalServerError) IsCode ¶
func (o *PutChatSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this put chat settings internal server error response a status code equal to that given
func (*PutChatSettingsInternalServerError) IsRedirect ¶
func (o *PutChatSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this put chat settings internal server error response has a 3xx status code
func (*PutChatSettingsInternalServerError) IsServerError ¶
func (o *PutChatSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this put chat settings internal server error response has a 5xx status code
func (*PutChatSettingsInternalServerError) IsSuccess ¶
func (o *PutChatSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this put chat settings internal server error response has a 2xx status code
func (*PutChatSettingsInternalServerError) String ¶
func (o *PutChatSettingsInternalServerError) String() string
type PutChatSettingsNotFound ¶
PutChatSettingsNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewPutChatSettingsNotFound ¶
func NewPutChatSettingsNotFound() *PutChatSettingsNotFound
NewPutChatSettingsNotFound creates a PutChatSettingsNotFound with default headers values
func (*PutChatSettingsNotFound) Error ¶
func (o *PutChatSettingsNotFound) Error() string
func (*PutChatSettingsNotFound) GetPayload ¶
func (o *PutChatSettingsNotFound) GetPayload() *models.ErrorBody
func (*PutChatSettingsNotFound) IsClientError ¶
func (o *PutChatSettingsNotFound) IsClientError() bool
IsClientError returns true when this put chat settings not found response has a 4xx status code
func (*PutChatSettingsNotFound) IsCode ¶
func (o *PutChatSettingsNotFound) IsCode(code int) bool
IsCode returns true when this put chat settings not found response a status code equal to that given
func (*PutChatSettingsNotFound) IsRedirect ¶
func (o *PutChatSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this put chat settings not found response has a 3xx status code
func (*PutChatSettingsNotFound) IsServerError ¶
func (o *PutChatSettingsNotFound) IsServerError() bool
IsServerError returns true when this put chat settings not found response has a 5xx status code
func (*PutChatSettingsNotFound) IsSuccess ¶
func (o *PutChatSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this put chat settings not found response has a 2xx status code
func (*PutChatSettingsNotFound) String ¶
func (o *PutChatSettingsNotFound) String() string
type PutChatSettingsOK ¶
type PutChatSettingsOK struct {
Payload *models.ChatSettings
}
PutChatSettingsOK describes a response with status code 200, with default header values.
successful operation
func NewPutChatSettingsOK ¶
func NewPutChatSettingsOK() *PutChatSettingsOK
NewPutChatSettingsOK creates a PutChatSettingsOK with default headers values
func (*PutChatSettingsOK) Error ¶
func (o *PutChatSettingsOK) Error() string
func (*PutChatSettingsOK) GetPayload ¶
func (o *PutChatSettingsOK) GetPayload() *models.ChatSettings
func (*PutChatSettingsOK) IsClientError ¶
func (o *PutChatSettingsOK) IsClientError() bool
IsClientError returns true when this put chat settings o k response has a 4xx status code
func (*PutChatSettingsOK) IsCode ¶
func (o *PutChatSettingsOK) IsCode(code int) bool
IsCode returns true when this put chat settings o k response a status code equal to that given
func (*PutChatSettingsOK) IsRedirect ¶
func (o *PutChatSettingsOK) IsRedirect() bool
IsRedirect returns true when this put chat settings o k response has a 3xx status code
func (*PutChatSettingsOK) IsServerError ¶
func (o *PutChatSettingsOK) IsServerError() bool
IsServerError returns true when this put chat settings o k response has a 5xx status code
func (*PutChatSettingsOK) IsSuccess ¶
func (o *PutChatSettingsOK) IsSuccess() bool
IsSuccess returns true when this put chat settings o k response has a 2xx status code
func (*PutChatSettingsOK) String ¶
func (o *PutChatSettingsOK) String() string
type PutChatSettingsParams ¶
type PutChatSettingsParams struct { /* Body. Chat */ Body *models.ChatSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutChatSettingsParams contains all the parameters to send to the API endpoint
for the put chat settings operation. Typically these are written to a http.Request.
func NewPutChatSettingsParams ¶
func NewPutChatSettingsParams() *PutChatSettingsParams
NewPutChatSettingsParams creates a new PutChatSettingsParams 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 NewPutChatSettingsParamsWithContext ¶
func NewPutChatSettingsParamsWithContext(ctx context.Context) *PutChatSettingsParams
NewPutChatSettingsParamsWithContext creates a new PutChatSettingsParams object with the ability to set a context for a request.
func NewPutChatSettingsParamsWithHTTPClient ¶
func NewPutChatSettingsParamsWithHTTPClient(client *http.Client) *PutChatSettingsParams
NewPutChatSettingsParamsWithHTTPClient creates a new PutChatSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewPutChatSettingsParamsWithTimeout ¶
func NewPutChatSettingsParamsWithTimeout(timeout time.Duration) *PutChatSettingsParams
NewPutChatSettingsParamsWithTimeout creates a new PutChatSettingsParams object with the ability to set a timeout on a request.
func (*PutChatSettingsParams) SetBody ¶
func (o *PutChatSettingsParams) SetBody(body *models.ChatSettings)
SetBody adds the body to the put chat settings params
func (*PutChatSettingsParams) SetContext ¶
func (o *PutChatSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the put chat settings params
func (*PutChatSettingsParams) SetDefaults ¶
func (o *PutChatSettingsParams) SetDefaults()
SetDefaults hydrates default values in the put chat settings params (not the query body).
All values with no default are reset to their zero value.
func (*PutChatSettingsParams) SetHTTPClient ¶
func (o *PutChatSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put chat settings params
func (*PutChatSettingsParams) SetTimeout ¶
func (o *PutChatSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put chat settings params
func (*PutChatSettingsParams) WithBody ¶
func (o *PutChatSettingsParams) WithBody(body *models.ChatSettings) *PutChatSettingsParams
WithBody adds the body to the put chat settings params
func (*PutChatSettingsParams) WithContext ¶
func (o *PutChatSettingsParams) WithContext(ctx context.Context) *PutChatSettingsParams
WithContext adds the context to the put chat settings params
func (*PutChatSettingsParams) WithDefaults ¶
func (o *PutChatSettingsParams) WithDefaults() *PutChatSettingsParams
WithDefaults hydrates default values in the put chat settings params (not the query body).
All values with no default are reset to their zero value.
func (*PutChatSettingsParams) WithHTTPClient ¶
func (o *PutChatSettingsParams) WithHTTPClient(client *http.Client) *PutChatSettingsParams
WithHTTPClient adds the HTTPClient to the put chat settings params
func (*PutChatSettingsParams) WithTimeout ¶
func (o *PutChatSettingsParams) WithTimeout(timeout time.Duration) *PutChatSettingsParams
WithTimeout adds the timeout to the put chat settings params
func (*PutChatSettingsParams) WriteToRequest ¶
func (o *PutChatSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutChatSettingsReader ¶
type PutChatSettingsReader struct {
// contains filtered or unexported fields
}
PutChatSettingsReader is a Reader for the PutChatSettings structure.
func (*PutChatSettingsReader) ReadResponse ¶
func (o *PutChatSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutChatSettingsRequestEntityTooLarge ¶
PutChatSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewPutChatSettingsRequestEntityTooLarge ¶
func NewPutChatSettingsRequestEntityTooLarge() *PutChatSettingsRequestEntityTooLarge
NewPutChatSettingsRequestEntityTooLarge creates a PutChatSettingsRequestEntityTooLarge with default headers values
func (*PutChatSettingsRequestEntityTooLarge) Error ¶
func (o *PutChatSettingsRequestEntityTooLarge) Error() string
func (*PutChatSettingsRequestEntityTooLarge) GetPayload ¶
func (o *PutChatSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PutChatSettingsRequestEntityTooLarge) IsClientError ¶
func (o *PutChatSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this put chat settings request entity too large response has a 4xx status code
func (*PutChatSettingsRequestEntityTooLarge) IsCode ¶
func (o *PutChatSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this put chat settings request entity too large response a status code equal to that given
func (*PutChatSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *PutChatSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this put chat settings request entity too large response has a 3xx status code
func (*PutChatSettingsRequestEntityTooLarge) IsServerError ¶
func (o *PutChatSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this put chat settings request entity too large response has a 5xx status code
func (*PutChatSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *PutChatSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this put chat settings request entity too large response has a 2xx status code
func (*PutChatSettingsRequestEntityTooLarge) String ¶
func (o *PutChatSettingsRequestEntityTooLarge) String() string
type PutChatSettingsRequestTimeout ¶
PutChatSettingsRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewPutChatSettingsRequestTimeout ¶
func NewPutChatSettingsRequestTimeout() *PutChatSettingsRequestTimeout
NewPutChatSettingsRequestTimeout creates a PutChatSettingsRequestTimeout with default headers values
func (*PutChatSettingsRequestTimeout) Error ¶
func (o *PutChatSettingsRequestTimeout) Error() string
func (*PutChatSettingsRequestTimeout) GetPayload ¶
func (o *PutChatSettingsRequestTimeout) GetPayload() *models.ErrorBody
func (*PutChatSettingsRequestTimeout) IsClientError ¶
func (o *PutChatSettingsRequestTimeout) IsClientError() bool
IsClientError returns true when this put chat settings request timeout response has a 4xx status code
func (*PutChatSettingsRequestTimeout) IsCode ¶
func (o *PutChatSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this put chat settings request timeout response a status code equal to that given
func (*PutChatSettingsRequestTimeout) IsRedirect ¶
func (o *PutChatSettingsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this put chat settings request timeout response has a 3xx status code
func (*PutChatSettingsRequestTimeout) IsServerError ¶
func (o *PutChatSettingsRequestTimeout) IsServerError() bool
IsServerError returns true when this put chat settings request timeout response has a 5xx status code
func (*PutChatSettingsRequestTimeout) IsSuccess ¶
func (o *PutChatSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this put chat settings request timeout response has a 2xx status code
func (*PutChatSettingsRequestTimeout) String ¶
func (o *PutChatSettingsRequestTimeout) String() string
type PutChatSettingsServiceUnavailable ¶
type PutChatSettingsServiceUnavailable struct {
}PutChatSettingsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewPutChatSettingsServiceUnavailable ¶
func NewPutChatSettingsServiceUnavailable() *PutChatSettingsServiceUnavailable
NewPutChatSettingsServiceUnavailable creates a PutChatSettingsServiceUnavailable with default headers values
func (*PutChatSettingsServiceUnavailable) Error ¶
func (o *PutChatSettingsServiceUnavailable) Error() string
func (*PutChatSettingsServiceUnavailable) GetPayload ¶
func (o *PutChatSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*PutChatSettingsServiceUnavailable) IsClientError ¶
func (o *PutChatSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this put chat settings service unavailable response has a 4xx status code
func (*PutChatSettingsServiceUnavailable) IsCode ¶
func (o *PutChatSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this put chat settings service unavailable response a status code equal to that given
func (*PutChatSettingsServiceUnavailable) IsRedirect ¶
func (o *PutChatSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this put chat settings service unavailable response has a 3xx status code
func (*PutChatSettingsServiceUnavailable) IsServerError ¶
func (o *PutChatSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this put chat settings service unavailable response has a 5xx status code
func (*PutChatSettingsServiceUnavailable) IsSuccess ¶
func (o *PutChatSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this put chat settings service unavailable response has a 2xx status code
func (*PutChatSettingsServiceUnavailable) String ¶
func (o *PutChatSettingsServiceUnavailable) String() string
type PutChatSettingsTooManyRequests ¶
PutChatSettingsTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewPutChatSettingsTooManyRequests ¶
func NewPutChatSettingsTooManyRequests() *PutChatSettingsTooManyRequests
NewPutChatSettingsTooManyRequests creates a PutChatSettingsTooManyRequests with default headers values
func (*PutChatSettingsTooManyRequests) Error ¶
func (o *PutChatSettingsTooManyRequests) Error() string
func (*PutChatSettingsTooManyRequests) GetPayload ¶
func (o *PutChatSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*PutChatSettingsTooManyRequests) IsClientError ¶
func (o *PutChatSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this put chat settings too many requests response has a 4xx status code
func (*PutChatSettingsTooManyRequests) IsCode ¶
func (o *PutChatSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this put chat settings too many requests response a status code equal to that given
func (*PutChatSettingsTooManyRequests) IsRedirect ¶
func (o *PutChatSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this put chat settings too many requests response has a 3xx status code
func (*PutChatSettingsTooManyRequests) IsServerError ¶
func (o *PutChatSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this put chat settings too many requests response has a 5xx status code
func (*PutChatSettingsTooManyRequests) IsSuccess ¶
func (o *PutChatSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this put chat settings too many requests response has a 2xx status code
func (*PutChatSettingsTooManyRequests) String ¶
func (o *PutChatSettingsTooManyRequests) String() string
type PutChatSettingsUnauthorized ¶
type PutChatSettingsUnauthorized struct {
}PutChatSettingsUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewPutChatSettingsUnauthorized ¶
func NewPutChatSettingsUnauthorized() *PutChatSettingsUnauthorized
NewPutChatSettingsUnauthorized creates a PutChatSettingsUnauthorized with default headers values
func (*PutChatSettingsUnauthorized) Error ¶
func (o *PutChatSettingsUnauthorized) Error() string
func (*PutChatSettingsUnauthorized) GetPayload ¶
func (o *PutChatSettingsUnauthorized) GetPayload() *models.ErrorBody
func (*PutChatSettingsUnauthorized) IsClientError ¶
func (o *PutChatSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this put chat settings unauthorized response has a 4xx status code
func (*PutChatSettingsUnauthorized) IsCode ¶
func (o *PutChatSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this put chat settings unauthorized response a status code equal to that given
func (*PutChatSettingsUnauthorized) IsRedirect ¶
func (o *PutChatSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this put chat settings unauthorized response has a 3xx status code
func (*PutChatSettingsUnauthorized) IsServerError ¶
func (o *PutChatSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this put chat settings unauthorized response has a 5xx status code
func (*PutChatSettingsUnauthorized) IsSuccess ¶
func (o *PutChatSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this put chat settings unauthorized response has a 2xx status code
func (*PutChatSettingsUnauthorized) String ¶
func (o *PutChatSettingsUnauthorized) String() string
type PutChatSettingsUnsupportedMediaType ¶
PutChatSettingsUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewPutChatSettingsUnsupportedMediaType ¶
func NewPutChatSettingsUnsupportedMediaType() *PutChatSettingsUnsupportedMediaType
NewPutChatSettingsUnsupportedMediaType creates a PutChatSettingsUnsupportedMediaType with default headers values
func (*PutChatSettingsUnsupportedMediaType) Error ¶
func (o *PutChatSettingsUnsupportedMediaType) Error() string
func (*PutChatSettingsUnsupportedMediaType) GetPayload ¶
func (o *PutChatSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PutChatSettingsUnsupportedMediaType) IsClientError ¶
func (o *PutChatSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this put chat settings unsupported media type response has a 4xx status code
func (*PutChatSettingsUnsupportedMediaType) IsCode ¶
func (o *PutChatSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this put chat settings unsupported media type response a status code equal to that given
func (*PutChatSettingsUnsupportedMediaType) IsRedirect ¶
func (o *PutChatSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this put chat settings unsupported media type response has a 3xx status code
func (*PutChatSettingsUnsupportedMediaType) IsServerError ¶
func (o *PutChatSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this put chat settings unsupported media type response has a 5xx status code
func (*PutChatSettingsUnsupportedMediaType) IsSuccess ¶
func (o *PutChatSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this put chat settings unsupported media type response has a 2xx status code
func (*PutChatSettingsUnsupportedMediaType) String ¶
func (o *PutChatSettingsUnsupportedMediaType) String() string
type PutChatsSettingsBadRequest ¶
PutChatsSettingsBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewPutChatsSettingsBadRequest ¶
func NewPutChatsSettingsBadRequest() *PutChatsSettingsBadRequest
NewPutChatsSettingsBadRequest creates a PutChatsSettingsBadRequest with default headers values
func (*PutChatsSettingsBadRequest) Error ¶
func (o *PutChatsSettingsBadRequest) Error() string
func (*PutChatsSettingsBadRequest) GetPayload ¶
func (o *PutChatsSettingsBadRequest) GetPayload() *models.ErrorBody
func (*PutChatsSettingsBadRequest) IsClientError ¶
func (o *PutChatsSettingsBadRequest) IsClientError() bool
IsClientError returns true when this put chats settings bad request response has a 4xx status code
func (*PutChatsSettingsBadRequest) IsCode ¶
func (o *PutChatsSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this put chats settings bad request response a status code equal to that given
func (*PutChatsSettingsBadRequest) IsRedirect ¶
func (o *PutChatsSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this put chats settings bad request response has a 3xx status code
func (*PutChatsSettingsBadRequest) IsServerError ¶
func (o *PutChatsSettingsBadRequest) IsServerError() bool
IsServerError returns true when this put chats settings bad request response has a 5xx status code
func (*PutChatsSettingsBadRequest) IsSuccess ¶
func (o *PutChatsSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this put chats settings bad request response has a 2xx status code
func (*PutChatsSettingsBadRequest) String ¶
func (o *PutChatsSettingsBadRequest) String() string
type PutChatsSettingsForbidden ¶
PutChatsSettingsForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewPutChatsSettingsForbidden ¶
func NewPutChatsSettingsForbidden() *PutChatsSettingsForbidden
NewPutChatsSettingsForbidden creates a PutChatsSettingsForbidden with default headers values
func (*PutChatsSettingsForbidden) Error ¶
func (o *PutChatsSettingsForbidden) Error() string
func (*PutChatsSettingsForbidden) GetPayload ¶
func (o *PutChatsSettingsForbidden) GetPayload() *models.ErrorBody
func (*PutChatsSettingsForbidden) IsClientError ¶
func (o *PutChatsSettingsForbidden) IsClientError() bool
IsClientError returns true when this put chats settings forbidden response has a 4xx status code
func (*PutChatsSettingsForbidden) IsCode ¶
func (o *PutChatsSettingsForbidden) IsCode(code int) bool
IsCode returns true when this put chats settings forbidden response a status code equal to that given
func (*PutChatsSettingsForbidden) IsRedirect ¶
func (o *PutChatsSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this put chats settings forbidden response has a 3xx status code
func (*PutChatsSettingsForbidden) IsServerError ¶
func (o *PutChatsSettingsForbidden) IsServerError() bool
IsServerError returns true when this put chats settings forbidden response has a 5xx status code
func (*PutChatsSettingsForbidden) IsSuccess ¶
func (o *PutChatsSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this put chats settings forbidden response has a 2xx status code
func (*PutChatsSettingsForbidden) String ¶
func (o *PutChatsSettingsForbidden) String() string
type PutChatsSettingsGatewayTimeout ¶
PutChatsSettingsGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewPutChatsSettingsGatewayTimeout ¶
func NewPutChatsSettingsGatewayTimeout() *PutChatsSettingsGatewayTimeout
NewPutChatsSettingsGatewayTimeout creates a PutChatsSettingsGatewayTimeout with default headers values
func (*PutChatsSettingsGatewayTimeout) Error ¶
func (o *PutChatsSettingsGatewayTimeout) Error() string
func (*PutChatsSettingsGatewayTimeout) GetPayload ¶
func (o *PutChatsSettingsGatewayTimeout) GetPayload() *models.ErrorBody
func (*PutChatsSettingsGatewayTimeout) IsClientError ¶
func (o *PutChatsSettingsGatewayTimeout) IsClientError() bool
IsClientError returns true when this put chats settings gateway timeout response has a 4xx status code
func (*PutChatsSettingsGatewayTimeout) IsCode ¶
func (o *PutChatsSettingsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this put chats settings gateway timeout response a status code equal to that given
func (*PutChatsSettingsGatewayTimeout) IsRedirect ¶
func (o *PutChatsSettingsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this put chats settings gateway timeout response has a 3xx status code
func (*PutChatsSettingsGatewayTimeout) IsServerError ¶
func (o *PutChatsSettingsGatewayTimeout) IsServerError() bool
IsServerError returns true when this put chats settings gateway timeout response has a 5xx status code
func (*PutChatsSettingsGatewayTimeout) IsSuccess ¶
func (o *PutChatsSettingsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this put chats settings gateway timeout response has a 2xx status code
func (*PutChatsSettingsGatewayTimeout) String ¶
func (o *PutChatsSettingsGatewayTimeout) String() string
type PutChatsSettingsInternalServerError ¶
PutChatsSettingsInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewPutChatsSettingsInternalServerError ¶
func NewPutChatsSettingsInternalServerError() *PutChatsSettingsInternalServerError
NewPutChatsSettingsInternalServerError creates a PutChatsSettingsInternalServerError with default headers values
func (*PutChatsSettingsInternalServerError) Error ¶
func (o *PutChatsSettingsInternalServerError) Error() string
func (*PutChatsSettingsInternalServerError) GetPayload ¶
func (o *PutChatsSettingsInternalServerError) GetPayload() *models.ErrorBody
func (*PutChatsSettingsInternalServerError) IsClientError ¶
func (o *PutChatsSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this put chats settings internal server error response has a 4xx status code
func (*PutChatsSettingsInternalServerError) IsCode ¶
func (o *PutChatsSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this put chats settings internal server error response a status code equal to that given
func (*PutChatsSettingsInternalServerError) IsRedirect ¶
func (o *PutChatsSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this put chats settings internal server error response has a 3xx status code
func (*PutChatsSettingsInternalServerError) IsServerError ¶
func (o *PutChatsSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this put chats settings internal server error response has a 5xx status code
func (*PutChatsSettingsInternalServerError) IsSuccess ¶
func (o *PutChatsSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this put chats settings internal server error response has a 2xx status code
func (*PutChatsSettingsInternalServerError) String ¶
func (o *PutChatsSettingsInternalServerError) String() string
type PutChatsSettingsNotFound ¶
PutChatsSettingsNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewPutChatsSettingsNotFound ¶
func NewPutChatsSettingsNotFound() *PutChatsSettingsNotFound
NewPutChatsSettingsNotFound creates a PutChatsSettingsNotFound with default headers values
func (*PutChatsSettingsNotFound) Error ¶
func (o *PutChatsSettingsNotFound) Error() string
func (*PutChatsSettingsNotFound) GetPayload ¶
func (o *PutChatsSettingsNotFound) GetPayload() *models.ErrorBody
func (*PutChatsSettingsNotFound) IsClientError ¶
func (o *PutChatsSettingsNotFound) IsClientError() bool
IsClientError returns true when this put chats settings not found response has a 4xx status code
func (*PutChatsSettingsNotFound) IsCode ¶
func (o *PutChatsSettingsNotFound) IsCode(code int) bool
IsCode returns true when this put chats settings not found response a status code equal to that given
func (*PutChatsSettingsNotFound) IsRedirect ¶
func (o *PutChatsSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this put chats settings not found response has a 3xx status code
func (*PutChatsSettingsNotFound) IsServerError ¶
func (o *PutChatsSettingsNotFound) IsServerError() bool
IsServerError returns true when this put chats settings not found response has a 5xx status code
func (*PutChatsSettingsNotFound) IsSuccess ¶
func (o *PutChatsSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this put chats settings not found response has a 2xx status code
func (*PutChatsSettingsNotFound) String ¶
func (o *PutChatsSettingsNotFound) String() string
type PutChatsSettingsOK ¶
type PutChatsSettingsOK struct {
Payload *models.ChatSettings
}
PutChatsSettingsOK describes a response with status code 200, with default header values.
successful operation
func NewPutChatsSettingsOK ¶
func NewPutChatsSettingsOK() *PutChatsSettingsOK
NewPutChatsSettingsOK creates a PutChatsSettingsOK with default headers values
func (*PutChatsSettingsOK) Error ¶
func (o *PutChatsSettingsOK) Error() string
func (*PutChatsSettingsOK) GetPayload ¶
func (o *PutChatsSettingsOK) GetPayload() *models.ChatSettings
func (*PutChatsSettingsOK) IsClientError ¶
func (o *PutChatsSettingsOK) IsClientError() bool
IsClientError returns true when this put chats settings o k response has a 4xx status code
func (*PutChatsSettingsOK) IsCode ¶
func (o *PutChatsSettingsOK) IsCode(code int) bool
IsCode returns true when this put chats settings o k response a status code equal to that given
func (*PutChatsSettingsOK) IsRedirect ¶
func (o *PutChatsSettingsOK) IsRedirect() bool
IsRedirect returns true when this put chats settings o k response has a 3xx status code
func (*PutChatsSettingsOK) IsServerError ¶
func (o *PutChatsSettingsOK) IsServerError() bool
IsServerError returns true when this put chats settings o k response has a 5xx status code
func (*PutChatsSettingsOK) IsSuccess ¶
func (o *PutChatsSettingsOK) IsSuccess() bool
IsSuccess returns true when this put chats settings o k response has a 2xx status code
func (*PutChatsSettingsOK) String ¶
func (o *PutChatsSettingsOK) String() string
type PutChatsSettingsParams ¶
type PutChatsSettingsParams struct { /* Body. Chat */ Body *models.ChatSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutChatsSettingsParams contains all the parameters to send to the API endpoint
for the put chats settings operation. Typically these are written to a http.Request.
func NewPutChatsSettingsParams ¶
func NewPutChatsSettingsParams() *PutChatsSettingsParams
NewPutChatsSettingsParams creates a new PutChatsSettingsParams 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 NewPutChatsSettingsParamsWithContext ¶
func NewPutChatsSettingsParamsWithContext(ctx context.Context) *PutChatsSettingsParams
NewPutChatsSettingsParamsWithContext creates a new PutChatsSettingsParams object with the ability to set a context for a request.
func NewPutChatsSettingsParamsWithHTTPClient ¶
func NewPutChatsSettingsParamsWithHTTPClient(client *http.Client) *PutChatsSettingsParams
NewPutChatsSettingsParamsWithHTTPClient creates a new PutChatsSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewPutChatsSettingsParamsWithTimeout ¶
func NewPutChatsSettingsParamsWithTimeout(timeout time.Duration) *PutChatsSettingsParams
NewPutChatsSettingsParamsWithTimeout creates a new PutChatsSettingsParams object with the ability to set a timeout on a request.
func (*PutChatsSettingsParams) SetBody ¶
func (o *PutChatsSettingsParams) SetBody(body *models.ChatSettings)
SetBody adds the body to the put chats settings params
func (*PutChatsSettingsParams) SetContext ¶
func (o *PutChatsSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the put chats settings params
func (*PutChatsSettingsParams) SetDefaults ¶
func (o *PutChatsSettingsParams) SetDefaults()
SetDefaults hydrates default values in the put chats settings params (not the query body).
All values with no default are reset to their zero value.
func (*PutChatsSettingsParams) SetHTTPClient ¶
func (o *PutChatsSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put chats settings params
func (*PutChatsSettingsParams) SetTimeout ¶
func (o *PutChatsSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put chats settings params
func (*PutChatsSettingsParams) WithBody ¶
func (o *PutChatsSettingsParams) WithBody(body *models.ChatSettings) *PutChatsSettingsParams
WithBody adds the body to the put chats settings params
func (*PutChatsSettingsParams) WithContext ¶
func (o *PutChatsSettingsParams) WithContext(ctx context.Context) *PutChatsSettingsParams
WithContext adds the context to the put chats settings params
func (*PutChatsSettingsParams) WithDefaults ¶
func (o *PutChatsSettingsParams) WithDefaults() *PutChatsSettingsParams
WithDefaults hydrates default values in the put chats settings params (not the query body).
All values with no default are reset to their zero value.
func (*PutChatsSettingsParams) WithHTTPClient ¶
func (o *PutChatsSettingsParams) WithHTTPClient(client *http.Client) *PutChatsSettingsParams
WithHTTPClient adds the HTTPClient to the put chats settings params
func (*PutChatsSettingsParams) WithTimeout ¶
func (o *PutChatsSettingsParams) WithTimeout(timeout time.Duration) *PutChatsSettingsParams
WithTimeout adds the timeout to the put chats settings params
func (*PutChatsSettingsParams) WriteToRequest ¶
func (o *PutChatsSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutChatsSettingsReader ¶
type PutChatsSettingsReader struct {
// contains filtered or unexported fields
}
PutChatsSettingsReader is a Reader for the PutChatsSettings structure.
func (*PutChatsSettingsReader) ReadResponse ¶
func (o *PutChatsSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutChatsSettingsRequestEntityTooLarge ¶
PutChatsSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewPutChatsSettingsRequestEntityTooLarge ¶
func NewPutChatsSettingsRequestEntityTooLarge() *PutChatsSettingsRequestEntityTooLarge
NewPutChatsSettingsRequestEntityTooLarge creates a PutChatsSettingsRequestEntityTooLarge with default headers values
func (*PutChatsSettingsRequestEntityTooLarge) Error ¶
func (o *PutChatsSettingsRequestEntityTooLarge) Error() string
func (*PutChatsSettingsRequestEntityTooLarge) GetPayload ¶
func (o *PutChatsSettingsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PutChatsSettingsRequestEntityTooLarge) IsClientError ¶
func (o *PutChatsSettingsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this put chats settings request entity too large response has a 4xx status code
func (*PutChatsSettingsRequestEntityTooLarge) IsCode ¶
func (o *PutChatsSettingsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this put chats settings request entity too large response a status code equal to that given
func (*PutChatsSettingsRequestEntityTooLarge) IsRedirect ¶
func (o *PutChatsSettingsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this put chats settings request entity too large response has a 3xx status code
func (*PutChatsSettingsRequestEntityTooLarge) IsServerError ¶
func (o *PutChatsSettingsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this put chats settings request entity too large response has a 5xx status code
func (*PutChatsSettingsRequestEntityTooLarge) IsSuccess ¶
func (o *PutChatsSettingsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this put chats settings request entity too large response has a 2xx status code
func (*PutChatsSettingsRequestEntityTooLarge) String ¶
func (o *PutChatsSettingsRequestEntityTooLarge) String() string
type PutChatsSettingsRequestTimeout ¶
PutChatsSettingsRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewPutChatsSettingsRequestTimeout ¶
func NewPutChatsSettingsRequestTimeout() *PutChatsSettingsRequestTimeout
NewPutChatsSettingsRequestTimeout creates a PutChatsSettingsRequestTimeout with default headers values
func (*PutChatsSettingsRequestTimeout) Error ¶
func (o *PutChatsSettingsRequestTimeout) Error() string
func (*PutChatsSettingsRequestTimeout) GetPayload ¶
func (o *PutChatsSettingsRequestTimeout) GetPayload() *models.ErrorBody
func (*PutChatsSettingsRequestTimeout) IsClientError ¶
func (o *PutChatsSettingsRequestTimeout) IsClientError() bool
IsClientError returns true when this put chats settings request timeout response has a 4xx status code
func (*PutChatsSettingsRequestTimeout) IsCode ¶
func (o *PutChatsSettingsRequestTimeout) IsCode(code int) bool
IsCode returns true when this put chats settings request timeout response a status code equal to that given
func (*PutChatsSettingsRequestTimeout) IsRedirect ¶
func (o *PutChatsSettingsRequestTimeout) IsRedirect() bool
IsRedirect returns true when this put chats settings request timeout response has a 3xx status code
func (*PutChatsSettingsRequestTimeout) IsServerError ¶
func (o *PutChatsSettingsRequestTimeout) IsServerError() bool
IsServerError returns true when this put chats settings request timeout response has a 5xx status code
func (*PutChatsSettingsRequestTimeout) IsSuccess ¶
func (o *PutChatsSettingsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this put chats settings request timeout response has a 2xx status code
func (*PutChatsSettingsRequestTimeout) String ¶
func (o *PutChatsSettingsRequestTimeout) String() string
type PutChatsSettingsServiceUnavailable ¶
type PutChatsSettingsServiceUnavailable struct {
}PutChatsSettingsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewPutChatsSettingsServiceUnavailable ¶
func NewPutChatsSettingsServiceUnavailable() *PutChatsSettingsServiceUnavailable
NewPutChatsSettingsServiceUnavailable creates a PutChatsSettingsServiceUnavailable with default headers values
func (*PutChatsSettingsServiceUnavailable) Error ¶
func (o *PutChatsSettingsServiceUnavailable) Error() string
func (*PutChatsSettingsServiceUnavailable) GetPayload ¶
func (o *PutChatsSettingsServiceUnavailable) GetPayload() *models.ErrorBody
func (*PutChatsSettingsServiceUnavailable) IsClientError ¶
func (o *PutChatsSettingsServiceUnavailable) IsClientError() bool
IsClientError returns true when this put chats settings service unavailable response has a 4xx status code
func (*PutChatsSettingsServiceUnavailable) IsCode ¶
func (o *PutChatsSettingsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this put chats settings service unavailable response a status code equal to that given
func (*PutChatsSettingsServiceUnavailable) IsRedirect ¶
func (o *PutChatsSettingsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this put chats settings service unavailable response has a 3xx status code
func (*PutChatsSettingsServiceUnavailable) IsServerError ¶
func (o *PutChatsSettingsServiceUnavailable) IsServerError() bool
IsServerError returns true when this put chats settings service unavailable response has a 5xx status code
func (*PutChatsSettingsServiceUnavailable) IsSuccess ¶
func (o *PutChatsSettingsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this put chats settings service unavailable response has a 2xx status code
func (*PutChatsSettingsServiceUnavailable) String ¶
func (o *PutChatsSettingsServiceUnavailable) String() string
type PutChatsSettingsTooManyRequests ¶
PutChatsSettingsTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewPutChatsSettingsTooManyRequests ¶
func NewPutChatsSettingsTooManyRequests() *PutChatsSettingsTooManyRequests
NewPutChatsSettingsTooManyRequests creates a PutChatsSettingsTooManyRequests with default headers values
func (*PutChatsSettingsTooManyRequests) Error ¶
func (o *PutChatsSettingsTooManyRequests) Error() string
func (*PutChatsSettingsTooManyRequests) GetPayload ¶
func (o *PutChatsSettingsTooManyRequests) GetPayload() *models.ErrorBody
func (*PutChatsSettingsTooManyRequests) IsClientError ¶
func (o *PutChatsSettingsTooManyRequests) IsClientError() bool
IsClientError returns true when this put chats settings too many requests response has a 4xx status code
func (*PutChatsSettingsTooManyRequests) IsCode ¶
func (o *PutChatsSettingsTooManyRequests) IsCode(code int) bool
IsCode returns true when this put chats settings too many requests response a status code equal to that given
func (*PutChatsSettingsTooManyRequests) IsRedirect ¶
func (o *PutChatsSettingsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this put chats settings too many requests response has a 3xx status code
func (*PutChatsSettingsTooManyRequests) IsServerError ¶
func (o *PutChatsSettingsTooManyRequests) IsServerError() bool
IsServerError returns true when this put chats settings too many requests response has a 5xx status code
func (*PutChatsSettingsTooManyRequests) IsSuccess ¶
func (o *PutChatsSettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this put chats settings too many requests response has a 2xx status code
func (*PutChatsSettingsTooManyRequests) String ¶
func (o *PutChatsSettingsTooManyRequests) String() string
type PutChatsSettingsUnauthorized ¶
type PutChatsSettingsUnauthorized struct {
}PutChatsSettingsUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewPutChatsSettingsUnauthorized ¶
func NewPutChatsSettingsUnauthorized() *PutChatsSettingsUnauthorized
NewPutChatsSettingsUnauthorized creates a PutChatsSettingsUnauthorized with default headers values
func (*PutChatsSettingsUnauthorized) Error ¶
func (o *PutChatsSettingsUnauthorized) Error() string
func (*PutChatsSettingsUnauthorized) GetPayload ¶
func (o *PutChatsSettingsUnauthorized) GetPayload() *models.ErrorBody
func (*PutChatsSettingsUnauthorized) IsClientError ¶
func (o *PutChatsSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this put chats settings unauthorized response has a 4xx status code
func (*PutChatsSettingsUnauthorized) IsCode ¶
func (o *PutChatsSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this put chats settings unauthorized response a status code equal to that given
func (*PutChatsSettingsUnauthorized) IsRedirect ¶
func (o *PutChatsSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this put chats settings unauthorized response has a 3xx status code
func (*PutChatsSettingsUnauthorized) IsServerError ¶
func (o *PutChatsSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this put chats settings unauthorized response has a 5xx status code
func (*PutChatsSettingsUnauthorized) IsSuccess ¶
func (o *PutChatsSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this put chats settings unauthorized response has a 2xx status code
func (*PutChatsSettingsUnauthorized) String ¶
func (o *PutChatsSettingsUnauthorized) String() string
type PutChatsSettingsUnsupportedMediaType ¶
PutChatsSettingsUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewPutChatsSettingsUnsupportedMediaType ¶
func NewPutChatsSettingsUnsupportedMediaType() *PutChatsSettingsUnsupportedMediaType
NewPutChatsSettingsUnsupportedMediaType creates a PutChatsSettingsUnsupportedMediaType with default headers values
func (*PutChatsSettingsUnsupportedMediaType) Error ¶
func (o *PutChatsSettingsUnsupportedMediaType) Error() string
func (*PutChatsSettingsUnsupportedMediaType) GetPayload ¶
func (o *PutChatsSettingsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PutChatsSettingsUnsupportedMediaType) IsClientError ¶
func (o *PutChatsSettingsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this put chats settings unsupported media type response has a 4xx status code
func (*PutChatsSettingsUnsupportedMediaType) IsCode ¶
func (o *PutChatsSettingsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this put chats settings unsupported media type response a status code equal to that given
func (*PutChatsSettingsUnsupportedMediaType) IsRedirect ¶
func (o *PutChatsSettingsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this put chats settings unsupported media type response has a 3xx status code
func (*PutChatsSettingsUnsupportedMediaType) IsServerError ¶
func (o *PutChatsSettingsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this put chats settings unsupported media type response has a 5xx status code
func (*PutChatsSettingsUnsupportedMediaType) IsSuccess ¶
func (o *PutChatsSettingsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this put chats settings unsupported media type response has a 2xx status code
func (*PutChatsSettingsUnsupportedMediaType) String ¶
func (o *PutChatsSettingsUnsupportedMediaType) String() string
Source Files
¶
- chat_client.go
- get_chat_settings_parameters.go
- get_chat_settings_responses.go
- get_chats_settings_parameters.go
- get_chats_settings_responses.go
- patch_chat_settings_parameters.go
- patch_chat_settings_responses.go
- patch_chats_settings_parameters.go
- patch_chats_settings_responses.go
- put_chat_settings_parameters.go
- put_chat_settings_responses.go
- put_chats_settings_parameters.go
- put_chats_settings_responses.go