Help us shape the future of Go! Take the 2026 Go Developer Survey

moderation

package
v0.89.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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 (*AdminDeleteChatSnapshotBadRequest) GetPayload

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 (*AdminDeleteChatSnapshotForbidden) GetPayload

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 (*AdminDeleteChatSnapshotInternalServerError) GetPayload

func (*AdminDeleteChatSnapshotInternalServerError) ToJSONString

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

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 (*AdminDeleteChatSnapshotNotFound) GetPayload

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

WithChatID adds the chatID to the admin delete chat snapshot params

func (*AdminDeleteChatSnapshotParams) WithContext

WithContext adds the context to the admin delete chat snapshot params

func (*AdminDeleteChatSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete chat snapshot params

func (*AdminDeleteChatSnapshotParams) WithNamespace

WithNamespace adds the namespace to the admin delete chat snapshot params

func (*AdminDeleteChatSnapshotParams) WithTimeout

WithTimeout adds the timeout to the admin delete chat snapshot params

func (*AdminDeleteChatSnapshotParams) WriteToRequest

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 {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

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 (*AdminDeleteChatSnapshotUnauthorized) GetPayload

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 (*AdminGetChatSnapshotBadRequest) GetPayload

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 (*AdminGetChatSnapshotForbidden) GetPayload

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 (*AdminGetChatSnapshotInternalServerError) GetPayload

func (*AdminGetChatSnapshotInternalServerError) ToJSONString

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 (*AdminGetChatSnapshotNotFound) GetPayload

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 (*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

WithChatID adds the chatID to the admin get chat snapshot params

func (*AdminGetChatSnapshotParams) WithContext

WithContext adds the context to the admin get chat snapshot params

func (*AdminGetChatSnapshotParams) WithHTTPClient

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

WithTimeout adds the timeout to the admin get chat snapshot params

func (*AdminGetChatSnapshotParams) WriteToRequest

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 {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

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 (*AdminGetChatSnapshotUnauthorized) GetPayload

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

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

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

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

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 (*PublicGetChatSnapshotBadRequest) GetPayload

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 (*PublicGetChatSnapshotForbidden) GetPayload

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 (*PublicGetChatSnapshotInternalServerError) GetPayload

func (*PublicGetChatSnapshotInternalServerError) ToJSONString

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 (*PublicGetChatSnapshotNotFound) GetPayload

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 (*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

WithChatID adds the chatID to the public get chat snapshot params

func (*PublicGetChatSnapshotParams) WithContext

WithContext adds the context to the public get chat snapshot params

func (*PublicGetChatSnapshotParams) WithHTTPClient

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

WithTimeout adds the timeout to the public get chat snapshot params

func (*PublicGetChatSnapshotParams) WithTopic

WithTopic adds the topic to the public get chat snapshot params

func (*PublicGetChatSnapshotParams) WriteToRequest

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 {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

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 (*PublicGetChatSnapshotUnauthorized) GetPayload

func (*PublicGetChatSnapshotUnauthorized) ToJSONString

func (o *PublicGetChatSnapshotUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL