Documentation ¶
Index ¶
- type AdminDeleteChatSnapshotBadRequest
- type AdminDeleteChatSnapshotForbidden
- type AdminDeleteChatSnapshotInternalServerError
- type AdminDeleteChatSnapshotNoContent
- type AdminDeleteChatSnapshotNotFound
- type AdminDeleteChatSnapshotParams
- func NewAdminDeleteChatSnapshotParams() *AdminDeleteChatSnapshotParams
- func NewAdminDeleteChatSnapshotParamsWithContext(ctx context.Context) *AdminDeleteChatSnapshotParams
- func NewAdminDeleteChatSnapshotParamsWithHTTPClient(client *http.Client) *AdminDeleteChatSnapshotParams
- func NewAdminDeleteChatSnapshotParamsWithTimeout(timeout time.Duration) *AdminDeleteChatSnapshotParams
- func (o *AdminDeleteChatSnapshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteChatSnapshotParams) SetChatID(chatID string)
- func (o *AdminDeleteChatSnapshotParams) SetContext(ctx context.Context)
- func (o *AdminDeleteChatSnapshotParams) SetFlightId(flightId string)
- func (o *AdminDeleteChatSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteChatSnapshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteChatSnapshotParams) SetNamespace(namespace string)
- func (o *AdminDeleteChatSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteChatSnapshotParams) WithChatID(chatID string) *AdminDeleteChatSnapshotParams
- func (o *AdminDeleteChatSnapshotParams) WithContext(ctx context.Context) *AdminDeleteChatSnapshotParams
- func (o *AdminDeleteChatSnapshotParams) WithHTTPClient(client *http.Client) *AdminDeleteChatSnapshotParams
- func (o *AdminDeleteChatSnapshotParams) WithNamespace(namespace string) *AdminDeleteChatSnapshotParams
- func (o *AdminDeleteChatSnapshotParams) WithTimeout(timeout time.Duration) *AdminDeleteChatSnapshotParams
- func (o *AdminDeleteChatSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteChatSnapshotReader
- type AdminDeleteChatSnapshotUnauthorized
- type AdminGetChatSnapshotBadRequest
- type AdminGetChatSnapshotForbidden
- type AdminGetChatSnapshotInternalServerError
- type AdminGetChatSnapshotNotFound
- type AdminGetChatSnapshotOK
- type AdminGetChatSnapshotParams
- func NewAdminGetChatSnapshotParams() *AdminGetChatSnapshotParams
- func NewAdminGetChatSnapshotParamsWithContext(ctx context.Context) *AdminGetChatSnapshotParams
- func NewAdminGetChatSnapshotParamsWithHTTPClient(client *http.Client) *AdminGetChatSnapshotParams
- func NewAdminGetChatSnapshotParamsWithTimeout(timeout time.Duration) *AdminGetChatSnapshotParams
- func (o *AdminGetChatSnapshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetChatSnapshotParams) SetChatID(chatID string)
- func (o *AdminGetChatSnapshotParams) SetContext(ctx context.Context)
- func (o *AdminGetChatSnapshotParams) SetFlightId(flightId string)
- func (o *AdminGetChatSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetChatSnapshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetChatSnapshotParams) SetNamespace(namespace string)
- func (o *AdminGetChatSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetChatSnapshotParams) WithChatID(chatID string) *AdminGetChatSnapshotParams
- func (o *AdminGetChatSnapshotParams) WithContext(ctx context.Context) *AdminGetChatSnapshotParams
- func (o *AdminGetChatSnapshotParams) WithHTTPClient(client *http.Client) *AdminGetChatSnapshotParams
- func (o *AdminGetChatSnapshotParams) WithNamespace(namespace string) *AdminGetChatSnapshotParams
- func (o *AdminGetChatSnapshotParams) WithTimeout(timeout time.Duration) *AdminGetChatSnapshotParams
- func (o *AdminGetChatSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetChatSnapshotReader
- type AdminGetChatSnapshotUnauthorized
- type Client
- func (a *Client) AdminDeleteChatSnapshot(params *AdminDeleteChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatSnapshotNoContent, *AdminDeleteChatSnapshotBadRequest, ...)deprecated
- func (a *Client) AdminDeleteChatSnapshotShort(params *AdminDeleteChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatSnapshotNoContent, error)
- func (a *Client) AdminGetChatSnapshot(params *AdminGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChatSnapshotOK, *AdminGetChatSnapshotBadRequest, ...)deprecated
- func (a *Client) AdminGetChatSnapshotShort(params *AdminGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChatSnapshotOK, error)
- func (a *Client) PublicGetChatSnapshot(params *PublicGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChatSnapshotOK, *PublicGetChatSnapshotBadRequest, ...)deprecated
- func (a *Client) PublicGetChatSnapshotShort(params *PublicGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChatSnapshotOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicGetChatSnapshotBadRequest
- type PublicGetChatSnapshotForbidden
- type PublicGetChatSnapshotInternalServerError
- type PublicGetChatSnapshotNotFound
- type PublicGetChatSnapshotOK
- type PublicGetChatSnapshotParams
- func NewPublicGetChatSnapshotParams() *PublicGetChatSnapshotParams
- func NewPublicGetChatSnapshotParamsWithContext(ctx context.Context) *PublicGetChatSnapshotParams
- func NewPublicGetChatSnapshotParamsWithHTTPClient(client *http.Client) *PublicGetChatSnapshotParams
- func NewPublicGetChatSnapshotParamsWithTimeout(timeout time.Duration) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetChatSnapshotParams) SetChatID(chatID string)
- func (o *PublicGetChatSnapshotParams) SetContext(ctx context.Context)
- func (o *PublicGetChatSnapshotParams) SetFlightId(flightId string)
- func (o *PublicGetChatSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetChatSnapshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetChatSnapshotParams) SetNamespace(namespace string)
- func (o *PublicGetChatSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetChatSnapshotParams) SetTopic(topic string)
- func (o *PublicGetChatSnapshotParams) WithChatID(chatID string) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) WithContext(ctx context.Context) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) WithHTTPClient(client *http.Client) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) WithNamespace(namespace string) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) WithTimeout(timeout time.Duration) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) WithTopic(topic string) *PublicGetChatSnapshotParams
- func (o *PublicGetChatSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetChatSnapshotReader
- type PublicGetChatSnapshotUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminDeleteChatSnapshotBadRequest ¶
type AdminDeleteChatSnapshotBadRequest struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminDeleteChatSnapshotBadRequest handles this case with default header values.
Bad Request
func NewAdminDeleteChatSnapshotBadRequest ¶
func NewAdminDeleteChatSnapshotBadRequest() *AdminDeleteChatSnapshotBadRequest
NewAdminDeleteChatSnapshotBadRequest creates a AdminDeleteChatSnapshotBadRequest with default headers values
func (*AdminDeleteChatSnapshotBadRequest) Error ¶
func (o *AdminDeleteChatSnapshotBadRequest) Error() string
func (*AdminDeleteChatSnapshotBadRequest) GetPayload ¶
func (o *AdminDeleteChatSnapshotBadRequest) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminDeleteChatSnapshotBadRequest) ToJSONString ¶
func (o *AdminDeleteChatSnapshotBadRequest) ToJSONString() string
type AdminDeleteChatSnapshotForbidden ¶
type AdminDeleteChatSnapshotForbidden struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminDeleteChatSnapshotForbidden handles this case with default header values.
Forbidden
func NewAdminDeleteChatSnapshotForbidden ¶
func NewAdminDeleteChatSnapshotForbidden() *AdminDeleteChatSnapshotForbidden
NewAdminDeleteChatSnapshotForbidden creates a AdminDeleteChatSnapshotForbidden with default headers values
func (*AdminDeleteChatSnapshotForbidden) Error ¶
func (o *AdminDeleteChatSnapshotForbidden) Error() string
func (*AdminDeleteChatSnapshotForbidden) GetPayload ¶
func (o *AdminDeleteChatSnapshotForbidden) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminDeleteChatSnapshotForbidden) ToJSONString ¶
func (o *AdminDeleteChatSnapshotForbidden) ToJSONString() string
type AdminDeleteChatSnapshotInternalServerError ¶
type AdminDeleteChatSnapshotInternalServerError struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminDeleteChatSnapshotInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteChatSnapshotInternalServerError ¶
func NewAdminDeleteChatSnapshotInternalServerError() *AdminDeleteChatSnapshotInternalServerError
NewAdminDeleteChatSnapshotInternalServerError creates a AdminDeleteChatSnapshotInternalServerError with default headers values
func (*AdminDeleteChatSnapshotInternalServerError) Error ¶
func (o *AdminDeleteChatSnapshotInternalServerError) Error() string
func (*AdminDeleteChatSnapshotInternalServerError) GetPayload ¶
func (o *AdminDeleteChatSnapshotInternalServerError) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminDeleteChatSnapshotInternalServerError) ToJSONString ¶
func (o *AdminDeleteChatSnapshotInternalServerError) ToJSONString() string
type AdminDeleteChatSnapshotNoContent ¶
type AdminDeleteChatSnapshotNoContent struct { }
AdminDeleteChatSnapshotNoContent handles this case with default header values.
No Content
func NewAdminDeleteChatSnapshotNoContent ¶
func NewAdminDeleteChatSnapshotNoContent() *AdminDeleteChatSnapshotNoContent
NewAdminDeleteChatSnapshotNoContent creates a AdminDeleteChatSnapshotNoContent with default headers values
func (*AdminDeleteChatSnapshotNoContent) Error ¶
func (o *AdminDeleteChatSnapshotNoContent) Error() string
type AdminDeleteChatSnapshotNotFound ¶
type AdminDeleteChatSnapshotNotFound struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminDeleteChatSnapshotNotFound handles this case with default header values.
Not Found
func NewAdminDeleteChatSnapshotNotFound ¶
func NewAdminDeleteChatSnapshotNotFound() *AdminDeleteChatSnapshotNotFound
NewAdminDeleteChatSnapshotNotFound creates a AdminDeleteChatSnapshotNotFound with default headers values
func (*AdminDeleteChatSnapshotNotFound) Error ¶
func (o *AdminDeleteChatSnapshotNotFound) Error() string
func (*AdminDeleteChatSnapshotNotFound) GetPayload ¶
func (o *AdminDeleteChatSnapshotNotFound) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminDeleteChatSnapshotNotFound) ToJSONString ¶
func (o *AdminDeleteChatSnapshotNotFound) ToJSONString() string
type AdminDeleteChatSnapshotParams ¶
type AdminDeleteChatSnapshotParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChatID id of the chat */ ChatID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminDeleteChatSnapshotParams contains all the parameters to send to the API endpoint for the admin delete chat snapshot operation typically these are written to a http.Request
func NewAdminDeleteChatSnapshotParams ¶
func NewAdminDeleteChatSnapshotParams() *AdminDeleteChatSnapshotParams
NewAdminDeleteChatSnapshotParams creates a new AdminDeleteChatSnapshotParams object with the default values initialized.
func NewAdminDeleteChatSnapshotParamsWithContext ¶
func NewAdminDeleteChatSnapshotParamsWithContext(ctx context.Context) *AdminDeleteChatSnapshotParams
NewAdminDeleteChatSnapshotParamsWithContext creates a new AdminDeleteChatSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteChatSnapshotParamsWithHTTPClient ¶
func NewAdminDeleteChatSnapshotParamsWithHTTPClient(client *http.Client) *AdminDeleteChatSnapshotParams
NewAdminDeleteChatSnapshotParamsWithHTTPClient creates a new AdminDeleteChatSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteChatSnapshotParamsWithTimeout ¶
func NewAdminDeleteChatSnapshotParamsWithTimeout(timeout time.Duration) *AdminDeleteChatSnapshotParams
NewAdminDeleteChatSnapshotParamsWithTimeout creates a new AdminDeleteChatSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteChatSnapshotParams) SetAuthInfoWriter ¶
func (o *AdminDeleteChatSnapshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) SetChatID ¶
func (o *AdminDeleteChatSnapshotParams) SetChatID(chatID string)
SetChatID adds the chatId to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) SetContext ¶
func (o *AdminDeleteChatSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) SetFlightId ¶ added in v0.63.0
func (o *AdminDeleteChatSnapshotParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeleteChatSnapshotParams) SetHTTPClient ¶
func (o *AdminDeleteChatSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) SetHTTPClientTransport ¶
func (o *AdminDeleteChatSnapshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) SetNamespace ¶
func (o *AdminDeleteChatSnapshotParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) SetTimeout ¶
func (o *AdminDeleteChatSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) WithChatID ¶
func (o *AdminDeleteChatSnapshotParams) WithChatID(chatID string) *AdminDeleteChatSnapshotParams
WithChatID adds the chatID to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) WithContext ¶
func (o *AdminDeleteChatSnapshotParams) WithContext(ctx context.Context) *AdminDeleteChatSnapshotParams
WithContext adds the context to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) WithHTTPClient ¶
func (o *AdminDeleteChatSnapshotParams) WithHTTPClient(client *http.Client) *AdminDeleteChatSnapshotParams
WithHTTPClient adds the HTTPClient to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) WithNamespace ¶
func (o *AdminDeleteChatSnapshotParams) WithNamespace(namespace string) *AdminDeleteChatSnapshotParams
WithNamespace adds the namespace to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) WithTimeout ¶
func (o *AdminDeleteChatSnapshotParams) WithTimeout(timeout time.Duration) *AdminDeleteChatSnapshotParams
WithTimeout adds the timeout to the admin delete chat snapshot params
func (*AdminDeleteChatSnapshotParams) WriteToRequest ¶
func (o *AdminDeleteChatSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteChatSnapshotReader ¶
type AdminDeleteChatSnapshotReader struct {
// contains filtered or unexported fields
}
AdminDeleteChatSnapshotReader is a Reader for the AdminDeleteChatSnapshot structure.
func (*AdminDeleteChatSnapshotReader) ReadResponse ¶
func (o *AdminDeleteChatSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteChatSnapshotUnauthorized ¶
type AdminDeleteChatSnapshotUnauthorized struct {
}AdminDeleteChatSnapshotUnauthorized handles this case with default header values.
Unauthorized
func NewAdminDeleteChatSnapshotUnauthorized ¶
func NewAdminDeleteChatSnapshotUnauthorized() *AdminDeleteChatSnapshotUnauthorized
NewAdminDeleteChatSnapshotUnauthorized creates a AdminDeleteChatSnapshotUnauthorized with default headers values
func (*AdminDeleteChatSnapshotUnauthorized) Error ¶
func (o *AdminDeleteChatSnapshotUnauthorized) Error() string
func (*AdminDeleteChatSnapshotUnauthorized) GetPayload ¶
func (o *AdminDeleteChatSnapshotUnauthorized) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminDeleteChatSnapshotUnauthorized) ToJSONString ¶
func (o *AdminDeleteChatSnapshotUnauthorized) ToJSONString() string
type AdminGetChatSnapshotBadRequest ¶
type AdminGetChatSnapshotBadRequest struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminGetChatSnapshotBadRequest handles this case with default header values.
Bad Request
func NewAdminGetChatSnapshotBadRequest ¶
func NewAdminGetChatSnapshotBadRequest() *AdminGetChatSnapshotBadRequest
NewAdminGetChatSnapshotBadRequest creates a AdminGetChatSnapshotBadRequest with default headers values
func (*AdminGetChatSnapshotBadRequest) Error ¶
func (o *AdminGetChatSnapshotBadRequest) Error() string
func (*AdminGetChatSnapshotBadRequest) GetPayload ¶
func (o *AdminGetChatSnapshotBadRequest) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminGetChatSnapshotBadRequest) ToJSONString ¶
func (o *AdminGetChatSnapshotBadRequest) ToJSONString() string
type AdminGetChatSnapshotForbidden ¶
type AdminGetChatSnapshotForbidden struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminGetChatSnapshotForbidden handles this case with default header values.
Forbidden
func NewAdminGetChatSnapshotForbidden ¶
func NewAdminGetChatSnapshotForbidden() *AdminGetChatSnapshotForbidden
NewAdminGetChatSnapshotForbidden creates a AdminGetChatSnapshotForbidden with default headers values
func (*AdminGetChatSnapshotForbidden) Error ¶
func (o *AdminGetChatSnapshotForbidden) Error() string
func (*AdminGetChatSnapshotForbidden) GetPayload ¶
func (o *AdminGetChatSnapshotForbidden) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminGetChatSnapshotForbidden) ToJSONString ¶
func (o *AdminGetChatSnapshotForbidden) ToJSONString() string
type AdminGetChatSnapshotInternalServerError ¶
type AdminGetChatSnapshotInternalServerError struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminGetChatSnapshotInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetChatSnapshotInternalServerError ¶
func NewAdminGetChatSnapshotInternalServerError() *AdminGetChatSnapshotInternalServerError
NewAdminGetChatSnapshotInternalServerError creates a AdminGetChatSnapshotInternalServerError with default headers values
func (*AdminGetChatSnapshotInternalServerError) Error ¶
func (o *AdminGetChatSnapshotInternalServerError) Error() string
func (*AdminGetChatSnapshotInternalServerError) GetPayload ¶
func (o *AdminGetChatSnapshotInternalServerError) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminGetChatSnapshotInternalServerError) ToJSONString ¶
func (o *AdminGetChatSnapshotInternalServerError) ToJSONString() string
type AdminGetChatSnapshotNotFound ¶
type AdminGetChatSnapshotNotFound struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
AdminGetChatSnapshotNotFound handles this case with default header values.
Not Found
func NewAdminGetChatSnapshotNotFound ¶
func NewAdminGetChatSnapshotNotFound() *AdminGetChatSnapshotNotFound
NewAdminGetChatSnapshotNotFound creates a AdminGetChatSnapshotNotFound with default headers values
func (*AdminGetChatSnapshotNotFound) Error ¶
func (o *AdminGetChatSnapshotNotFound) Error() string
func (*AdminGetChatSnapshotNotFound) GetPayload ¶
func (o *AdminGetChatSnapshotNotFound) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminGetChatSnapshotNotFound) ToJSONString ¶
func (o *AdminGetChatSnapshotNotFound) ToJSONString() string
type AdminGetChatSnapshotOK ¶
type AdminGetChatSnapshotOK struct {
Payload *chatclientmodels.ModelsChatSnapshots
}
AdminGetChatSnapshotOK handles this case with default header values.
OK
func NewAdminGetChatSnapshotOK ¶
func NewAdminGetChatSnapshotOK() *AdminGetChatSnapshotOK
NewAdminGetChatSnapshotOK creates a AdminGetChatSnapshotOK with default headers values
func (*AdminGetChatSnapshotOK) Error ¶
func (o *AdminGetChatSnapshotOK) Error() string
func (*AdminGetChatSnapshotOK) GetPayload ¶
func (o *AdminGetChatSnapshotOK) GetPayload() *chatclientmodels.ModelsChatSnapshots
func (*AdminGetChatSnapshotOK) ToJSONString ¶
func (o *AdminGetChatSnapshotOK) ToJSONString() string
type AdminGetChatSnapshotParams ¶
type AdminGetChatSnapshotParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChatID id of the chat */ ChatID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetChatSnapshotParams contains all the parameters to send to the API endpoint for the admin get chat snapshot operation typically these are written to a http.Request
func NewAdminGetChatSnapshotParams ¶
func NewAdminGetChatSnapshotParams() *AdminGetChatSnapshotParams
NewAdminGetChatSnapshotParams creates a new AdminGetChatSnapshotParams object with the default values initialized.
func NewAdminGetChatSnapshotParamsWithContext ¶
func NewAdminGetChatSnapshotParamsWithContext(ctx context.Context) *AdminGetChatSnapshotParams
NewAdminGetChatSnapshotParamsWithContext creates a new AdminGetChatSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetChatSnapshotParamsWithHTTPClient ¶
func NewAdminGetChatSnapshotParamsWithHTTPClient(client *http.Client) *AdminGetChatSnapshotParams
NewAdminGetChatSnapshotParamsWithHTTPClient creates a new AdminGetChatSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetChatSnapshotParamsWithTimeout ¶
func NewAdminGetChatSnapshotParamsWithTimeout(timeout time.Duration) *AdminGetChatSnapshotParams
NewAdminGetChatSnapshotParamsWithTimeout creates a new AdminGetChatSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetChatSnapshotParams) SetAuthInfoWriter ¶
func (o *AdminGetChatSnapshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) SetChatID ¶
func (o *AdminGetChatSnapshotParams) SetChatID(chatID string)
SetChatID adds the chatId to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) SetContext ¶
func (o *AdminGetChatSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) SetFlightId ¶ added in v0.63.0
func (o *AdminGetChatSnapshotParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetChatSnapshotParams) SetHTTPClient ¶
func (o *AdminGetChatSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) SetHTTPClientTransport ¶
func (o *AdminGetChatSnapshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) SetNamespace ¶
func (o *AdminGetChatSnapshotParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) SetTimeout ¶
func (o *AdminGetChatSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) WithChatID ¶
func (o *AdminGetChatSnapshotParams) WithChatID(chatID string) *AdminGetChatSnapshotParams
WithChatID adds the chatID to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) WithContext ¶
func (o *AdminGetChatSnapshotParams) WithContext(ctx context.Context) *AdminGetChatSnapshotParams
WithContext adds the context to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) WithHTTPClient ¶
func (o *AdminGetChatSnapshotParams) WithHTTPClient(client *http.Client) *AdminGetChatSnapshotParams
WithHTTPClient adds the HTTPClient to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) WithNamespace ¶
func (o *AdminGetChatSnapshotParams) WithNamespace(namespace string) *AdminGetChatSnapshotParams
WithNamespace adds the namespace to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) WithTimeout ¶
func (o *AdminGetChatSnapshotParams) WithTimeout(timeout time.Duration) *AdminGetChatSnapshotParams
WithTimeout adds the timeout to the admin get chat snapshot params
func (*AdminGetChatSnapshotParams) WriteToRequest ¶
func (o *AdminGetChatSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetChatSnapshotReader ¶
type AdminGetChatSnapshotReader struct {
// contains filtered or unexported fields
}
AdminGetChatSnapshotReader is a Reader for the AdminGetChatSnapshot structure.
func (*AdminGetChatSnapshotReader) ReadResponse ¶
func (o *AdminGetChatSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetChatSnapshotUnauthorized ¶
type AdminGetChatSnapshotUnauthorized struct {
}AdminGetChatSnapshotUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetChatSnapshotUnauthorized ¶
func NewAdminGetChatSnapshotUnauthorized() *AdminGetChatSnapshotUnauthorized
NewAdminGetChatSnapshotUnauthorized creates a AdminGetChatSnapshotUnauthorized with default headers values
func (*AdminGetChatSnapshotUnauthorized) Error ¶
func (o *AdminGetChatSnapshotUnauthorized) Error() string
func (*AdminGetChatSnapshotUnauthorized) GetPayload ¶
func (o *AdminGetChatSnapshotUnauthorized) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*AdminGetChatSnapshotUnauthorized) ToJSONString ¶
func (o *AdminGetChatSnapshotUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for moderation API
func (*Client) AdminDeleteChatSnapshot
deprecated
func (a *Client) AdminDeleteChatSnapshot(params *AdminDeleteChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatSnapshotNoContent, *AdminDeleteChatSnapshotBadRequest, *AdminDeleteChatSnapshotUnauthorized, *AdminDeleteChatSnapshotForbidden, *AdminDeleteChatSnapshotNotFound, *AdminDeleteChatSnapshotInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteChatSnapshotShort instead.
AdminDeleteChatSnapshot admin delete chat snapshot Delete the chat snapshot
func (*Client) AdminDeleteChatSnapshotShort ¶
func (a *Client) AdminDeleteChatSnapshotShort(params *AdminDeleteChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatSnapshotNoContent, error)
AdminDeleteChatSnapshotShort admin delete chat snapshot Delete the chat snapshot
func (*Client) AdminGetChatSnapshot
deprecated
func (a *Client) AdminGetChatSnapshot(params *AdminGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChatSnapshotOK, *AdminGetChatSnapshotBadRequest, *AdminGetChatSnapshotUnauthorized, *AdminGetChatSnapshotForbidden, *AdminGetChatSnapshotNotFound, *AdminGetChatSnapshotInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetChatSnapshotShort instead.
AdminGetChatSnapshot admin get chat snapshot Get the chat snapshot
func (*Client) AdminGetChatSnapshotShort ¶
func (a *Client) AdminGetChatSnapshotShort(params *AdminGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChatSnapshotOK, error)
AdminGetChatSnapshotShort admin get chat snapshot Get the chat snapshot
func (*Client) PublicGetChatSnapshot
deprecated
func (a *Client) PublicGetChatSnapshot(params *PublicGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChatSnapshotOK, *PublicGetChatSnapshotBadRequest, *PublicGetChatSnapshotUnauthorized, *PublicGetChatSnapshotForbidden, *PublicGetChatSnapshotNotFound, *PublicGetChatSnapshotInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetChatSnapshotShort instead.
PublicGetChatSnapshot public get chat snapshot Get the chat snapshot
func (*Client) PublicGetChatSnapshotShort ¶
func (a *Client) PublicGetChatSnapshotShort(params *PublicGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChatSnapshotOK, error)
PublicGetChatSnapshotShort public get chat snapshot Get the chat snapshot
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetChatSnapshot(params *AdminGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChatSnapshotOK, *AdminGetChatSnapshotBadRequest, *AdminGetChatSnapshotUnauthorized, *AdminGetChatSnapshotForbidden, *AdminGetChatSnapshotNotFound, *AdminGetChatSnapshotInternalServerError, error) AdminGetChatSnapshotShort(params *AdminGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChatSnapshotOK, error) AdminDeleteChatSnapshot(params *AdminDeleteChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatSnapshotNoContent, *AdminDeleteChatSnapshotBadRequest, *AdminDeleteChatSnapshotUnauthorized, *AdminDeleteChatSnapshotForbidden, *AdminDeleteChatSnapshotNotFound, *AdminDeleteChatSnapshotInternalServerError, error) AdminDeleteChatSnapshotShort(params *AdminDeleteChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatSnapshotNoContent, error) PublicGetChatSnapshot(params *PublicGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChatSnapshotOK, *PublicGetChatSnapshotBadRequest, *PublicGetChatSnapshotUnauthorized, *PublicGetChatSnapshotForbidden, *PublicGetChatSnapshotNotFound, *PublicGetChatSnapshotInternalServerError, error) PublicGetChatSnapshotShort(params *PublicGetChatSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChatSnapshotOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new moderation API client.
type PublicGetChatSnapshotBadRequest ¶
type PublicGetChatSnapshotBadRequest struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
PublicGetChatSnapshotBadRequest handles this case with default header values.
Bad Request
func NewPublicGetChatSnapshotBadRequest ¶
func NewPublicGetChatSnapshotBadRequest() *PublicGetChatSnapshotBadRequest
NewPublicGetChatSnapshotBadRequest creates a PublicGetChatSnapshotBadRequest with default headers values
func (*PublicGetChatSnapshotBadRequest) Error ¶
func (o *PublicGetChatSnapshotBadRequest) Error() string
func (*PublicGetChatSnapshotBadRequest) GetPayload ¶
func (o *PublicGetChatSnapshotBadRequest) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*PublicGetChatSnapshotBadRequest) ToJSONString ¶
func (o *PublicGetChatSnapshotBadRequest) ToJSONString() string
type PublicGetChatSnapshotForbidden ¶
type PublicGetChatSnapshotForbidden struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
PublicGetChatSnapshotForbidden handles this case with default header values.
Forbidden
func NewPublicGetChatSnapshotForbidden ¶
func NewPublicGetChatSnapshotForbidden() *PublicGetChatSnapshotForbidden
NewPublicGetChatSnapshotForbidden creates a PublicGetChatSnapshotForbidden with default headers values
func (*PublicGetChatSnapshotForbidden) Error ¶
func (o *PublicGetChatSnapshotForbidden) Error() string
func (*PublicGetChatSnapshotForbidden) GetPayload ¶
func (o *PublicGetChatSnapshotForbidden) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*PublicGetChatSnapshotForbidden) ToJSONString ¶
func (o *PublicGetChatSnapshotForbidden) ToJSONString() string
type PublicGetChatSnapshotInternalServerError ¶
type PublicGetChatSnapshotInternalServerError struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
PublicGetChatSnapshotInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicGetChatSnapshotInternalServerError ¶
func NewPublicGetChatSnapshotInternalServerError() *PublicGetChatSnapshotInternalServerError
NewPublicGetChatSnapshotInternalServerError creates a PublicGetChatSnapshotInternalServerError with default headers values
func (*PublicGetChatSnapshotInternalServerError) Error ¶
func (o *PublicGetChatSnapshotInternalServerError) Error() string
func (*PublicGetChatSnapshotInternalServerError) GetPayload ¶
func (o *PublicGetChatSnapshotInternalServerError) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*PublicGetChatSnapshotInternalServerError) ToJSONString ¶
func (o *PublicGetChatSnapshotInternalServerError) ToJSONString() string
type PublicGetChatSnapshotNotFound ¶
type PublicGetChatSnapshotNotFound struct {
Payload *chatclientmodels.RestapiErrorResponseBody
}
PublicGetChatSnapshotNotFound handles this case with default header values.
Not Found
func NewPublicGetChatSnapshotNotFound ¶
func NewPublicGetChatSnapshotNotFound() *PublicGetChatSnapshotNotFound
NewPublicGetChatSnapshotNotFound creates a PublicGetChatSnapshotNotFound with default headers values
func (*PublicGetChatSnapshotNotFound) Error ¶
func (o *PublicGetChatSnapshotNotFound) Error() string
func (*PublicGetChatSnapshotNotFound) GetPayload ¶
func (o *PublicGetChatSnapshotNotFound) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*PublicGetChatSnapshotNotFound) ToJSONString ¶
func (o *PublicGetChatSnapshotNotFound) ToJSONString() string
type PublicGetChatSnapshotOK ¶
type PublicGetChatSnapshotOK struct {
Payload *chatclientmodels.ModelsChatSnapshots
}
PublicGetChatSnapshotOK handles this case with default header values.
OK
func NewPublicGetChatSnapshotOK ¶
func NewPublicGetChatSnapshotOK() *PublicGetChatSnapshotOK
NewPublicGetChatSnapshotOK creates a PublicGetChatSnapshotOK with default headers values
func (*PublicGetChatSnapshotOK) Error ¶
func (o *PublicGetChatSnapshotOK) Error() string
func (*PublicGetChatSnapshotOK) GetPayload ¶
func (o *PublicGetChatSnapshotOK) GetPayload() *chatclientmodels.ModelsChatSnapshots
func (*PublicGetChatSnapshotOK) ToJSONString ¶
func (o *PublicGetChatSnapshotOK) ToJSONString() string
type PublicGetChatSnapshotParams ¶
type PublicGetChatSnapshotParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChatID id of the chat */ ChatID string /*Namespace namespace */ Namespace string /*Topic topic */ Topic string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetChatSnapshotParams contains all the parameters to send to the API endpoint for the public get chat snapshot operation typically these are written to a http.Request
func NewPublicGetChatSnapshotParams ¶
func NewPublicGetChatSnapshotParams() *PublicGetChatSnapshotParams
NewPublicGetChatSnapshotParams creates a new PublicGetChatSnapshotParams object with the default values initialized.
func NewPublicGetChatSnapshotParamsWithContext ¶
func NewPublicGetChatSnapshotParamsWithContext(ctx context.Context) *PublicGetChatSnapshotParams
NewPublicGetChatSnapshotParamsWithContext creates a new PublicGetChatSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetChatSnapshotParamsWithHTTPClient ¶
func NewPublicGetChatSnapshotParamsWithHTTPClient(client *http.Client) *PublicGetChatSnapshotParams
NewPublicGetChatSnapshotParamsWithHTTPClient creates a new PublicGetChatSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetChatSnapshotParamsWithTimeout ¶
func NewPublicGetChatSnapshotParamsWithTimeout(timeout time.Duration) *PublicGetChatSnapshotParams
NewPublicGetChatSnapshotParamsWithTimeout creates a new PublicGetChatSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetChatSnapshotParams) SetAuthInfoWriter ¶
func (o *PublicGetChatSnapshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetChatID ¶
func (o *PublicGetChatSnapshotParams) SetChatID(chatID string)
SetChatID adds the chatId to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetContext ¶
func (o *PublicGetChatSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetFlightId ¶ added in v0.63.0
func (o *PublicGetChatSnapshotParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetChatSnapshotParams) SetHTTPClient ¶
func (o *PublicGetChatSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetHTTPClientTransport ¶
func (o *PublicGetChatSnapshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetNamespace ¶
func (o *PublicGetChatSnapshotParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetTimeout ¶
func (o *PublicGetChatSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) SetTopic ¶
func (o *PublicGetChatSnapshotParams) SetTopic(topic string)
SetTopic adds the topic to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WithChatID ¶
func (o *PublicGetChatSnapshotParams) WithChatID(chatID string) *PublicGetChatSnapshotParams
WithChatID adds the chatID to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WithContext ¶
func (o *PublicGetChatSnapshotParams) WithContext(ctx context.Context) *PublicGetChatSnapshotParams
WithContext adds the context to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WithHTTPClient ¶
func (o *PublicGetChatSnapshotParams) WithHTTPClient(client *http.Client) *PublicGetChatSnapshotParams
WithHTTPClient adds the HTTPClient to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WithNamespace ¶
func (o *PublicGetChatSnapshotParams) WithNamespace(namespace string) *PublicGetChatSnapshotParams
WithNamespace adds the namespace to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WithTimeout ¶
func (o *PublicGetChatSnapshotParams) WithTimeout(timeout time.Duration) *PublicGetChatSnapshotParams
WithTimeout adds the timeout to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WithTopic ¶
func (o *PublicGetChatSnapshotParams) WithTopic(topic string) *PublicGetChatSnapshotParams
WithTopic adds the topic to the public get chat snapshot params
func (*PublicGetChatSnapshotParams) WriteToRequest ¶
func (o *PublicGetChatSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetChatSnapshotReader ¶
type PublicGetChatSnapshotReader struct {
// contains filtered or unexported fields
}
PublicGetChatSnapshotReader is a Reader for the PublicGetChatSnapshot structure.
func (*PublicGetChatSnapshotReader) ReadResponse ¶
func (o *PublicGetChatSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetChatSnapshotUnauthorized ¶
type PublicGetChatSnapshotUnauthorized struct {
}PublicGetChatSnapshotUnauthorized handles this case with default header values.
Unauthorized
func NewPublicGetChatSnapshotUnauthorized ¶
func NewPublicGetChatSnapshotUnauthorized() *PublicGetChatSnapshotUnauthorized
NewPublicGetChatSnapshotUnauthorized creates a PublicGetChatSnapshotUnauthorized with default headers values
func (*PublicGetChatSnapshotUnauthorized) Error ¶
func (o *PublicGetChatSnapshotUnauthorized) Error() string
func (*PublicGetChatSnapshotUnauthorized) GetPayload ¶
func (o *PublicGetChatSnapshotUnauthorized) GetPayload() *chatclientmodels.RestapiErrorResponseBody
func (*PublicGetChatSnapshotUnauthorized) ToJSONString ¶
func (o *PublicGetChatSnapshotUnauthorized) ToJSONString() string