topic

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AdminQueryTopicCLANConstant      = "CLAN"
	AdminQueryTopicNAMESPACEConstant = "NAMESPACE"
	AdminQueryTopicNORMALConstant    = "NORMAL"
	AdminQueryTopicPARTYConstant     = "PARTY"
	AdminQueryTopicSESSIONConstant   = "SESSION"
)

Get the enum in AdminQueryTopicParams

View Source
const (
	AdminQueryTopicGROUPConstant    = "GROUP"
	AdminQueryTopicPERSONALConstant = "PERSONAL"
)

Get the enum in AdminQueryTopicParams

View Source
const (
	AdminQueryUsersTopicCLANConstant      = "CLAN"
	AdminQueryUsersTopicNAMESPACEConstant = "NAMESPACE"
	AdminQueryUsersTopicNORMALConstant    = "NORMAL"
	AdminQueryUsersTopicPARTYConstant     = "PARTY"
	AdminQueryUsersTopicSESSIONConstant   = "SESSION"
)

Get the enum in AdminQueryUsersTopicParams

View Source
const (
	AdminQueryUsersTopicGROUPConstant    = "GROUP"
	AdminQueryUsersTopicPERSONALConstant = "PERSONAL"
)

Get the enum in AdminQueryUsersTopicParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminAddTopicMemberOK

type AdminAddTopicMemberOK struct {
	Payload *chatclientmodels.MessageActionAddUserToTopicResult
}

AdminAddTopicMemberOK handles this case with default header values.

func NewAdminAddTopicMemberOK

func NewAdminAddTopicMemberOK() *AdminAddTopicMemberOK

NewAdminAddTopicMemberOK creates a AdminAddTopicMemberOK with default headers values

func (*AdminAddTopicMemberOK) Error

func (o *AdminAddTopicMemberOK) Error() string

func (*AdminAddTopicMemberOK) GetPayload

func (*AdminAddTopicMemberOK) ToJSONString

func (o *AdminAddTopicMemberOK) ToJSONString() string

type AdminAddTopicMemberParams

type AdminAddTopicMemberParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APIAddMemberParams
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that will added user to

	*/
	Topic string
	/*UserID
	  user ID that will be added to topic

	*/
	UserID 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
}

AdminAddTopicMemberParams contains all the parameters to send to the API endpoint for the admin add topic member operation typically these are written to a http.Request

func NewAdminAddTopicMemberParams

func NewAdminAddTopicMemberParams() *AdminAddTopicMemberParams

NewAdminAddTopicMemberParams creates a new AdminAddTopicMemberParams object with the default values initialized.

func NewAdminAddTopicMemberParamsWithContext

func NewAdminAddTopicMemberParamsWithContext(ctx context.Context) *AdminAddTopicMemberParams

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

func NewAdminAddTopicMemberParamsWithHTTPClient

func NewAdminAddTopicMemberParamsWithHTTPClient(client *http.Client) *AdminAddTopicMemberParams

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

func NewAdminAddTopicMemberParamsWithTimeout

func NewAdminAddTopicMemberParamsWithTimeout(timeout time.Duration) *AdminAddTopicMemberParams

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

func (*AdminAddTopicMemberParams) SetAuthInfoWriter

func (o *AdminAddTopicMemberParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin add topic member params

func (*AdminAddTopicMemberParams) SetBody

SetBody adds the body to the admin add topic member params

func (*AdminAddTopicMemberParams) SetContext

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

SetContext adds the context to the admin add topic member params

func (*AdminAddTopicMemberParams) SetFlightId

func (o *AdminAddTopicMemberParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminAddTopicMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin add topic member params

func (*AdminAddTopicMemberParams) SetHTTPClientTransport

func (o *AdminAddTopicMemberParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin add topic member params

func (*AdminAddTopicMemberParams) SetNamespace

func (o *AdminAddTopicMemberParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin add topic member params

func (*AdminAddTopicMemberParams) SetTimeout

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

SetTimeout adds the timeout to the admin add topic member params

func (*AdminAddTopicMemberParams) SetTopic

func (o *AdminAddTopicMemberParams) SetTopic(topic string)

SetTopic adds the topic to the admin add topic member params

func (*AdminAddTopicMemberParams) SetUserID

func (o *AdminAddTopicMemberParams) SetUserID(userID string)

SetUserID adds the userId to the admin add topic member params

func (*AdminAddTopicMemberParams) WithBody

WithBody adds the body to the admin add topic member params

func (*AdminAddTopicMemberParams) WithContext

WithContext adds the context to the admin add topic member params

func (*AdminAddTopicMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin add topic member params

func (*AdminAddTopicMemberParams) WithNamespace

func (o *AdminAddTopicMemberParams) WithNamespace(namespace string) *AdminAddTopicMemberParams

WithNamespace adds the namespace to the admin add topic member params

func (*AdminAddTopicMemberParams) WithTimeout

WithTimeout adds the timeout to the admin add topic member params

func (*AdminAddTopicMemberParams) WithTopic

WithTopic adds the topic to the admin add topic member params

func (*AdminAddTopicMemberParams) WithUserID

WithUserID adds the userID to the admin add topic member params

func (*AdminAddTopicMemberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAddTopicMemberReader

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

AdminAddTopicMemberReader is a Reader for the AdminAddTopicMember structure.

func (*AdminAddTopicMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminBanTopicMembersBadRequest

type AdminBanTopicMembersBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminBanTopicMembersBadRequest handles this case with default header values.

Bad Request

func NewAdminBanTopicMembersBadRequest

func NewAdminBanTopicMembersBadRequest() *AdminBanTopicMembersBadRequest

NewAdminBanTopicMembersBadRequest creates a AdminBanTopicMembersBadRequest with default headers values

func (*AdminBanTopicMembersBadRequest) Error

func (*AdminBanTopicMembersBadRequest) GetPayload

func (*AdminBanTopicMembersBadRequest) ToJSONString

func (o *AdminBanTopicMembersBadRequest) ToJSONString() string

type AdminBanTopicMembersForbidden

type AdminBanTopicMembersForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminBanTopicMembersForbidden handles this case with default header values.

Forbidden

func NewAdminBanTopicMembersForbidden

func NewAdminBanTopicMembersForbidden() *AdminBanTopicMembersForbidden

NewAdminBanTopicMembersForbidden creates a AdminBanTopicMembersForbidden with default headers values

func (*AdminBanTopicMembersForbidden) Error

func (*AdminBanTopicMembersForbidden) GetPayload

func (*AdminBanTopicMembersForbidden) ToJSONString

func (o *AdminBanTopicMembersForbidden) ToJSONString() string

type AdminBanTopicMembersInternalServerError

type AdminBanTopicMembersInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminBanTopicMembersInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminBanTopicMembersInternalServerError

func NewAdminBanTopicMembersInternalServerError() *AdminBanTopicMembersInternalServerError

NewAdminBanTopicMembersInternalServerError creates a AdminBanTopicMembersInternalServerError with default headers values

func (*AdminBanTopicMembersInternalServerError) Error

func (*AdminBanTopicMembersInternalServerError) GetPayload

func (*AdminBanTopicMembersInternalServerError) ToJSONString

type AdminBanTopicMembersOK

type AdminBanTopicMembersOK struct {
	Payload *chatclientmodels.ModelsBanTopicMemberResult
}

AdminBanTopicMembersOK handles this case with default header values.

OK

func NewAdminBanTopicMembersOK

func NewAdminBanTopicMembersOK() *AdminBanTopicMembersOK

NewAdminBanTopicMembersOK creates a AdminBanTopicMembersOK with default headers values

func (*AdminBanTopicMembersOK) Error

func (o *AdminBanTopicMembersOK) Error() string

func (*AdminBanTopicMembersOK) GetPayload

func (*AdminBanTopicMembersOK) ToJSONString

func (o *AdminBanTopicMembersOK) ToJSONString() string

type AdminBanTopicMembersParams

type AdminBanTopicMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsBanTopicMemberParam
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	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
}

AdminBanTopicMembersParams contains all the parameters to send to the API endpoint for the admin ban topic members operation typically these are written to a http.Request

func NewAdminBanTopicMembersParams

func NewAdminBanTopicMembersParams() *AdminBanTopicMembersParams

NewAdminBanTopicMembersParams creates a new AdminBanTopicMembersParams object with the default values initialized.

func NewAdminBanTopicMembersParamsWithContext

func NewAdminBanTopicMembersParamsWithContext(ctx context.Context) *AdminBanTopicMembersParams

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

func NewAdminBanTopicMembersParamsWithHTTPClient

func NewAdminBanTopicMembersParamsWithHTTPClient(client *http.Client) *AdminBanTopicMembersParams

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

func NewAdminBanTopicMembersParamsWithTimeout

func NewAdminBanTopicMembersParamsWithTimeout(timeout time.Duration) *AdminBanTopicMembersParams

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

func (*AdminBanTopicMembersParams) SetAuthInfoWriter

func (o *AdminBanTopicMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetBody

SetBody adds the body to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetContext

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

SetContext adds the context to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetFlightId

func (o *AdminBanTopicMembersParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminBanTopicMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetHTTPClientTransport

func (o *AdminBanTopicMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetNamespace

func (o *AdminBanTopicMembersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetTimeout

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

SetTimeout adds the timeout to the admin ban topic members params

func (*AdminBanTopicMembersParams) SetTopic

func (o *AdminBanTopicMembersParams) SetTopic(topic string)

SetTopic adds the topic to the admin ban topic members params

func (*AdminBanTopicMembersParams) WithBody

WithBody adds the body to the admin ban topic members params

func (*AdminBanTopicMembersParams) WithContext

WithContext adds the context to the admin ban topic members params

func (*AdminBanTopicMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin ban topic members params

func (*AdminBanTopicMembersParams) WithNamespace

func (o *AdminBanTopicMembersParams) WithNamespace(namespace string) *AdminBanTopicMembersParams

WithNamespace adds the namespace to the admin ban topic members params

func (*AdminBanTopicMembersParams) WithTimeout

WithTimeout adds the timeout to the admin ban topic members params

func (*AdminBanTopicMembersParams) WithTopic

WithTopic adds the topic to the admin ban topic members params

func (*AdminBanTopicMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminBanTopicMembersReader

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

AdminBanTopicMembersReader is a Reader for the AdminBanTopicMembers structure.

func (*AdminBanTopicMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminBanTopicMembersUnauthorized

type AdminBanTopicMembersUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminBanTopicMembersUnauthorized handles this case with default header values.

Unauthorized

func NewAdminBanTopicMembersUnauthorized

func NewAdminBanTopicMembersUnauthorized() *AdminBanTopicMembersUnauthorized

NewAdminBanTopicMembersUnauthorized creates a AdminBanTopicMembersUnauthorized with default headers values

func (*AdminBanTopicMembersUnauthorized) Error

func (*AdminBanTopicMembersUnauthorized) GetPayload

func (*AdminBanTopicMembersUnauthorized) ToJSONString

func (o *AdminBanTopicMembersUnauthorized) ToJSONString() string

type AdminChannelTopicInfoBadRequest

type AdminChannelTopicInfoBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicInfoBadRequest handles this case with default header values.

Bad Request

func NewAdminChannelTopicInfoBadRequest

func NewAdminChannelTopicInfoBadRequest() *AdminChannelTopicInfoBadRequest

NewAdminChannelTopicInfoBadRequest creates a AdminChannelTopicInfoBadRequest with default headers values

func (*AdminChannelTopicInfoBadRequest) Error

func (*AdminChannelTopicInfoBadRequest) GetPayload

func (*AdminChannelTopicInfoBadRequest) ToJSONString

func (o *AdminChannelTopicInfoBadRequest) ToJSONString() string

type AdminChannelTopicInfoForbidden

type AdminChannelTopicInfoForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicInfoForbidden handles this case with default header values.

Forbidden

func NewAdminChannelTopicInfoForbidden

func NewAdminChannelTopicInfoForbidden() *AdminChannelTopicInfoForbidden

NewAdminChannelTopicInfoForbidden creates a AdminChannelTopicInfoForbidden with default headers values

func (*AdminChannelTopicInfoForbidden) Error

func (*AdminChannelTopicInfoForbidden) GetPayload

func (*AdminChannelTopicInfoForbidden) ToJSONString

func (o *AdminChannelTopicInfoForbidden) ToJSONString() string

type AdminChannelTopicInfoInternalServerError

type AdminChannelTopicInfoInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicInfoInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminChannelTopicInfoInternalServerError

func NewAdminChannelTopicInfoInternalServerError() *AdminChannelTopicInfoInternalServerError

NewAdminChannelTopicInfoInternalServerError creates a AdminChannelTopicInfoInternalServerError with default headers values

func (*AdminChannelTopicInfoInternalServerError) Error

func (*AdminChannelTopicInfoInternalServerError) GetPayload

func (*AdminChannelTopicInfoInternalServerError) ToJSONString

type AdminChannelTopicInfoNotFound

type AdminChannelTopicInfoNotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicInfoNotFound handles this case with default header values.

Bad Request

func NewAdminChannelTopicInfoNotFound

func NewAdminChannelTopicInfoNotFound() *AdminChannelTopicInfoNotFound

NewAdminChannelTopicInfoNotFound creates a AdminChannelTopicInfoNotFound with default headers values

func (*AdminChannelTopicInfoNotFound) Error

func (*AdminChannelTopicInfoNotFound) GetPayload

func (*AdminChannelTopicInfoNotFound) ToJSONString

func (o *AdminChannelTopicInfoNotFound) ToJSONString() string

type AdminChannelTopicInfoOK

type AdminChannelTopicInfoOK struct {
	Payload *chatclientmodels.ModelsChannelTopicResponse
}

AdminChannelTopicInfoOK handles this case with default header values.

OK

func NewAdminChannelTopicInfoOK

func NewAdminChannelTopicInfoOK() *AdminChannelTopicInfoOK

NewAdminChannelTopicInfoOK creates a AdminChannelTopicInfoOK with default headers values

func (*AdminChannelTopicInfoOK) Error

func (o *AdminChannelTopicInfoOK) Error() string

func (*AdminChannelTopicInfoOK) GetPayload

func (*AdminChannelTopicInfoOK) ToJSONString

func (o *AdminChannelTopicInfoOK) ToJSONString() string

type AdminChannelTopicInfoParams

type AdminChannelTopicInfoParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	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
}

AdminChannelTopicInfoParams contains all the parameters to send to the API endpoint for the admin channel topic info operation typically these are written to a http.Request

func NewAdminChannelTopicInfoParams

func NewAdminChannelTopicInfoParams() *AdminChannelTopicInfoParams

NewAdminChannelTopicInfoParams creates a new AdminChannelTopicInfoParams object with the default values initialized.

func NewAdminChannelTopicInfoParamsWithContext

func NewAdminChannelTopicInfoParamsWithContext(ctx context.Context) *AdminChannelTopicInfoParams

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

func NewAdminChannelTopicInfoParamsWithHTTPClient

func NewAdminChannelTopicInfoParamsWithHTTPClient(client *http.Client) *AdminChannelTopicInfoParams

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

func NewAdminChannelTopicInfoParamsWithTimeout

func NewAdminChannelTopicInfoParamsWithTimeout(timeout time.Duration) *AdminChannelTopicInfoParams

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

func (*AdminChannelTopicInfoParams) SetAuthInfoWriter

func (o *AdminChannelTopicInfoParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin channel topic info params

func (*AdminChannelTopicInfoParams) SetContext

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

SetContext adds the context to the admin channel topic info params

func (*AdminChannelTopicInfoParams) SetFlightId

func (o *AdminChannelTopicInfoParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminChannelTopicInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin channel topic info params

func (*AdminChannelTopicInfoParams) SetHTTPClientTransport

func (o *AdminChannelTopicInfoParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin channel topic info params

func (*AdminChannelTopicInfoParams) SetNamespace

func (o *AdminChannelTopicInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin channel topic info params

func (*AdminChannelTopicInfoParams) SetTimeout

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

SetTimeout adds the timeout to the admin channel topic info params

func (*AdminChannelTopicInfoParams) SetTopic

func (o *AdminChannelTopicInfoParams) SetTopic(topic string)

SetTopic adds the topic to the admin channel topic info params

func (*AdminChannelTopicInfoParams) WithContext

WithContext adds the context to the admin channel topic info params

func (*AdminChannelTopicInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin channel topic info params

func (*AdminChannelTopicInfoParams) WithNamespace

func (o *AdminChannelTopicInfoParams) WithNamespace(namespace string) *AdminChannelTopicInfoParams

WithNamespace adds the namespace to the admin channel topic info params

func (*AdminChannelTopicInfoParams) WithTimeout

WithTimeout adds the timeout to the admin channel topic info params

func (*AdminChannelTopicInfoParams) WithTopic

WithTopic adds the topic to the admin channel topic info params

func (*AdminChannelTopicInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminChannelTopicInfoReader

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

AdminChannelTopicInfoReader is a Reader for the AdminChannelTopicInfo structure.

func (*AdminChannelTopicInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminChannelTopicInfoUnauthorized

type AdminChannelTopicInfoUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicInfoUnauthorized handles this case with default header values.

Unauthorized

func NewAdminChannelTopicInfoUnauthorized

func NewAdminChannelTopicInfoUnauthorized() *AdminChannelTopicInfoUnauthorized

NewAdminChannelTopicInfoUnauthorized creates a AdminChannelTopicInfoUnauthorized with default headers values

func (*AdminChannelTopicInfoUnauthorized) Error

func (*AdminChannelTopicInfoUnauthorized) GetPayload

func (*AdminChannelTopicInfoUnauthorized) ToJSONString

func (o *AdminChannelTopicInfoUnauthorized) ToJSONString() string

type AdminChannelTopicListBadRequest

type AdminChannelTopicListBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicListBadRequest handles this case with default header values.

Bad Request

func NewAdminChannelTopicListBadRequest

func NewAdminChannelTopicListBadRequest() *AdminChannelTopicListBadRequest

NewAdminChannelTopicListBadRequest creates a AdminChannelTopicListBadRequest with default headers values

func (*AdminChannelTopicListBadRequest) Error

func (*AdminChannelTopicListBadRequest) GetPayload

func (*AdminChannelTopicListBadRequest) ToJSONString

func (o *AdminChannelTopicListBadRequest) ToJSONString() string

type AdminChannelTopicListForbidden

type AdminChannelTopicListForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicListForbidden handles this case with default header values.

Forbidden

func NewAdminChannelTopicListForbidden

func NewAdminChannelTopicListForbidden() *AdminChannelTopicListForbidden

NewAdminChannelTopicListForbidden creates a AdminChannelTopicListForbidden with default headers values

func (*AdminChannelTopicListForbidden) Error

func (*AdminChannelTopicListForbidden) GetPayload

func (*AdminChannelTopicListForbidden) ToJSONString

func (o *AdminChannelTopicListForbidden) ToJSONString() string

type AdminChannelTopicListInternalServerError

type AdminChannelTopicListInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicListInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminChannelTopicListInternalServerError

func NewAdminChannelTopicListInternalServerError() *AdminChannelTopicListInternalServerError

NewAdminChannelTopicListInternalServerError creates a AdminChannelTopicListInternalServerError with default headers values

func (*AdminChannelTopicListInternalServerError) Error

func (*AdminChannelTopicListInternalServerError) GetPayload

func (*AdminChannelTopicListInternalServerError) ToJSONString

type AdminChannelTopicListOK

type AdminChannelTopicListOK struct {
	Payload *chatclientmodels.ModelsChannelTopicWithPaginationResponse
}

AdminChannelTopicListOK handles this case with default header values.

OK

func NewAdminChannelTopicListOK

func NewAdminChannelTopicListOK() *AdminChannelTopicListOK

NewAdminChannelTopicListOK creates a AdminChannelTopicListOK with default headers values

func (*AdminChannelTopicListOK) Error

func (o *AdminChannelTopicListOK) Error() string

func (*AdminChannelTopicListOK) GetPayload

func (*AdminChannelTopicListOK) ToJSONString

func (o *AdminChannelTopicListOK) ToJSONString() string

type AdminChannelTopicListParams

type AdminChannelTopicListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*TopicName
	  name

	*/
	TopicName *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
}

AdminChannelTopicListParams contains all the parameters to send to the API endpoint for the admin channel topic list operation typically these are written to a http.Request

func NewAdminChannelTopicListParams

func NewAdminChannelTopicListParams() *AdminChannelTopicListParams

NewAdminChannelTopicListParams creates a new AdminChannelTopicListParams object with the default values initialized.

func NewAdminChannelTopicListParamsWithContext

func NewAdminChannelTopicListParamsWithContext(ctx context.Context) *AdminChannelTopicListParams

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

func NewAdminChannelTopicListParamsWithHTTPClient

func NewAdminChannelTopicListParamsWithHTTPClient(client *http.Client) *AdminChannelTopicListParams

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

func NewAdminChannelTopicListParamsWithTimeout

func NewAdminChannelTopicListParamsWithTimeout(timeout time.Duration) *AdminChannelTopicListParams

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

func (*AdminChannelTopicListParams) SetAuthInfoWriter

func (o *AdminChannelTopicListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin channel topic list params

func (*AdminChannelTopicListParams) SetContext

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

SetContext adds the context to the admin channel topic list params

func (*AdminChannelTopicListParams) SetFlightId

func (o *AdminChannelTopicListParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminChannelTopicListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin channel topic list params

func (*AdminChannelTopicListParams) SetHTTPClientTransport

func (o *AdminChannelTopicListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin channel topic list params

func (*AdminChannelTopicListParams) SetLimit

func (o *AdminChannelTopicListParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin channel topic list params

func (*AdminChannelTopicListParams) SetNamespace

func (o *AdminChannelTopicListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin channel topic list params

func (*AdminChannelTopicListParams) SetOffset

func (o *AdminChannelTopicListParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin channel topic list params

func (*AdminChannelTopicListParams) SetTimeout

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

SetTimeout adds the timeout to the admin channel topic list params

func (*AdminChannelTopicListParams) SetTopicName

func (o *AdminChannelTopicListParams) SetTopicName(topicName *string)

SetTopicName adds the topicName to the admin channel topic list params

func (*AdminChannelTopicListParams) WithContext

WithContext adds the context to the admin channel topic list params

func (*AdminChannelTopicListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin channel topic list params

func (*AdminChannelTopicListParams) WithLimit

WithLimit adds the limit to the admin channel topic list params

func (*AdminChannelTopicListParams) WithNamespace

func (o *AdminChannelTopicListParams) WithNamespace(namespace string) *AdminChannelTopicListParams

WithNamespace adds the namespace to the admin channel topic list params

func (*AdminChannelTopicListParams) WithOffset

WithOffset adds the offset to the admin channel topic list params

func (*AdminChannelTopicListParams) WithTimeout

WithTimeout adds the timeout to the admin channel topic list params

func (*AdminChannelTopicListParams) WithTopicName

func (o *AdminChannelTopicListParams) WithTopicName(topicName *string) *AdminChannelTopicListParams

WithTopicName adds the topicName to the admin channel topic list params

func (*AdminChannelTopicListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminChannelTopicListReader

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

AdminChannelTopicListReader is a Reader for the AdminChannelTopicList structure.

func (*AdminChannelTopicListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminChannelTopicListUnauthorized

type AdminChannelTopicListUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicListUnauthorized handles this case with default header values.

Unauthorized

func NewAdminChannelTopicListUnauthorized

func NewAdminChannelTopicListUnauthorized() *AdminChannelTopicListUnauthorized

NewAdminChannelTopicListUnauthorized creates a AdminChannelTopicListUnauthorized with default headers values

func (*AdminChannelTopicListUnauthorized) Error

func (*AdminChannelTopicListUnauthorized) GetPayload

func (*AdminChannelTopicListUnauthorized) ToJSONString

func (o *AdminChannelTopicListUnauthorized) ToJSONString() string

type AdminChannelTopicSummaryBadRequest

type AdminChannelTopicSummaryBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicSummaryBadRequest handles this case with default header values.

Bad Request

func NewAdminChannelTopicSummaryBadRequest

func NewAdminChannelTopicSummaryBadRequest() *AdminChannelTopicSummaryBadRequest

NewAdminChannelTopicSummaryBadRequest creates a AdminChannelTopicSummaryBadRequest with default headers values

func (*AdminChannelTopicSummaryBadRequest) Error

func (*AdminChannelTopicSummaryBadRequest) GetPayload

func (*AdminChannelTopicSummaryBadRequest) ToJSONString

func (o *AdminChannelTopicSummaryBadRequest) ToJSONString() string

type AdminChannelTopicSummaryForbidden

type AdminChannelTopicSummaryForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicSummaryForbidden handles this case with default header values.

Forbidden

func NewAdminChannelTopicSummaryForbidden

func NewAdminChannelTopicSummaryForbidden() *AdminChannelTopicSummaryForbidden

NewAdminChannelTopicSummaryForbidden creates a AdminChannelTopicSummaryForbidden with default headers values

func (*AdminChannelTopicSummaryForbidden) Error

func (*AdminChannelTopicSummaryForbidden) GetPayload

func (*AdminChannelTopicSummaryForbidden) ToJSONString

func (o *AdminChannelTopicSummaryForbidden) ToJSONString() string

type AdminChannelTopicSummaryInternalServerError

type AdminChannelTopicSummaryInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicSummaryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminChannelTopicSummaryInternalServerError

func NewAdminChannelTopicSummaryInternalServerError() *AdminChannelTopicSummaryInternalServerError

NewAdminChannelTopicSummaryInternalServerError creates a AdminChannelTopicSummaryInternalServerError with default headers values

func (*AdminChannelTopicSummaryInternalServerError) Error

func (*AdminChannelTopicSummaryInternalServerError) GetPayload

func (*AdminChannelTopicSummaryInternalServerError) ToJSONString

type AdminChannelTopicSummaryOK

type AdminChannelTopicSummaryOK struct {
	Payload *chatclientmodels.ModelsChannelTopicSummaryResponse
}

AdminChannelTopicSummaryOK handles this case with default header values.

OK

func NewAdminChannelTopicSummaryOK

func NewAdminChannelTopicSummaryOK() *AdminChannelTopicSummaryOK

NewAdminChannelTopicSummaryOK creates a AdminChannelTopicSummaryOK with default headers values

func (*AdminChannelTopicSummaryOK) Error

func (*AdminChannelTopicSummaryOK) GetPayload

func (*AdminChannelTopicSummaryOK) ToJSONString

func (o *AdminChannelTopicSummaryOK) ToJSONString() string

type AdminChannelTopicSummaryParams

type AdminChannelTopicSummaryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

AdminChannelTopicSummaryParams contains all the parameters to send to the API endpoint for the admin channel topic summary operation typically these are written to a http.Request

func NewAdminChannelTopicSummaryParams

func NewAdminChannelTopicSummaryParams() *AdminChannelTopicSummaryParams

NewAdminChannelTopicSummaryParams creates a new AdminChannelTopicSummaryParams object with the default values initialized.

func NewAdminChannelTopicSummaryParamsWithContext

func NewAdminChannelTopicSummaryParamsWithContext(ctx context.Context) *AdminChannelTopicSummaryParams

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

func NewAdminChannelTopicSummaryParamsWithHTTPClient

func NewAdminChannelTopicSummaryParamsWithHTTPClient(client *http.Client) *AdminChannelTopicSummaryParams

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

func NewAdminChannelTopicSummaryParamsWithTimeout

func NewAdminChannelTopicSummaryParamsWithTimeout(timeout time.Duration) *AdminChannelTopicSummaryParams

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

func (*AdminChannelTopicSummaryParams) SetAuthInfoWriter

func (o *AdminChannelTopicSummaryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) SetContext

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

SetContext adds the context to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) SetFlightId

func (o *AdminChannelTopicSummaryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminChannelTopicSummaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) SetHTTPClientTransport

func (o *AdminChannelTopicSummaryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) SetNamespace

func (o *AdminChannelTopicSummaryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) SetTimeout

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

SetTimeout adds the timeout to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) WithContext

WithContext adds the context to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) WithNamespace

WithNamespace adds the namespace to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) WithTimeout

WithTimeout adds the timeout to the admin channel topic summary params

func (*AdminChannelTopicSummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminChannelTopicSummaryReader

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

AdminChannelTopicSummaryReader is a Reader for the AdminChannelTopicSummary structure.

func (*AdminChannelTopicSummaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminChannelTopicSummaryUnauthorized

type AdminChannelTopicSummaryUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChannelTopicSummaryUnauthorized handles this case with default header values.

Unauthorized

func NewAdminChannelTopicSummaryUnauthorized

func NewAdminChannelTopicSummaryUnauthorized() *AdminChannelTopicSummaryUnauthorized

NewAdminChannelTopicSummaryUnauthorized creates a AdminChannelTopicSummaryUnauthorized with default headers values

func (*AdminChannelTopicSummaryUnauthorized) Error

func (*AdminChannelTopicSummaryUnauthorized) GetPayload

func (*AdminChannelTopicSummaryUnauthorized) ToJSONString

func (o *AdminChannelTopicSummaryUnauthorized) ToJSONString() string

type AdminChatHistoryBadRequest

type AdminChatHistoryBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChatHistoryBadRequest handles this case with default header values.

Bad Request

func NewAdminChatHistoryBadRequest

func NewAdminChatHistoryBadRequest() *AdminChatHistoryBadRequest

NewAdminChatHistoryBadRequest creates a AdminChatHistoryBadRequest with default headers values

func (*AdminChatHistoryBadRequest) Error

func (*AdminChatHistoryBadRequest) GetPayload

func (*AdminChatHistoryBadRequest) ToJSONString

func (o *AdminChatHistoryBadRequest) ToJSONString() string

type AdminChatHistoryForbidden

type AdminChatHistoryForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChatHistoryForbidden handles this case with default header values.

Forbidden

func NewAdminChatHistoryForbidden

func NewAdminChatHistoryForbidden() *AdminChatHistoryForbidden

NewAdminChatHistoryForbidden creates a AdminChatHistoryForbidden with default headers values

func (*AdminChatHistoryForbidden) Error

func (o *AdminChatHistoryForbidden) Error() string

func (*AdminChatHistoryForbidden) GetPayload

func (*AdminChatHistoryForbidden) ToJSONString

func (o *AdminChatHistoryForbidden) ToJSONString() string

type AdminChatHistoryInternalServerError

type AdminChatHistoryInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChatHistoryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminChatHistoryInternalServerError

func NewAdminChatHistoryInternalServerError() *AdminChatHistoryInternalServerError

NewAdminChatHistoryInternalServerError creates a AdminChatHistoryInternalServerError with default headers values

func (*AdminChatHistoryInternalServerError) Error

func (*AdminChatHistoryInternalServerError) GetPayload

func (*AdminChatHistoryInternalServerError) ToJSONString

func (o *AdminChatHistoryInternalServerError) ToJSONString() string

type AdminChatHistoryOK

type AdminChatHistoryOK struct {
	Payload *chatclientmodels.ModelsChatMessageWithPaginationResponse
}

AdminChatHistoryOK handles this case with default header values.

OK

func NewAdminChatHistoryOK

func NewAdminChatHistoryOK() *AdminChatHistoryOK

NewAdminChatHistoryOK creates a AdminChatHistoryOK with default headers values

func (*AdminChatHistoryOK) Error

func (o *AdminChatHistoryOK) Error() string

func (*AdminChatHistoryOK) GetPayload

func (*AdminChatHistoryOK) ToJSONString

func (o *AdminChatHistoryOK) ToJSONString() string

type AdminChatHistoryParams

type AdminChatHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*ChatID
	  chat ID of chat

	*/
	ChatID []string
	/*EndCreatedAt
	  end date

	*/
	EndCreatedAt *int64
	/*Keyword
	  keyword containing in message

	*/
	Keyword *string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*Order
	  anyof: createdAt:asc / createdAt:desc

	*/
	Order *string
	/*SenderUserID
	  sender user ID

	*/
	SenderUserID *string
	/*ShardID
	  shard id

	*/
	ShardID *string
	/*StartCreatedAt
	  start date

	*/
	StartCreatedAt *int64
	/*Topic
	  topic ID that receive the chat

	*/
	Topic []string
	/*Unfiltered
	  unfiltered chat messages

	*/
	Unfiltered *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminChatHistoryParams contains all the parameters to send to the API endpoint for the admin chat history operation typically these are written to a http.Request

func NewAdminChatHistoryParams

func NewAdminChatHistoryParams() *AdminChatHistoryParams

NewAdminChatHistoryParams creates a new AdminChatHistoryParams object with the default values initialized.

func NewAdminChatHistoryParamsWithContext

func NewAdminChatHistoryParamsWithContext(ctx context.Context) *AdminChatHistoryParams

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

func NewAdminChatHistoryParamsWithHTTPClient

func NewAdminChatHistoryParamsWithHTTPClient(client *http.Client) *AdminChatHistoryParams

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

func NewAdminChatHistoryParamsWithTimeout

func NewAdminChatHistoryParamsWithTimeout(timeout time.Duration) *AdminChatHistoryParams

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

func (*AdminChatHistoryParams) SetAuthInfoWriter

func (o *AdminChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin chat history params

func (*AdminChatHistoryParams) SetChatID

func (o *AdminChatHistoryParams) SetChatID(chatID []string)

SetChatID adds the chatId to the admin chat history params

func (*AdminChatHistoryParams) SetContext

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

SetContext adds the context to the admin chat history params

func (*AdminChatHistoryParams) SetEndCreatedAt

func (o *AdminChatHistoryParams) SetEndCreatedAt(endCreatedAt *int64)

SetEndCreatedAt adds the endCreatedAt to the admin chat history params

func (*AdminChatHistoryParams) SetFlightId

func (o *AdminChatHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminChatHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin chat history params

func (*AdminChatHistoryParams) SetHTTPClientTransport

func (o *AdminChatHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin chat history params

func (*AdminChatHistoryParams) SetKeyword

func (o *AdminChatHistoryParams) SetKeyword(keyword *string)

SetKeyword adds the keyword to the admin chat history params

func (*AdminChatHistoryParams) SetLimit

func (o *AdminChatHistoryParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin chat history params

func (*AdminChatHistoryParams) SetNamespace

func (o *AdminChatHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin chat history params

func (*AdminChatHistoryParams) SetOffset

func (o *AdminChatHistoryParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin chat history params

func (*AdminChatHistoryParams) SetOrder

func (o *AdminChatHistoryParams) SetOrder(order *string)

SetOrder adds the order to the admin chat history params

func (*AdminChatHistoryParams) SetSenderUserID

func (o *AdminChatHistoryParams) SetSenderUserID(senderUserID *string)

SetSenderUserID adds the senderUserId to the admin chat history params

func (*AdminChatHistoryParams) SetShardID

func (o *AdminChatHistoryParams) SetShardID(shardID *string)

SetShardID adds the shardId to the admin chat history params

func (*AdminChatHistoryParams) SetStartCreatedAt

func (o *AdminChatHistoryParams) SetStartCreatedAt(startCreatedAt *int64)

SetStartCreatedAt adds the startCreatedAt to the admin chat history params

func (*AdminChatHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin chat history params

func (*AdminChatHistoryParams) SetTopic

func (o *AdminChatHistoryParams) SetTopic(topic []string)

SetTopic adds the topic to the admin chat history params

func (*AdminChatHistoryParams) SetUnfiltered

func (o *AdminChatHistoryParams) SetUnfiltered(unfiltered *bool)

SetUnfiltered adds the unfiltered to the admin chat history params

func (*AdminChatHistoryParams) WithChatID

func (o *AdminChatHistoryParams) WithChatID(chatID []string) *AdminChatHistoryParams

WithChatID adds the chatID to the admin chat history params

func (*AdminChatHistoryParams) WithContext

WithContext adds the context to the admin chat history params

func (*AdminChatHistoryParams) WithEndCreatedAt

func (o *AdminChatHistoryParams) WithEndCreatedAt(endCreatedAt *int64) *AdminChatHistoryParams

WithEndCreatedAt adds the endCreatedAt to the admin chat history params

func (*AdminChatHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin chat history params

func (*AdminChatHistoryParams) WithKeyword

func (o *AdminChatHistoryParams) WithKeyword(keyword *string) *AdminChatHistoryParams

WithKeyword adds the keyword to the admin chat history params

func (*AdminChatHistoryParams) WithLimit

func (o *AdminChatHistoryParams) WithLimit(limit *int64) *AdminChatHistoryParams

WithLimit adds the limit to the admin chat history params

func (*AdminChatHistoryParams) WithNamespace

func (o *AdminChatHistoryParams) WithNamespace(namespace string) *AdminChatHistoryParams

WithNamespace adds the namespace to the admin chat history params

func (*AdminChatHistoryParams) WithOffset

func (o *AdminChatHistoryParams) WithOffset(offset *int64) *AdminChatHistoryParams

WithOffset adds the offset to the admin chat history params

func (*AdminChatHistoryParams) WithOrder

WithOrder adds the order to the admin chat history params

func (*AdminChatHistoryParams) WithSenderUserID

func (o *AdminChatHistoryParams) WithSenderUserID(senderUserID *string) *AdminChatHistoryParams

WithSenderUserID adds the senderUserID to the admin chat history params

func (*AdminChatHistoryParams) WithShardID

func (o *AdminChatHistoryParams) WithShardID(shardID *string) *AdminChatHistoryParams

WithShardID adds the shardID to the admin chat history params

func (*AdminChatHistoryParams) WithStartCreatedAt

func (o *AdminChatHistoryParams) WithStartCreatedAt(startCreatedAt *int64) *AdminChatHistoryParams

WithStartCreatedAt adds the startCreatedAt to the admin chat history params

func (*AdminChatHistoryParams) WithTimeout

WithTimeout adds the timeout to the admin chat history params

func (*AdminChatHistoryParams) WithTopic

func (o *AdminChatHistoryParams) WithTopic(topic []string) *AdminChatHistoryParams

WithTopic adds the topic to the admin chat history params

func (*AdminChatHistoryParams) WithUnfiltered

func (o *AdminChatHistoryParams) WithUnfiltered(unfiltered *bool) *AdminChatHistoryParams

WithUnfiltered adds the unfiltered to the admin chat history params

func (*AdminChatHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminChatHistoryReader

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

AdminChatHistoryReader is a Reader for the AdminChatHistory structure.

func (*AdminChatHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminChatHistoryUnauthorized

type AdminChatHistoryUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminChatHistoryUnauthorized handles this case with default header values.

Unauthorized

func NewAdminChatHistoryUnauthorized

func NewAdminChatHistoryUnauthorized() *AdminChatHistoryUnauthorized

NewAdminChatHistoryUnauthorized creates a AdminChatHistoryUnauthorized with default headers values

func (*AdminChatHistoryUnauthorized) Error

func (*AdminChatHistoryUnauthorized) GetPayload

func (*AdminChatHistoryUnauthorized) ToJSONString

func (o *AdminChatHistoryUnauthorized) ToJSONString() string

type AdminCreateNamespaceTopicOK

type AdminCreateNamespaceTopicOK struct {
	Payload *chatclientmodels.APICreateTopicResponse
}

AdminCreateNamespaceTopicOK handles this case with default header values.

func NewAdminCreateNamespaceTopicOK

func NewAdminCreateNamespaceTopicOK() *AdminCreateNamespaceTopicOK

NewAdminCreateNamespaceTopicOK creates a AdminCreateNamespaceTopicOK with default headers values

func (*AdminCreateNamespaceTopicOK) Error

func (*AdminCreateNamespaceTopicOK) GetPayload

func (*AdminCreateNamespaceTopicOK) ToJSONString

func (o *AdminCreateNamespaceTopicOK) ToJSONString() string

type AdminCreateNamespaceTopicParams

type AdminCreateNamespaceTopicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APICreateNamespaceTopicParams
	/*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
}

AdminCreateNamespaceTopicParams contains all the parameters to send to the API endpoint for the admin create namespace topic operation typically these are written to a http.Request

func NewAdminCreateNamespaceTopicParams

func NewAdminCreateNamespaceTopicParams() *AdminCreateNamespaceTopicParams

NewAdminCreateNamespaceTopicParams creates a new AdminCreateNamespaceTopicParams object with the default values initialized.

func NewAdminCreateNamespaceTopicParamsWithContext

func NewAdminCreateNamespaceTopicParamsWithContext(ctx context.Context) *AdminCreateNamespaceTopicParams

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

func NewAdminCreateNamespaceTopicParamsWithHTTPClient

func NewAdminCreateNamespaceTopicParamsWithHTTPClient(client *http.Client) *AdminCreateNamespaceTopicParams

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

func NewAdminCreateNamespaceTopicParamsWithTimeout

func NewAdminCreateNamespaceTopicParamsWithTimeout(timeout time.Duration) *AdminCreateNamespaceTopicParams

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

func (*AdminCreateNamespaceTopicParams) SetAuthInfoWriter

func (o *AdminCreateNamespaceTopicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) SetBody

SetBody adds the body to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) SetContext

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

SetContext adds the context to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) SetFlightId

func (o *AdminCreateNamespaceTopicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminCreateNamespaceTopicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) SetHTTPClientTransport

func (o *AdminCreateNamespaceTopicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) SetNamespace

func (o *AdminCreateNamespaceTopicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) SetTimeout

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

SetTimeout adds the timeout to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) WithBody

WithBody adds the body to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) WithContext

WithContext adds the context to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) WithNamespace

WithNamespace adds the namespace to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) WithTimeout

WithTimeout adds the timeout to the admin create namespace topic params

func (*AdminCreateNamespaceTopicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateNamespaceTopicReader

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

AdminCreateNamespaceTopicReader is a Reader for the AdminCreateNamespaceTopic structure.

func (*AdminCreateNamespaceTopicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateNamespaceTopicResponse

type AdminCreateNamespaceTopicResponse struct {
	chatclientmodels.ApiResponse
	Data *chatclientmodels.APICreateTopicResponse
}

func (*AdminCreateNamespaceTopicResponse) Unpack

type AdminCreateTopicOK

type AdminCreateTopicOK struct {
	Payload *chatclientmodels.APICreateTopicResponse
}

AdminCreateTopicOK handles this case with default header values.

func NewAdminCreateTopicOK

func NewAdminCreateTopicOK() *AdminCreateTopicOK

NewAdminCreateTopicOK creates a AdminCreateTopicOK with default headers values

func (*AdminCreateTopicOK) Error

func (o *AdminCreateTopicOK) Error() string

func (*AdminCreateTopicOK) GetPayload

func (*AdminCreateTopicOK) ToJSONString

func (o *AdminCreateTopicOK) ToJSONString() string

type AdminCreateTopicParams

type AdminCreateTopicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APICreateTopicParams
	/*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
}

AdminCreateTopicParams contains all the parameters to send to the API endpoint for the admin create topic operation typically these are written to a http.Request

func NewAdminCreateTopicParams

func NewAdminCreateTopicParams() *AdminCreateTopicParams

NewAdminCreateTopicParams creates a new AdminCreateTopicParams object with the default values initialized.

func NewAdminCreateTopicParamsWithContext

func NewAdminCreateTopicParamsWithContext(ctx context.Context) *AdminCreateTopicParams

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

func NewAdminCreateTopicParamsWithHTTPClient

func NewAdminCreateTopicParamsWithHTTPClient(client *http.Client) *AdminCreateTopicParams

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

func NewAdminCreateTopicParamsWithTimeout

func NewAdminCreateTopicParamsWithTimeout(timeout time.Duration) *AdminCreateTopicParams

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

func (*AdminCreateTopicParams) SetAuthInfoWriter

func (o *AdminCreateTopicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin create topic params

func (*AdminCreateTopicParams) SetBody

SetBody adds the body to the admin create topic params

func (*AdminCreateTopicParams) SetContext

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

SetContext adds the context to the admin create topic params

func (*AdminCreateTopicParams) SetFlightId

func (o *AdminCreateTopicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminCreateTopicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create topic params

func (*AdminCreateTopicParams) SetHTTPClientTransport

func (o *AdminCreateTopicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin create topic params

func (*AdminCreateTopicParams) SetNamespace

func (o *AdminCreateTopicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create topic params

func (*AdminCreateTopicParams) SetTimeout

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

SetTimeout adds the timeout to the admin create topic params

func (*AdminCreateTopicParams) WithBody

WithBody adds the body to the admin create topic params

func (*AdminCreateTopicParams) WithContext

WithContext adds the context to the admin create topic params

func (*AdminCreateTopicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create topic params

func (*AdminCreateTopicParams) WithNamespace

func (o *AdminCreateTopicParams) WithNamespace(namespace string) *AdminCreateTopicParams

WithNamespace adds the namespace to the admin create topic params

func (*AdminCreateTopicParams) WithTimeout

WithTimeout adds the timeout to the admin create topic params

func (*AdminCreateTopicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateTopicReader

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

AdminCreateTopicReader is a Reader for the AdminCreateTopic structure.

func (*AdminCreateTopicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteChatBadRequest

type AdminDeleteChatBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminDeleteChatBadRequest handles this case with default header values.

Bad Request

func NewAdminDeleteChatBadRequest

func NewAdminDeleteChatBadRequest() *AdminDeleteChatBadRequest

NewAdminDeleteChatBadRequest creates a AdminDeleteChatBadRequest with default headers values

func (*AdminDeleteChatBadRequest) Error

func (o *AdminDeleteChatBadRequest) Error() string

func (*AdminDeleteChatBadRequest) GetPayload

func (*AdminDeleteChatBadRequest) ToJSONString

func (o *AdminDeleteChatBadRequest) ToJSONString() string

type AdminDeleteChatForbidden

type AdminDeleteChatForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminDeleteChatForbidden handles this case with default header values.

Forbidden

func NewAdminDeleteChatForbidden

func NewAdminDeleteChatForbidden() *AdminDeleteChatForbidden

NewAdminDeleteChatForbidden creates a AdminDeleteChatForbidden with default headers values

func (*AdminDeleteChatForbidden) Error

func (o *AdminDeleteChatForbidden) Error() string

func (*AdminDeleteChatForbidden) GetPayload

func (*AdminDeleteChatForbidden) ToJSONString

func (o *AdminDeleteChatForbidden) ToJSONString() string

type AdminDeleteChatInternalServerError

type AdminDeleteChatInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminDeleteChatInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteChatInternalServerError

func NewAdminDeleteChatInternalServerError() *AdminDeleteChatInternalServerError

NewAdminDeleteChatInternalServerError creates a AdminDeleteChatInternalServerError with default headers values

func (*AdminDeleteChatInternalServerError) Error

func (*AdminDeleteChatInternalServerError) GetPayload

func (*AdminDeleteChatInternalServerError) ToJSONString

func (o *AdminDeleteChatInternalServerError) ToJSONString() string

type AdminDeleteChatNoContent

type AdminDeleteChatNoContent struct {
}

AdminDeleteChatNoContent handles this case with default header values.

No Content

func NewAdminDeleteChatNoContent

func NewAdminDeleteChatNoContent() *AdminDeleteChatNoContent

NewAdminDeleteChatNoContent creates a AdminDeleteChatNoContent with default headers values

func (*AdminDeleteChatNoContent) Error

func (o *AdminDeleteChatNoContent) Error() string

type AdminDeleteChatParams

type AdminDeleteChatParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChatID
	  chat ID od the chat

	*/
	ChatID string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID of the chat

	*/
	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
}

AdminDeleteChatParams contains all the parameters to send to the API endpoint for the admin delete chat operation typically these are written to a http.Request

func NewAdminDeleteChatParams

func NewAdminDeleteChatParams() *AdminDeleteChatParams

NewAdminDeleteChatParams creates a new AdminDeleteChatParams object with the default values initialized.

func NewAdminDeleteChatParamsWithContext

func NewAdminDeleteChatParamsWithContext(ctx context.Context) *AdminDeleteChatParams

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

func NewAdminDeleteChatParamsWithHTTPClient

func NewAdminDeleteChatParamsWithHTTPClient(client *http.Client) *AdminDeleteChatParams

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

func NewAdminDeleteChatParamsWithTimeout

func NewAdminDeleteChatParamsWithTimeout(timeout time.Duration) *AdminDeleteChatParams

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

func (*AdminDeleteChatParams) SetAuthInfoWriter

func (o *AdminDeleteChatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete chat params

func (*AdminDeleteChatParams) SetChatID

func (o *AdminDeleteChatParams) SetChatID(chatID string)

SetChatID adds the chatId to the admin delete chat params

func (*AdminDeleteChatParams) SetContext

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

SetContext adds the context to the admin delete chat params

func (*AdminDeleteChatParams) SetFlightId

func (o *AdminDeleteChatParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminDeleteChatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete chat params

func (*AdminDeleteChatParams) SetHTTPClientTransport

func (o *AdminDeleteChatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete chat params

func (*AdminDeleteChatParams) SetNamespace

func (o *AdminDeleteChatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete chat params

func (*AdminDeleteChatParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete chat params

func (*AdminDeleteChatParams) SetTopic

func (o *AdminDeleteChatParams) SetTopic(topic string)

SetTopic adds the topic to the admin delete chat params

func (*AdminDeleteChatParams) WithChatID

func (o *AdminDeleteChatParams) WithChatID(chatID string) *AdminDeleteChatParams

WithChatID adds the chatID to the admin delete chat params

func (*AdminDeleteChatParams) WithContext

WithContext adds the context to the admin delete chat params

func (*AdminDeleteChatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete chat params

func (*AdminDeleteChatParams) WithNamespace

func (o *AdminDeleteChatParams) WithNamespace(namespace string) *AdminDeleteChatParams

WithNamespace adds the namespace to the admin delete chat params

func (*AdminDeleteChatParams) WithTimeout

func (o *AdminDeleteChatParams) WithTimeout(timeout time.Duration) *AdminDeleteChatParams

WithTimeout adds the timeout to the admin delete chat params

func (*AdminDeleteChatParams) WithTopic

func (o *AdminDeleteChatParams) WithTopic(topic string) *AdminDeleteChatParams

WithTopic adds the topic to the admin delete chat params

func (*AdminDeleteChatParams) WriteToRequest

func (o *AdminDeleteChatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminDeleteChatReader

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

AdminDeleteChatReader is a Reader for the AdminDeleteChat structure.

func (*AdminDeleteChatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteChatUnauthorized

type AdminDeleteChatUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminDeleteChatUnauthorized handles this case with default header values.

Unauthorized

func NewAdminDeleteChatUnauthorized

func NewAdminDeleteChatUnauthorized() *AdminDeleteChatUnauthorized

NewAdminDeleteChatUnauthorized creates a AdminDeleteChatUnauthorized with default headers values

func (*AdminDeleteChatUnauthorized) Error

func (*AdminDeleteChatUnauthorized) GetPayload

func (*AdminDeleteChatUnauthorized) ToJSONString

func (o *AdminDeleteChatUnauthorized) ToJSONString() string

type AdminDeleteTopicOK

type AdminDeleteTopicOK struct {
	Payload *chatclientmodels.MessageActionDeleteTopicResult
}

AdminDeleteTopicOK handles this case with default header values.

func NewAdminDeleteTopicOK

func NewAdminDeleteTopicOK() *AdminDeleteTopicOK

NewAdminDeleteTopicOK creates a AdminDeleteTopicOK with default headers values

func (*AdminDeleteTopicOK) Error

func (o *AdminDeleteTopicOK) Error() string

func (*AdminDeleteTopicOK) GetPayload

func (*AdminDeleteTopicOK) ToJSONString

func (o *AdminDeleteTopicOK) ToJSONString() string

type AdminDeleteTopicParams

type AdminDeleteTopicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	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
}

AdminDeleteTopicParams contains all the parameters to send to the API endpoint for the admin delete topic operation typically these are written to a http.Request

func NewAdminDeleteTopicParams

func NewAdminDeleteTopicParams() *AdminDeleteTopicParams

NewAdminDeleteTopicParams creates a new AdminDeleteTopicParams object with the default values initialized.

func NewAdminDeleteTopicParamsWithContext

func NewAdminDeleteTopicParamsWithContext(ctx context.Context) *AdminDeleteTopicParams

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

func NewAdminDeleteTopicParamsWithHTTPClient

func NewAdminDeleteTopicParamsWithHTTPClient(client *http.Client) *AdminDeleteTopicParams

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

func NewAdminDeleteTopicParamsWithTimeout

func NewAdminDeleteTopicParamsWithTimeout(timeout time.Duration) *AdminDeleteTopicParams

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

func (*AdminDeleteTopicParams) SetAuthInfoWriter

func (o *AdminDeleteTopicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete topic params

func (*AdminDeleteTopicParams) SetContext

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

SetContext adds the context to the admin delete topic params

func (*AdminDeleteTopicParams) SetFlightId

func (o *AdminDeleteTopicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminDeleteTopicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete topic params

func (*AdminDeleteTopicParams) SetHTTPClientTransport

func (o *AdminDeleteTopicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete topic params

func (*AdminDeleteTopicParams) SetNamespace

func (o *AdminDeleteTopicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete topic params

func (*AdminDeleteTopicParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete topic params

func (*AdminDeleteTopicParams) SetTopic

func (o *AdminDeleteTopicParams) SetTopic(topic string)

SetTopic adds the topic to the admin delete topic params

func (*AdminDeleteTopicParams) WithContext

WithContext adds the context to the admin delete topic params

func (*AdminDeleteTopicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete topic params

func (*AdminDeleteTopicParams) WithNamespace

func (o *AdminDeleteTopicParams) WithNamespace(namespace string) *AdminDeleteTopicParams

WithNamespace adds the namespace to the admin delete topic params

func (*AdminDeleteTopicParams) WithTimeout

WithTimeout adds the timeout to the admin delete topic params

func (*AdminDeleteTopicParams) WithTopic

WithTopic adds the topic to the admin delete topic params

func (*AdminDeleteTopicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteTopicReader

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

AdminDeleteTopicReader is a Reader for the AdminDeleteTopic structure.

func (*AdminDeleteTopicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminFilterChatMessageBadRequest

type AdminFilterChatMessageBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminFilterChatMessageBadRequest handles this case with default header values.

Bad Request

func NewAdminFilterChatMessageBadRequest

func NewAdminFilterChatMessageBadRequest() *AdminFilterChatMessageBadRequest

NewAdminFilterChatMessageBadRequest creates a AdminFilterChatMessageBadRequest with default headers values

func (*AdminFilterChatMessageBadRequest) Error

func (*AdminFilterChatMessageBadRequest) GetPayload

func (*AdminFilterChatMessageBadRequest) ToJSONString

func (o *AdminFilterChatMessageBadRequest) ToJSONString() string

type AdminFilterChatMessageForbidden

type AdminFilterChatMessageForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminFilterChatMessageForbidden handles this case with default header values.

Forbidden

func NewAdminFilterChatMessageForbidden

func NewAdminFilterChatMessageForbidden() *AdminFilterChatMessageForbidden

NewAdminFilterChatMessageForbidden creates a AdminFilterChatMessageForbidden with default headers values

func (*AdminFilterChatMessageForbidden) Error

func (*AdminFilterChatMessageForbidden) GetPayload

func (*AdminFilterChatMessageForbidden) ToJSONString

func (o *AdminFilterChatMessageForbidden) ToJSONString() string

type AdminFilterChatMessageInternalServerError

type AdminFilterChatMessageInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminFilterChatMessageInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminFilterChatMessageInternalServerError

func NewAdminFilterChatMessageInternalServerError() *AdminFilterChatMessageInternalServerError

NewAdminFilterChatMessageInternalServerError creates a AdminFilterChatMessageInternalServerError with default headers values

func (*AdminFilterChatMessageInternalServerError) Error

func (*AdminFilterChatMessageInternalServerError) GetPayload

func (*AdminFilterChatMessageInternalServerError) ToJSONString

type AdminFilterChatMessageOK

type AdminFilterChatMessageOK struct {
	Payload *chatclientmodels.ModelsMessageResultWithAttributes
}

AdminFilterChatMessageOK handles this case with default header values.

OK

func NewAdminFilterChatMessageOK

func NewAdminFilterChatMessageOK() *AdminFilterChatMessageOK

NewAdminFilterChatMessageOK creates a AdminFilterChatMessageOK with default headers values

func (*AdminFilterChatMessageOK) Error

func (o *AdminFilterChatMessageOK) Error() string

func (*AdminFilterChatMessageOK) GetPayload

func (*AdminFilterChatMessageOK) ToJSONString

func (o *AdminFilterChatMessageOK) ToJSONString() string

type AdminFilterChatMessageParams

type AdminFilterChatMessageParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsMessageRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Detail
	  To show what filter driver is used

	*/
	Detail *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminFilterChatMessageParams contains all the parameters to send to the API endpoint for the admin filter chat message operation typically these are written to a http.Request

func NewAdminFilterChatMessageParams

func NewAdminFilterChatMessageParams() *AdminFilterChatMessageParams

NewAdminFilterChatMessageParams creates a new AdminFilterChatMessageParams object with the default values initialized.

func NewAdminFilterChatMessageParamsWithContext

func NewAdminFilterChatMessageParamsWithContext(ctx context.Context) *AdminFilterChatMessageParams

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

func NewAdminFilterChatMessageParamsWithHTTPClient

func NewAdminFilterChatMessageParamsWithHTTPClient(client *http.Client) *AdminFilterChatMessageParams

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

func NewAdminFilterChatMessageParamsWithTimeout

func NewAdminFilterChatMessageParamsWithTimeout(timeout time.Duration) *AdminFilterChatMessageParams

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

func (*AdminFilterChatMessageParams) SetAuthInfoWriter

func (o *AdminFilterChatMessageParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetBody

SetBody adds the body to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetContext

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

SetContext adds the context to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetDetail

func (o *AdminFilterChatMessageParams) SetDetail(detail *bool)

SetDetail adds the detail to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetFlightId

func (o *AdminFilterChatMessageParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminFilterChatMessageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetHTTPClientTransport

func (o *AdminFilterChatMessageParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetNamespace

func (o *AdminFilterChatMessageParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin filter chat message params

func (*AdminFilterChatMessageParams) SetTimeout

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

SetTimeout adds the timeout to the admin filter chat message params

func (*AdminFilterChatMessageParams) WithBody

WithBody adds the body to the admin filter chat message params

func (*AdminFilterChatMessageParams) WithContext

WithContext adds the context to the admin filter chat message params

func (*AdminFilterChatMessageParams) WithDetail

WithDetail adds the detail to the admin filter chat message params

func (*AdminFilterChatMessageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin filter chat message params

func (*AdminFilterChatMessageParams) WithNamespace

WithNamespace adds the namespace to the admin filter chat message params

func (*AdminFilterChatMessageParams) WithTimeout

WithTimeout adds the timeout to the admin filter chat message params

func (*AdminFilterChatMessageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminFilterChatMessageReader

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

AdminFilterChatMessageReader is a Reader for the AdminFilterChatMessage structure.

func (*AdminFilterChatMessageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminFilterChatMessageUnauthorized

type AdminFilterChatMessageUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminFilterChatMessageUnauthorized handles this case with default header values.

Unauthorized

func NewAdminFilterChatMessageUnauthorized

func NewAdminFilterChatMessageUnauthorized() *AdminFilterChatMessageUnauthorized

NewAdminFilterChatMessageUnauthorized creates a AdminFilterChatMessageUnauthorized with default headers values

func (*AdminFilterChatMessageUnauthorized) Error

func (*AdminFilterChatMessageUnauthorized) GetPayload

func (*AdminFilterChatMessageUnauthorized) ToJSONString

func (o *AdminFilterChatMessageUnauthorized) ToJSONString() string

type AdminQueryTopicBadRequest

type AdminQueryTopicBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicBadRequest handles this case with default header values.

Bad Request

func NewAdminQueryTopicBadRequest

func NewAdminQueryTopicBadRequest() *AdminQueryTopicBadRequest

NewAdminQueryTopicBadRequest creates a AdminQueryTopicBadRequest with default headers values

func (*AdminQueryTopicBadRequest) Error

func (o *AdminQueryTopicBadRequest) Error() string

func (*AdminQueryTopicBadRequest) GetPayload

func (*AdminQueryTopicBadRequest) ToJSONString

func (o *AdminQueryTopicBadRequest) ToJSONString() string

type AdminQueryTopicForbidden

type AdminQueryTopicForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicForbidden handles this case with default header values.

Forbidden

func NewAdminQueryTopicForbidden

func NewAdminQueryTopicForbidden() *AdminQueryTopicForbidden

NewAdminQueryTopicForbidden creates a AdminQueryTopicForbidden with default headers values

func (*AdminQueryTopicForbidden) Error

func (o *AdminQueryTopicForbidden) Error() string

func (*AdminQueryTopicForbidden) GetPayload

func (*AdminQueryTopicForbidden) ToJSONString

func (o *AdminQueryTopicForbidden) ToJSONString() string

type AdminQueryTopicInternalServerError

type AdminQueryTopicInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryTopicInternalServerError

func NewAdminQueryTopicInternalServerError() *AdminQueryTopicInternalServerError

NewAdminQueryTopicInternalServerError creates a AdminQueryTopicInternalServerError with default headers values

func (*AdminQueryTopicInternalServerError) Error

func (*AdminQueryTopicInternalServerError) GetPayload

func (*AdminQueryTopicInternalServerError) ToJSONString

func (o *AdminQueryTopicInternalServerError) ToJSONString() string

type AdminQueryTopicLogBadRequest

type AdminQueryTopicLogBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicLogBadRequest handles this case with default header values.

Bad Request

func NewAdminQueryTopicLogBadRequest

func NewAdminQueryTopicLogBadRequest() *AdminQueryTopicLogBadRequest

NewAdminQueryTopicLogBadRequest creates a AdminQueryTopicLogBadRequest with default headers values

func (*AdminQueryTopicLogBadRequest) Error

func (*AdminQueryTopicLogBadRequest) GetPayload

func (*AdminQueryTopicLogBadRequest) ToJSONString

func (o *AdminQueryTopicLogBadRequest) ToJSONString() string

type AdminQueryTopicLogForbidden

type AdminQueryTopicLogForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicLogForbidden handles this case with default header values.

Forbidden

func NewAdminQueryTopicLogForbidden

func NewAdminQueryTopicLogForbidden() *AdminQueryTopicLogForbidden

NewAdminQueryTopicLogForbidden creates a AdminQueryTopicLogForbidden with default headers values

func (*AdminQueryTopicLogForbidden) Error

func (*AdminQueryTopicLogForbidden) GetPayload

func (*AdminQueryTopicLogForbidden) ToJSONString

func (o *AdminQueryTopicLogForbidden) ToJSONString() string

type AdminQueryTopicLogInternalServerError

type AdminQueryTopicLogInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicLogInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryTopicLogInternalServerError

func NewAdminQueryTopicLogInternalServerError() *AdminQueryTopicLogInternalServerError

NewAdminQueryTopicLogInternalServerError creates a AdminQueryTopicLogInternalServerError with default headers values

func (*AdminQueryTopicLogInternalServerError) Error

func (*AdminQueryTopicLogInternalServerError) GetPayload

func (*AdminQueryTopicLogInternalServerError) ToJSONString

type AdminQueryTopicLogOK

type AdminQueryTopicLogOK struct {
	Payload *chatclientmodels.ModelsTopicLogWithPaginationResponse
}

AdminQueryTopicLogOK handles this case with default header values.

OK

func NewAdminQueryTopicLogOK

func NewAdminQueryTopicLogOK() *AdminQueryTopicLogOK

NewAdminQueryTopicLogOK creates a AdminQueryTopicLogOK with default headers values

func (*AdminQueryTopicLogOK) Error

func (o *AdminQueryTopicLogOK) Error() string

func (*AdminQueryTopicLogOK) GetPayload

func (*AdminQueryTopicLogOK) ToJSONString

func (o *AdminQueryTopicLogOK) ToJSONString() string

type AdminQueryTopicLogParams

type AdminQueryTopicLogParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*EndCreatedAt
	  end date

	*/
	EndCreatedAt *int64
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*SenderUserID
	  senderUserId (actor, can be admin or the user itself)

	*/
	SenderUserID *string
	/*StartCreatedAt
	  start date

	*/
	StartCreatedAt *int64
	/*TopicID
	  topicId

	*/
	TopicID *string
	/*TopicIds
	  topicIds

	*/
	TopicIds []string
	/*UserID
	  userId

	*/
	UserID *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
}

AdminQueryTopicLogParams contains all the parameters to send to the API endpoint for the admin query topic log operation typically these are written to a http.Request

func NewAdminQueryTopicLogParams

func NewAdminQueryTopicLogParams() *AdminQueryTopicLogParams

NewAdminQueryTopicLogParams creates a new AdminQueryTopicLogParams object with the default values initialized.

func NewAdminQueryTopicLogParamsWithContext

func NewAdminQueryTopicLogParamsWithContext(ctx context.Context) *AdminQueryTopicLogParams

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

func NewAdminQueryTopicLogParamsWithHTTPClient

func NewAdminQueryTopicLogParamsWithHTTPClient(client *http.Client) *AdminQueryTopicLogParams

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

func NewAdminQueryTopicLogParamsWithTimeout

func NewAdminQueryTopicLogParamsWithTimeout(timeout time.Duration) *AdminQueryTopicLogParams

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

func (*AdminQueryTopicLogParams) SetAuthInfoWriter

func (o *AdminQueryTopicLogParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin query topic log params

func (*AdminQueryTopicLogParams) SetContext

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

SetContext adds the context to the admin query topic log params

func (*AdminQueryTopicLogParams) SetEndCreatedAt

func (o *AdminQueryTopicLogParams) SetEndCreatedAt(endCreatedAt *int64)

SetEndCreatedAt adds the endCreatedAt to the admin query topic log params

func (*AdminQueryTopicLogParams) SetFlightId

func (o *AdminQueryTopicLogParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminQueryTopicLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query topic log params

func (*AdminQueryTopicLogParams) SetHTTPClientTransport

func (o *AdminQueryTopicLogParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin query topic log params

func (*AdminQueryTopicLogParams) SetLimit

func (o *AdminQueryTopicLogParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin query topic log params

func (*AdminQueryTopicLogParams) SetNamespace

func (o *AdminQueryTopicLogParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query topic log params

func (*AdminQueryTopicLogParams) SetOffset

func (o *AdminQueryTopicLogParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin query topic log params

func (*AdminQueryTopicLogParams) SetSenderUserID

func (o *AdminQueryTopicLogParams) SetSenderUserID(senderUserID *string)

SetSenderUserID adds the senderUserId to the admin query topic log params

func (*AdminQueryTopicLogParams) SetStartCreatedAt

func (o *AdminQueryTopicLogParams) SetStartCreatedAt(startCreatedAt *int64)

SetStartCreatedAt adds the startCreatedAt to the admin query topic log params

func (*AdminQueryTopicLogParams) SetTimeout

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

SetTimeout adds the timeout to the admin query topic log params

func (*AdminQueryTopicLogParams) SetTopicID

func (o *AdminQueryTopicLogParams) SetTopicID(topicID *string)

SetTopicID adds the topicId to the admin query topic log params

func (*AdminQueryTopicLogParams) SetTopicIds

func (o *AdminQueryTopicLogParams) SetTopicIds(topicIds []string)

SetTopicIds adds the topicIds to the admin query topic log params

func (*AdminQueryTopicLogParams) SetUserID

func (o *AdminQueryTopicLogParams) SetUserID(userID *string)

SetUserID adds the userId to the admin query topic log params

func (*AdminQueryTopicLogParams) WithContext

WithContext adds the context to the admin query topic log params

func (*AdminQueryTopicLogParams) WithEndCreatedAt

func (o *AdminQueryTopicLogParams) WithEndCreatedAt(endCreatedAt *int64) *AdminQueryTopicLogParams

WithEndCreatedAt adds the endCreatedAt to the admin query topic log params

func (*AdminQueryTopicLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin query topic log params

func (*AdminQueryTopicLogParams) WithLimit

WithLimit adds the limit to the admin query topic log params

func (*AdminQueryTopicLogParams) WithNamespace

func (o *AdminQueryTopicLogParams) WithNamespace(namespace string) *AdminQueryTopicLogParams

WithNamespace adds the namespace to the admin query topic log params

func (*AdminQueryTopicLogParams) WithOffset

WithOffset adds the offset to the admin query topic log params

func (*AdminQueryTopicLogParams) WithSenderUserID

func (o *AdminQueryTopicLogParams) WithSenderUserID(senderUserID *string) *AdminQueryTopicLogParams

WithSenderUserID adds the senderUserID to the admin query topic log params

func (*AdminQueryTopicLogParams) WithStartCreatedAt

func (o *AdminQueryTopicLogParams) WithStartCreatedAt(startCreatedAt *int64) *AdminQueryTopicLogParams

WithStartCreatedAt adds the startCreatedAt to the admin query topic log params

func (*AdminQueryTopicLogParams) WithTimeout

WithTimeout adds the timeout to the admin query topic log params

func (*AdminQueryTopicLogParams) WithTopicID

func (o *AdminQueryTopicLogParams) WithTopicID(topicID *string) *AdminQueryTopicLogParams

WithTopicID adds the topicID to the admin query topic log params

func (*AdminQueryTopicLogParams) WithTopicIds

func (o *AdminQueryTopicLogParams) WithTopicIds(topicIds []string) *AdminQueryTopicLogParams

WithTopicIds adds the topicIds to the admin query topic log params

func (*AdminQueryTopicLogParams) WithUserID

WithUserID adds the userID to the admin query topic log params

func (*AdminQueryTopicLogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminQueryTopicLogReader

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

AdminQueryTopicLogReader is a Reader for the AdminQueryTopicLog structure.

func (*AdminQueryTopicLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQueryTopicLogUnauthorized

type AdminQueryTopicLogUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicLogUnauthorized handles this case with default header values.

Unauthorized

func NewAdminQueryTopicLogUnauthorized

func NewAdminQueryTopicLogUnauthorized() *AdminQueryTopicLogUnauthorized

NewAdminQueryTopicLogUnauthorized creates a AdminQueryTopicLogUnauthorized with default headers values

func (*AdminQueryTopicLogUnauthorized) Error

func (*AdminQueryTopicLogUnauthorized) GetPayload

func (*AdminQueryTopicLogUnauthorized) ToJSONString

func (o *AdminQueryTopicLogUnauthorized) ToJSONString() string

type AdminQueryTopicOK

type AdminQueryTopicOK struct {
	Payload []*chatclientmodels.ModelsTopicInfo
}

AdminQueryTopicOK handles this case with default header values.

OK

func NewAdminQueryTopicOK

func NewAdminQueryTopicOK() *AdminQueryTopicOK

NewAdminQueryTopicOK creates a AdminQueryTopicOK with default headers values

func (*AdminQueryTopicOK) Error

func (o *AdminQueryTopicOK) Error() string

func (*AdminQueryTopicOK) GetPayload

func (*AdminQueryTopicOK) ToJSONString

func (o *AdminQueryTopicOK) ToJSONString() string

type AdminQueryTopicParams

type AdminQueryTopicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*IncludeMembers
	  include topic's members

	*/
	IncludeMembers *bool
	/*IncludePastMembers
	  include past members (user that had left topic)

	*/
	IncludePastMembers *bool
	/*IncludePastTopics
	  include topic that has been removed.<br/><b>NOTE:</b> only soft deleted topics are available

	*/
	IncludePastTopics *bool
	/*Limit
	  default: 100

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*Topic
	  topic

	*/
	Topic []string
	/*TopicSubType
	  topicSubType

	*/
	TopicSubType *string
	/*TopicType
	  topicType

	*/
	TopicType *string
	/*UserID
	  userId

	*/
	UserID *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
}

AdminQueryTopicParams contains all the parameters to send to the API endpoint for the admin query topic operation typically these are written to a http.Request

func NewAdminQueryTopicParams

func NewAdminQueryTopicParams() *AdminQueryTopicParams

NewAdminQueryTopicParams creates a new AdminQueryTopicParams object with the default values initialized.

func NewAdminQueryTopicParamsWithContext

func NewAdminQueryTopicParamsWithContext(ctx context.Context) *AdminQueryTopicParams

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

func NewAdminQueryTopicParamsWithHTTPClient

func NewAdminQueryTopicParamsWithHTTPClient(client *http.Client) *AdminQueryTopicParams

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

func NewAdminQueryTopicParamsWithTimeout

func NewAdminQueryTopicParamsWithTimeout(timeout time.Duration) *AdminQueryTopicParams

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

func (*AdminQueryTopicParams) SetAuthInfoWriter

func (o *AdminQueryTopicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin query topic params

func (*AdminQueryTopicParams) SetContext

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

SetContext adds the context to the admin query topic params

func (*AdminQueryTopicParams) SetFlightId

func (o *AdminQueryTopicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminQueryTopicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query topic params

func (*AdminQueryTopicParams) SetHTTPClientTransport

func (o *AdminQueryTopicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin query topic params

func (*AdminQueryTopicParams) SetIncludeMembers

func (o *AdminQueryTopicParams) SetIncludeMembers(includeMembers *bool)

SetIncludeMembers adds the includeMembers to the admin query topic params

func (*AdminQueryTopicParams) SetIncludePastMembers

func (o *AdminQueryTopicParams) SetIncludePastMembers(includePastMembers *bool)

SetIncludePastMembers adds the includePastMembers to the admin query topic params

func (*AdminQueryTopicParams) SetIncludePastTopics

func (o *AdminQueryTopicParams) SetIncludePastTopics(includePastTopics *bool)

SetIncludePastTopics adds the includePastTopics to the admin query topic params

func (*AdminQueryTopicParams) SetLimit

func (o *AdminQueryTopicParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin query topic params

func (*AdminQueryTopicParams) SetNamespace

func (o *AdminQueryTopicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query topic params

func (*AdminQueryTopicParams) SetOffset

func (o *AdminQueryTopicParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin query topic params

func (*AdminQueryTopicParams) SetTimeout

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

SetTimeout adds the timeout to the admin query topic params

func (*AdminQueryTopicParams) SetTopic

func (o *AdminQueryTopicParams) SetTopic(topic []string)

SetTopic adds the topic to the admin query topic params

func (*AdminQueryTopicParams) SetTopicSubType

func (o *AdminQueryTopicParams) SetTopicSubType(topicSubType *string)

SetTopicSubType adds the topicSubType to the admin query topic params

func (*AdminQueryTopicParams) SetTopicType

func (o *AdminQueryTopicParams) SetTopicType(topicType *string)

SetTopicType adds the topicType to the admin query topic params

func (*AdminQueryTopicParams) SetUserID

func (o *AdminQueryTopicParams) SetUserID(userID *string)

SetUserID adds the userId to the admin query topic params

func (*AdminQueryTopicParams) WithContext

WithContext adds the context to the admin query topic params

func (*AdminQueryTopicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin query topic params

func (*AdminQueryTopicParams) WithIncludeMembers

func (o *AdminQueryTopicParams) WithIncludeMembers(includeMembers *bool) *AdminQueryTopicParams

WithIncludeMembers adds the includeMembers to the admin query topic params

func (*AdminQueryTopicParams) WithIncludePastMembers

func (o *AdminQueryTopicParams) WithIncludePastMembers(includePastMembers *bool) *AdminQueryTopicParams

WithIncludePastMembers adds the includePastMembers to the admin query topic params

func (*AdminQueryTopicParams) WithIncludePastTopics

func (o *AdminQueryTopicParams) WithIncludePastTopics(includePastTopics *bool) *AdminQueryTopicParams

WithIncludePastTopics adds the includePastTopics to the admin query topic params

func (*AdminQueryTopicParams) WithLimit

func (o *AdminQueryTopicParams) WithLimit(limit *int64) *AdminQueryTopicParams

WithLimit adds the limit to the admin query topic params

func (*AdminQueryTopicParams) WithNamespace

func (o *AdminQueryTopicParams) WithNamespace(namespace string) *AdminQueryTopicParams

WithNamespace adds the namespace to the admin query topic params

func (*AdminQueryTopicParams) WithOffset

func (o *AdminQueryTopicParams) WithOffset(offset *int64) *AdminQueryTopicParams

WithOffset adds the offset to the admin query topic params

func (*AdminQueryTopicParams) WithTimeout

func (o *AdminQueryTopicParams) WithTimeout(timeout time.Duration) *AdminQueryTopicParams

WithTimeout adds the timeout to the admin query topic params

func (*AdminQueryTopicParams) WithTopic

func (o *AdminQueryTopicParams) WithTopic(topic []string) *AdminQueryTopicParams

WithTopic adds the topic to the admin query topic params

func (*AdminQueryTopicParams) WithTopicSubType

func (o *AdminQueryTopicParams) WithTopicSubType(topicSubType *string) *AdminQueryTopicParams

WithTopicSubType adds the topicSubType to the admin query topic params

func (*AdminQueryTopicParams) WithTopicType

func (o *AdminQueryTopicParams) WithTopicType(topicType *string) *AdminQueryTopicParams

WithTopicType adds the topicType to the admin query topic params

func (*AdminQueryTopicParams) WithUserID

func (o *AdminQueryTopicParams) WithUserID(userID *string) *AdminQueryTopicParams

WithUserID adds the userID to the admin query topic params

func (*AdminQueryTopicParams) WriteToRequest

func (o *AdminQueryTopicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminQueryTopicReader

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

AdminQueryTopicReader is a Reader for the AdminQueryTopic structure.

func (*AdminQueryTopicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQueryTopicUnauthorized

type AdminQueryTopicUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryTopicUnauthorized handles this case with default header values.

Unauthorized

func NewAdminQueryTopicUnauthorized

func NewAdminQueryTopicUnauthorized() *AdminQueryTopicUnauthorized

NewAdminQueryTopicUnauthorized creates a AdminQueryTopicUnauthorized with default headers values

func (*AdminQueryTopicUnauthorized) Error

func (*AdminQueryTopicUnauthorized) GetPayload

func (*AdminQueryTopicUnauthorized) ToJSONString

func (o *AdminQueryTopicUnauthorized) ToJSONString() string

type AdminQueryUsersTopicBadRequest

type AdminQueryUsersTopicBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryUsersTopicBadRequest handles this case with default header values.

Bad Request

func NewAdminQueryUsersTopicBadRequest

func NewAdminQueryUsersTopicBadRequest() *AdminQueryUsersTopicBadRequest

NewAdminQueryUsersTopicBadRequest creates a AdminQueryUsersTopicBadRequest with default headers values

func (*AdminQueryUsersTopicBadRequest) Error

func (*AdminQueryUsersTopicBadRequest) GetPayload

func (*AdminQueryUsersTopicBadRequest) ToJSONString

func (o *AdminQueryUsersTopicBadRequest) ToJSONString() string

type AdminQueryUsersTopicForbidden

type AdminQueryUsersTopicForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryUsersTopicForbidden handles this case with default header values.

Forbidden

func NewAdminQueryUsersTopicForbidden

func NewAdminQueryUsersTopicForbidden() *AdminQueryUsersTopicForbidden

NewAdminQueryUsersTopicForbidden creates a AdminQueryUsersTopicForbidden with default headers values

func (*AdminQueryUsersTopicForbidden) Error

func (*AdminQueryUsersTopicForbidden) GetPayload

func (*AdminQueryUsersTopicForbidden) ToJSONString

func (o *AdminQueryUsersTopicForbidden) ToJSONString() string

type AdminQueryUsersTopicInternalServerError

type AdminQueryUsersTopicInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryUsersTopicInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryUsersTopicInternalServerError

func NewAdminQueryUsersTopicInternalServerError() *AdminQueryUsersTopicInternalServerError

NewAdminQueryUsersTopicInternalServerError creates a AdminQueryUsersTopicInternalServerError with default headers values

func (*AdminQueryUsersTopicInternalServerError) Error

func (*AdminQueryUsersTopicInternalServerError) GetPayload

func (*AdminQueryUsersTopicInternalServerError) ToJSONString

type AdminQueryUsersTopicOK

type AdminQueryUsersTopicOK struct {
	Payload *chatclientmodels.ModelsTopicLogWithPaginationResponse
}

AdminQueryUsersTopicOK handles this case with default header values.

OK

func NewAdminQueryUsersTopicOK

func NewAdminQueryUsersTopicOK() *AdminQueryUsersTopicOK

NewAdminQueryUsersTopicOK creates a AdminQueryUsersTopicOK with default headers values

func (*AdminQueryUsersTopicOK) Error

func (o *AdminQueryUsersTopicOK) Error() string

func (*AdminQueryUsersTopicOK) GetPayload

func (*AdminQueryUsersTopicOK) ToJSONString

func (o *AdminQueryUsersTopicOK) ToJSONString() string

type AdminQueryUsersTopicParams

type AdminQueryUsersTopicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*IncludePastTopics
	  when true will include topics that user already left

	*/
	IncludePastTopics *bool
	/*Limit
	  default: 100

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*TopicSubType
	  topicSubType

	*/
	TopicSubType *string
	/*TopicType
	  topicType

	*/
	TopicType *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
}

AdminQueryUsersTopicParams contains all the parameters to send to the API endpoint for the admin query users topic operation typically these are written to a http.Request

func NewAdminQueryUsersTopicParams

func NewAdminQueryUsersTopicParams() *AdminQueryUsersTopicParams

NewAdminQueryUsersTopicParams creates a new AdminQueryUsersTopicParams object with the default values initialized.

func NewAdminQueryUsersTopicParamsWithContext

func NewAdminQueryUsersTopicParamsWithContext(ctx context.Context) *AdminQueryUsersTopicParams

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

func NewAdminQueryUsersTopicParamsWithHTTPClient

func NewAdminQueryUsersTopicParamsWithHTTPClient(client *http.Client) *AdminQueryUsersTopicParams

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

func NewAdminQueryUsersTopicParamsWithTimeout

func NewAdminQueryUsersTopicParamsWithTimeout(timeout time.Duration) *AdminQueryUsersTopicParams

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

func (*AdminQueryUsersTopicParams) SetAuthInfoWriter

func (o *AdminQueryUsersTopicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetContext

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

SetContext adds the context to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetFlightId

func (o *AdminQueryUsersTopicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminQueryUsersTopicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetHTTPClientTransport

func (o *AdminQueryUsersTopicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetIncludePastTopics

func (o *AdminQueryUsersTopicParams) SetIncludePastTopics(includePastTopics *bool)

SetIncludePastTopics adds the includePastTopics to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetLimit

func (o *AdminQueryUsersTopicParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetNamespace

func (o *AdminQueryUsersTopicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetOffset

func (o *AdminQueryUsersTopicParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetTimeout

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

SetTimeout adds the timeout to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetTopicSubType

func (o *AdminQueryUsersTopicParams) SetTopicSubType(topicSubType *string)

SetTopicSubType adds the topicSubType to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetTopicType

func (o *AdminQueryUsersTopicParams) SetTopicType(topicType *string)

SetTopicType adds the topicType to the admin query users topic params

func (*AdminQueryUsersTopicParams) SetUserID

func (o *AdminQueryUsersTopicParams) SetUserID(userID string)

SetUserID adds the userId to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithContext

WithContext adds the context to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithIncludePastTopics

func (o *AdminQueryUsersTopicParams) WithIncludePastTopics(includePastTopics *bool) *AdminQueryUsersTopicParams

WithIncludePastTopics adds the includePastTopics to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithLimit

WithLimit adds the limit to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithNamespace

func (o *AdminQueryUsersTopicParams) WithNamespace(namespace string) *AdminQueryUsersTopicParams

WithNamespace adds the namespace to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithOffset

WithOffset adds the offset to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithTimeout

WithTimeout adds the timeout to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithTopicSubType

func (o *AdminQueryUsersTopicParams) WithTopicSubType(topicSubType *string) *AdminQueryUsersTopicParams

WithTopicSubType adds the topicSubType to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithTopicType

func (o *AdminQueryUsersTopicParams) WithTopicType(topicType *string) *AdminQueryUsersTopicParams

WithTopicType adds the topicType to the admin query users topic params

func (*AdminQueryUsersTopicParams) WithUserID

WithUserID adds the userID to the admin query users topic params

func (*AdminQueryUsersTopicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminQueryUsersTopicReader

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

AdminQueryUsersTopicReader is a Reader for the AdminQueryUsersTopic structure.

func (*AdminQueryUsersTopicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQueryUsersTopicUnauthorized

type AdminQueryUsersTopicUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminQueryUsersTopicUnauthorized handles this case with default header values.

Unauthorized

func NewAdminQueryUsersTopicUnauthorized

func NewAdminQueryUsersTopicUnauthorized() *AdminQueryUsersTopicUnauthorized

NewAdminQueryUsersTopicUnauthorized creates a AdminQueryUsersTopicUnauthorized with default headers values

func (*AdminQueryUsersTopicUnauthorized) Error

func (*AdminQueryUsersTopicUnauthorized) GetPayload

func (*AdminQueryUsersTopicUnauthorized) ToJSONString

func (o *AdminQueryUsersTopicUnauthorized) ToJSONString() string

type AdminRemoveTopicMemberOK

type AdminRemoveTopicMemberOK struct {
	Payload *chatclientmodels.MessageActionAddUserToTopicResult
}

AdminRemoveTopicMemberOK handles this case with default header values.

func NewAdminRemoveTopicMemberOK

func NewAdminRemoveTopicMemberOK() *AdminRemoveTopicMemberOK

NewAdminRemoveTopicMemberOK creates a AdminRemoveTopicMemberOK with default headers values

func (*AdminRemoveTopicMemberOK) Error

func (o *AdminRemoveTopicMemberOK) Error() string

func (*AdminRemoveTopicMemberOK) GetPayload

func (*AdminRemoveTopicMemberOK) ToJSONString

func (o *AdminRemoveTopicMemberOK) ToJSONString() string

type AdminRemoveTopicMemberParams

type AdminRemoveTopicMemberParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that will removed user from

	*/
	Topic string
	/*UserID
	  user ID that will be removed from topic

	*/
	UserID 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
}

AdminRemoveTopicMemberParams contains all the parameters to send to the API endpoint for the admin remove topic member operation typically these are written to a http.Request

func NewAdminRemoveTopicMemberParams

func NewAdminRemoveTopicMemberParams() *AdminRemoveTopicMemberParams

NewAdminRemoveTopicMemberParams creates a new AdminRemoveTopicMemberParams object with the default values initialized.

func NewAdminRemoveTopicMemberParamsWithContext

func NewAdminRemoveTopicMemberParamsWithContext(ctx context.Context) *AdminRemoveTopicMemberParams

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

func NewAdminRemoveTopicMemberParamsWithHTTPClient

func NewAdminRemoveTopicMemberParamsWithHTTPClient(client *http.Client) *AdminRemoveTopicMemberParams

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

func NewAdminRemoveTopicMemberParamsWithTimeout

func NewAdminRemoveTopicMemberParamsWithTimeout(timeout time.Duration) *AdminRemoveTopicMemberParams

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

func (*AdminRemoveTopicMemberParams) SetAuthInfoWriter

func (o *AdminRemoveTopicMemberParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetContext

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

SetContext adds the context to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetFlightId

func (o *AdminRemoveTopicMemberParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminRemoveTopicMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetHTTPClientTransport

func (o *AdminRemoveTopicMemberParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetNamespace

func (o *AdminRemoveTopicMemberParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetTimeout

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

SetTimeout adds the timeout to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetTopic

func (o *AdminRemoveTopicMemberParams) SetTopic(topic string)

SetTopic adds the topic to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) SetUserID

func (o *AdminRemoveTopicMemberParams) SetUserID(userID string)

SetUserID adds the userId to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WithContext

WithContext adds the context to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WithNamespace

WithNamespace adds the namespace to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WithTimeout

WithTimeout adds the timeout to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WithTopic

WithTopic adds the topic to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WithUserID

WithUserID adds the userID to the admin remove topic member params

func (*AdminRemoveTopicMemberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminRemoveTopicMemberReader

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

AdminRemoveTopicMemberReader is a Reader for the AdminRemoveTopicMember structure.

func (*AdminRemoveTopicMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSendChatBadRequest

type AdminSendChatBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminSendChatBadRequest handles this case with default header values.

Bad Request

func NewAdminSendChatBadRequest

func NewAdminSendChatBadRequest() *AdminSendChatBadRequest

NewAdminSendChatBadRequest creates a AdminSendChatBadRequest with default headers values

func (*AdminSendChatBadRequest) Error

func (o *AdminSendChatBadRequest) Error() string

func (*AdminSendChatBadRequest) GetPayload

func (*AdminSendChatBadRequest) ToJSONString

func (o *AdminSendChatBadRequest) ToJSONString() string

type AdminSendChatForbidden

type AdminSendChatForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminSendChatForbidden handles this case with default header values.

Forbidden

func NewAdminSendChatForbidden

func NewAdminSendChatForbidden() *AdminSendChatForbidden

NewAdminSendChatForbidden creates a AdminSendChatForbidden with default headers values

func (*AdminSendChatForbidden) Error

func (o *AdminSendChatForbidden) Error() string

func (*AdminSendChatForbidden) GetPayload

func (*AdminSendChatForbidden) ToJSONString

func (o *AdminSendChatForbidden) ToJSONString() string

type AdminSendChatInternalServerError

type AdminSendChatInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminSendChatInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminSendChatInternalServerError

func NewAdminSendChatInternalServerError() *AdminSendChatInternalServerError

NewAdminSendChatInternalServerError creates a AdminSendChatInternalServerError with default headers values

func (*AdminSendChatInternalServerError) Error

func (*AdminSendChatInternalServerError) GetPayload

func (*AdminSendChatInternalServerError) ToJSONString

func (o *AdminSendChatInternalServerError) ToJSONString() string

type AdminSendChatOK

type AdminSendChatOK struct {
	Payload []*chatclientmodels.ModelsChatMessageResponse
}

AdminSendChatOK handles this case with default header values.

OK

func NewAdminSendChatOK

func NewAdminSendChatOK() *AdminSendChatOK

NewAdminSendChatOK creates a AdminSendChatOK with default headers values

func (*AdminSendChatOK) Error

func (o *AdminSendChatOK) Error() string

func (*AdminSendChatOK) GetPayload

func (*AdminSendChatOK) ToJSONString

func (o *AdminSendChatOK) ToJSONString() string

type AdminSendChatParams

type AdminSendChatParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APISendChatParams
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	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
}

AdminSendChatParams contains all the parameters to send to the API endpoint for the admin send chat operation typically these are written to a http.Request

func NewAdminSendChatParams

func NewAdminSendChatParams() *AdminSendChatParams

NewAdminSendChatParams creates a new AdminSendChatParams object with the default values initialized.

func NewAdminSendChatParamsWithContext

func NewAdminSendChatParamsWithContext(ctx context.Context) *AdminSendChatParams

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

func NewAdminSendChatParamsWithHTTPClient

func NewAdminSendChatParamsWithHTTPClient(client *http.Client) *AdminSendChatParams

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

func NewAdminSendChatParamsWithTimeout

func NewAdminSendChatParamsWithTimeout(timeout time.Duration) *AdminSendChatParams

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

func (*AdminSendChatParams) SetAuthInfoWriter

func (o *AdminSendChatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin send chat params

func (*AdminSendChatParams) SetBody

SetBody adds the body to the admin send chat params

func (*AdminSendChatParams) SetContext

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

SetContext adds the context to the admin send chat params

func (*AdminSendChatParams) SetFlightId

func (o *AdminSendChatParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminSendChatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin send chat params

func (*AdminSendChatParams) SetHTTPClientTransport

func (o *AdminSendChatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin send chat params

func (*AdminSendChatParams) SetNamespace

func (o *AdminSendChatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin send chat params

func (*AdminSendChatParams) SetTimeout

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

SetTimeout adds the timeout to the admin send chat params

func (*AdminSendChatParams) SetTopic

func (o *AdminSendChatParams) SetTopic(topic string)

SetTopic adds the topic to the admin send chat params

func (*AdminSendChatParams) WithBody

WithBody adds the body to the admin send chat params

func (*AdminSendChatParams) WithContext

WithContext adds the context to the admin send chat params

func (*AdminSendChatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin send chat params

func (*AdminSendChatParams) WithNamespace

func (o *AdminSendChatParams) WithNamespace(namespace string) *AdminSendChatParams

WithNamespace adds the namespace to the admin send chat params

func (*AdminSendChatParams) WithTimeout

func (o *AdminSendChatParams) WithTimeout(timeout time.Duration) *AdminSendChatParams

WithTimeout adds the timeout to the admin send chat params

func (*AdminSendChatParams) WithTopic

func (o *AdminSendChatParams) WithTopic(topic string) *AdminSendChatParams

WithTopic adds the topic to the admin send chat params

func (*AdminSendChatParams) WriteToRequest

func (o *AdminSendChatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminSendChatReader

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

AdminSendChatReader is a Reader for the AdminSendChat structure.

func (*AdminSendChatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSendChatUnauthorized

type AdminSendChatUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminSendChatUnauthorized handles this case with default header values.

Unauthorized

func NewAdminSendChatUnauthorized

func NewAdminSendChatUnauthorized() *AdminSendChatUnauthorized

NewAdminSendChatUnauthorized creates a AdminSendChatUnauthorized with default headers values

func (*AdminSendChatUnauthorized) Error

func (o *AdminSendChatUnauthorized) Error() string

func (*AdminSendChatUnauthorized) GetPayload

func (*AdminSendChatUnauthorized) ToJSONString

func (o *AdminSendChatUnauthorized) ToJSONString() string

type AdminTopicChatHistoryBadRequest

type AdminTopicChatHistoryBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicChatHistoryBadRequest handles this case with default header values.

Bad Request

func NewAdminTopicChatHistoryBadRequest

func NewAdminTopicChatHistoryBadRequest() *AdminTopicChatHistoryBadRequest

NewAdminTopicChatHistoryBadRequest creates a AdminTopicChatHistoryBadRequest with default headers values

func (*AdminTopicChatHistoryBadRequest) Error

func (*AdminTopicChatHistoryBadRequest) GetPayload

func (*AdminTopicChatHistoryBadRequest) ToJSONString

func (o *AdminTopicChatHistoryBadRequest) ToJSONString() string

type AdminTopicChatHistoryForbidden

type AdminTopicChatHistoryForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicChatHistoryForbidden handles this case with default header values.

Forbidden

func NewAdminTopicChatHistoryForbidden

func NewAdminTopicChatHistoryForbidden() *AdminTopicChatHistoryForbidden

NewAdminTopicChatHistoryForbidden creates a AdminTopicChatHistoryForbidden with default headers values

func (*AdminTopicChatHistoryForbidden) Error

func (*AdminTopicChatHistoryForbidden) GetPayload

func (*AdminTopicChatHistoryForbidden) ToJSONString

func (o *AdminTopicChatHistoryForbidden) ToJSONString() string

type AdminTopicChatHistoryInternalServerError

type AdminTopicChatHistoryInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicChatHistoryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminTopicChatHistoryInternalServerError

func NewAdminTopicChatHistoryInternalServerError() *AdminTopicChatHistoryInternalServerError

NewAdminTopicChatHistoryInternalServerError creates a AdminTopicChatHistoryInternalServerError with default headers values

func (*AdminTopicChatHistoryInternalServerError) Error

func (*AdminTopicChatHistoryInternalServerError) GetPayload

func (*AdminTopicChatHistoryInternalServerError) ToJSONString

type AdminTopicChatHistoryOK

type AdminTopicChatHistoryOK struct {
	Payload *chatclientmodels.ModelsChatMessageWithPaginationResponse
}

AdminTopicChatHistoryOK handles this case with default header values.

OK

func NewAdminTopicChatHistoryOK

func NewAdminTopicChatHistoryOK() *AdminTopicChatHistoryOK

NewAdminTopicChatHistoryOK creates a AdminTopicChatHistoryOK with default headers values

func (*AdminTopicChatHistoryOK) Error

func (o *AdminTopicChatHistoryOK) Error() string

func (*AdminTopicChatHistoryOK) GetPayload

func (*AdminTopicChatHistoryOK) ToJSONString

func (o *AdminTopicChatHistoryOK) ToJSONString() string

type AdminTopicChatHistoryParams

type AdminTopicChatHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	Topic string
	/*EndCreatedAt
	  end date

	*/
	EndCreatedAt *int64
	/*Keyword
	  keyword containing in message

	*/
	Keyword *string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*Order
	  anyof: createdAt:asc / createdAt:desc

	*/
	Order *string
	/*SenderUserID
	  sender user ID

	*/
	SenderUserID *string
	/*ShardID
	  shard id

	*/
	ShardID *string
	/*StartCreatedAt
	  start date

	*/
	StartCreatedAt *int64
	/*Unfiltered
	  unfiltered chat messages

	*/
	Unfiltered *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminTopicChatHistoryParams contains all the parameters to send to the API endpoint for the admin topic chat history operation typically these are written to a http.Request

func NewAdminTopicChatHistoryParams

func NewAdminTopicChatHistoryParams() *AdminTopicChatHistoryParams

NewAdminTopicChatHistoryParams creates a new AdminTopicChatHistoryParams object with the default values initialized.

func NewAdminTopicChatHistoryParamsWithContext

func NewAdminTopicChatHistoryParamsWithContext(ctx context.Context) *AdminTopicChatHistoryParams

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

func NewAdminTopicChatHistoryParamsWithHTTPClient

func NewAdminTopicChatHistoryParamsWithHTTPClient(client *http.Client) *AdminTopicChatHistoryParams

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

func NewAdminTopicChatHistoryParamsWithTimeout

func NewAdminTopicChatHistoryParamsWithTimeout(timeout time.Duration) *AdminTopicChatHistoryParams

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

func (*AdminTopicChatHistoryParams) SetAuthInfoWriter

func (o *AdminTopicChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetContext

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

SetContext adds the context to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetEndCreatedAt

func (o *AdminTopicChatHistoryParams) SetEndCreatedAt(endCreatedAt *int64)

SetEndCreatedAt adds the endCreatedAt to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetFlightId

func (o *AdminTopicChatHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminTopicChatHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetHTTPClientTransport

func (o *AdminTopicChatHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetKeyword

func (o *AdminTopicChatHistoryParams) SetKeyword(keyword *string)

SetKeyword adds the keyword to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetLimit

func (o *AdminTopicChatHistoryParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetNamespace

func (o *AdminTopicChatHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetOffset

func (o *AdminTopicChatHistoryParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetOrder

func (o *AdminTopicChatHistoryParams) SetOrder(order *string)

SetOrder adds the order to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetSenderUserID

func (o *AdminTopicChatHistoryParams) SetSenderUserID(senderUserID *string)

SetSenderUserID adds the senderUserId to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetShardID

func (o *AdminTopicChatHistoryParams) SetShardID(shardID *string)

SetShardID adds the shardId to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetStartCreatedAt

func (o *AdminTopicChatHistoryParams) SetStartCreatedAt(startCreatedAt *int64)

SetStartCreatedAt adds the startCreatedAt to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetTopic

func (o *AdminTopicChatHistoryParams) SetTopic(topic string)

SetTopic adds the topic to the admin topic chat history params

func (*AdminTopicChatHistoryParams) SetUnfiltered

func (o *AdminTopicChatHistoryParams) SetUnfiltered(unfiltered *bool)

SetUnfiltered adds the unfiltered to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithContext

WithContext adds the context to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithEndCreatedAt

func (o *AdminTopicChatHistoryParams) WithEndCreatedAt(endCreatedAt *int64) *AdminTopicChatHistoryParams

WithEndCreatedAt adds the endCreatedAt to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithKeyword

WithKeyword adds the keyword to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithLimit

WithLimit adds the limit to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithNamespace

func (o *AdminTopicChatHistoryParams) WithNamespace(namespace string) *AdminTopicChatHistoryParams

WithNamespace adds the namespace to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithOffset

WithOffset adds the offset to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithOrder

WithOrder adds the order to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithSenderUserID

func (o *AdminTopicChatHistoryParams) WithSenderUserID(senderUserID *string) *AdminTopicChatHistoryParams

WithSenderUserID adds the senderUserID to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithShardID

WithShardID adds the shardID to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithStartCreatedAt

func (o *AdminTopicChatHistoryParams) WithStartCreatedAt(startCreatedAt *int64) *AdminTopicChatHistoryParams

WithStartCreatedAt adds the startCreatedAt to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithTimeout

WithTimeout adds the timeout to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithTopic

WithTopic adds the topic to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WithUnfiltered

func (o *AdminTopicChatHistoryParams) WithUnfiltered(unfiltered *bool) *AdminTopicChatHistoryParams

WithUnfiltered adds the unfiltered to the admin topic chat history params

func (*AdminTopicChatHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminTopicChatHistoryReader

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

AdminTopicChatHistoryReader is a Reader for the AdminTopicChatHistory structure.

func (*AdminTopicChatHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminTopicChatHistoryUnauthorized

type AdminTopicChatHistoryUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicChatHistoryUnauthorized handles this case with default header values.

Unauthorized

func NewAdminTopicChatHistoryUnauthorized

func NewAdminTopicChatHistoryUnauthorized() *AdminTopicChatHistoryUnauthorized

NewAdminTopicChatHistoryUnauthorized creates a AdminTopicChatHistoryUnauthorized with default headers values

func (*AdminTopicChatHistoryUnauthorized) Error

func (*AdminTopicChatHistoryUnauthorized) GetPayload

func (*AdminTopicChatHistoryUnauthorized) ToJSONString

func (o *AdminTopicChatHistoryUnauthorized) ToJSONString() string

type AdminTopicListBadRequest

type AdminTopicListBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicListBadRequest handles this case with default header values.

Bad Request

func NewAdminTopicListBadRequest

func NewAdminTopicListBadRequest() *AdminTopicListBadRequest

NewAdminTopicListBadRequest creates a AdminTopicListBadRequest with default headers values

func (*AdminTopicListBadRequest) Error

func (o *AdminTopicListBadRequest) Error() string

func (*AdminTopicListBadRequest) GetPayload

func (*AdminTopicListBadRequest) ToJSONString

func (o *AdminTopicListBadRequest) ToJSONString() string

type AdminTopicListForbidden

type AdminTopicListForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicListForbidden handles this case with default header values.

Forbidden

func NewAdminTopicListForbidden

func NewAdminTopicListForbidden() *AdminTopicListForbidden

NewAdminTopicListForbidden creates a AdminTopicListForbidden with default headers values

func (*AdminTopicListForbidden) Error

func (o *AdminTopicListForbidden) Error() string

func (*AdminTopicListForbidden) GetPayload

func (*AdminTopicListForbidden) ToJSONString

func (o *AdminTopicListForbidden) ToJSONString() string

type AdminTopicListInternalServerError

type AdminTopicListInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicListInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminTopicListInternalServerError

func NewAdminTopicListInternalServerError() *AdminTopicListInternalServerError

NewAdminTopicListInternalServerError creates a AdminTopicListInternalServerError with default headers values

func (*AdminTopicListInternalServerError) Error

func (*AdminTopicListInternalServerError) GetPayload

func (*AdminTopicListInternalServerError) ToJSONString

func (o *AdminTopicListInternalServerError) ToJSONString() string

type AdminTopicListOK

type AdminTopicListOK struct {
	Payload []*chatclientmodels.ModelsTopicResponse
}

AdminTopicListOK handles this case with default header values.

OK

func NewAdminTopicListOK

func NewAdminTopicListOK() *AdminTopicListOK

NewAdminTopicListOK creates a AdminTopicListOK with default headers values

func (*AdminTopicListOK) Error

func (o *AdminTopicListOK) Error() string

func (*AdminTopicListOK) GetPayload

func (*AdminTopicListOK) ToJSONString

func (o *AdminTopicListOK) ToJSONString() string

type AdminTopicListParams

type AdminTopicListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*TopicType
	  PERSONAL or GROUP

	*/
	TopicType *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
}

AdminTopicListParams contains all the parameters to send to the API endpoint for the admin topic list operation typically these are written to a http.Request

func NewAdminTopicListParams

func NewAdminTopicListParams() *AdminTopicListParams

NewAdminTopicListParams creates a new AdminTopicListParams object with the default values initialized.

func NewAdminTopicListParamsWithContext

func NewAdminTopicListParamsWithContext(ctx context.Context) *AdminTopicListParams

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

func NewAdminTopicListParamsWithHTTPClient

func NewAdminTopicListParamsWithHTTPClient(client *http.Client) *AdminTopicListParams

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

func NewAdminTopicListParamsWithTimeout

func NewAdminTopicListParamsWithTimeout(timeout time.Duration) *AdminTopicListParams

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

func (*AdminTopicListParams) SetAuthInfoWriter

func (o *AdminTopicListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin topic list params

func (*AdminTopicListParams) SetContext

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

SetContext adds the context to the admin topic list params

func (*AdminTopicListParams) SetFlightId

func (o *AdminTopicListParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminTopicListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin topic list params

func (*AdminTopicListParams) SetHTTPClientTransport

func (o *AdminTopicListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin topic list params

func (*AdminTopicListParams) SetLimit

func (o *AdminTopicListParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin topic list params

func (*AdminTopicListParams) SetNamespace

func (o *AdminTopicListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin topic list params

func (*AdminTopicListParams) SetOffset

func (o *AdminTopicListParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin topic list params

func (*AdminTopicListParams) SetTimeout

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

SetTimeout adds the timeout to the admin topic list params

func (*AdminTopicListParams) SetTopicType

func (o *AdminTopicListParams) SetTopicType(topicType *string)

SetTopicType adds the topicType to the admin topic list params

func (*AdminTopicListParams) WithContext

WithContext adds the context to the admin topic list params

func (*AdminTopicListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin topic list params

func (*AdminTopicListParams) WithLimit

func (o *AdminTopicListParams) WithLimit(limit *int64) *AdminTopicListParams

WithLimit adds the limit to the admin topic list params

func (*AdminTopicListParams) WithNamespace

func (o *AdminTopicListParams) WithNamespace(namespace string) *AdminTopicListParams

WithNamespace adds the namespace to the admin topic list params

func (*AdminTopicListParams) WithOffset

func (o *AdminTopicListParams) WithOffset(offset *int64) *AdminTopicListParams

WithOffset adds the offset to the admin topic list params

func (*AdminTopicListParams) WithTimeout

func (o *AdminTopicListParams) WithTimeout(timeout time.Duration) *AdminTopicListParams

WithTimeout adds the timeout to the admin topic list params

func (*AdminTopicListParams) WithTopicType

func (o *AdminTopicListParams) WithTopicType(topicType *string) *AdminTopicListParams

WithTopicType adds the topicType to the admin topic list params

func (*AdminTopicListParams) WriteToRequest

func (o *AdminTopicListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminTopicListReader

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

AdminTopicListReader is a Reader for the AdminTopicList structure.

func (*AdminTopicListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminTopicListUnauthorized

type AdminTopicListUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicListUnauthorized handles this case with default header values.

Unauthorized

func NewAdminTopicListUnauthorized

func NewAdminTopicListUnauthorized() *AdminTopicListUnauthorized

NewAdminTopicListUnauthorized creates a AdminTopicListUnauthorized with default headers values

func (*AdminTopicListUnauthorized) Error

func (*AdminTopicListUnauthorized) GetPayload

func (*AdminTopicListUnauthorized) ToJSONString

func (o *AdminTopicListUnauthorized) ToJSONString() string

type AdminTopicMembersBadRequest

type AdminTopicMembersBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicMembersBadRequest handles this case with default header values.

Bad Request

func NewAdminTopicMembersBadRequest

func NewAdminTopicMembersBadRequest() *AdminTopicMembersBadRequest

NewAdminTopicMembersBadRequest creates a AdminTopicMembersBadRequest with default headers values

func (*AdminTopicMembersBadRequest) Error

func (*AdminTopicMembersBadRequest) GetPayload

func (*AdminTopicMembersBadRequest) ToJSONString

func (o *AdminTopicMembersBadRequest) ToJSONString() string

type AdminTopicMembersForbidden

type AdminTopicMembersForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicMembersForbidden handles this case with default header values.

Forbidden

func NewAdminTopicMembersForbidden

func NewAdminTopicMembersForbidden() *AdminTopicMembersForbidden

NewAdminTopicMembersForbidden creates a AdminTopicMembersForbidden with default headers values

func (*AdminTopicMembersForbidden) Error

func (*AdminTopicMembersForbidden) GetPayload

func (*AdminTopicMembersForbidden) ToJSONString

func (o *AdminTopicMembersForbidden) ToJSONString() string

type AdminTopicMembersInternalServerError

type AdminTopicMembersInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicMembersInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminTopicMembersInternalServerError

func NewAdminTopicMembersInternalServerError() *AdminTopicMembersInternalServerError

NewAdminTopicMembersInternalServerError creates a AdminTopicMembersInternalServerError with default headers values

func (*AdminTopicMembersInternalServerError) Error

func (*AdminTopicMembersInternalServerError) GetPayload

func (*AdminTopicMembersInternalServerError) ToJSONString

func (o *AdminTopicMembersInternalServerError) ToJSONString() string

type AdminTopicMembersOK

type AdminTopicMembersOK struct {
	Payload *chatclientmodels.ModelsTopicMemberWithPaginationResponse
}

AdminTopicMembersOK handles this case with default header values.

OK

func NewAdminTopicMembersOK

func NewAdminTopicMembersOK() *AdminTopicMembersOK

NewAdminTopicMembersOK creates a AdminTopicMembersOK with default headers values

func (*AdminTopicMembersOK) Error

func (o *AdminTopicMembersOK) Error() string

func (*AdminTopicMembersOK) GetPayload

func (*AdminTopicMembersOK) ToJSONString

func (o *AdminTopicMembersOK) ToJSONString() string

type AdminTopicMembersParams

type AdminTopicMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	Topic string
	/*IsBanned
	  only show banned member

	*/
	IsBanned *bool
	/*IsModerator
	  only show moderator member

	*/
	IsModerator *bool
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*ShardID
	  shard ID

	*/
	ShardID *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
}

AdminTopicMembersParams contains all the parameters to send to the API endpoint for the admin topic members operation typically these are written to a http.Request

func NewAdminTopicMembersParams

func NewAdminTopicMembersParams() *AdminTopicMembersParams

NewAdminTopicMembersParams creates a new AdminTopicMembersParams object with the default values initialized.

func NewAdminTopicMembersParamsWithContext

func NewAdminTopicMembersParamsWithContext(ctx context.Context) *AdminTopicMembersParams

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

func NewAdminTopicMembersParamsWithHTTPClient

func NewAdminTopicMembersParamsWithHTTPClient(client *http.Client) *AdminTopicMembersParams

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

func NewAdminTopicMembersParamsWithTimeout

func NewAdminTopicMembersParamsWithTimeout(timeout time.Duration) *AdminTopicMembersParams

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

func (*AdminTopicMembersParams) SetAuthInfoWriter

func (o *AdminTopicMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin topic members params

func (*AdminTopicMembersParams) SetContext

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

SetContext adds the context to the admin topic members params

func (*AdminTopicMembersParams) SetFlightId

func (o *AdminTopicMembersParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminTopicMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin topic members params

func (*AdminTopicMembersParams) SetHTTPClientTransport

func (o *AdminTopicMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin topic members params

func (*AdminTopicMembersParams) SetIsBanned

func (o *AdminTopicMembersParams) SetIsBanned(isBanned *bool)

SetIsBanned adds the isBanned to the admin topic members params

func (*AdminTopicMembersParams) SetIsModerator

func (o *AdminTopicMembersParams) SetIsModerator(isModerator *bool)

SetIsModerator adds the isModerator to the admin topic members params

func (*AdminTopicMembersParams) SetLimit

func (o *AdminTopicMembersParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin topic members params

func (*AdminTopicMembersParams) SetNamespace

func (o *AdminTopicMembersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin topic members params

func (*AdminTopicMembersParams) SetOffset

func (o *AdminTopicMembersParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin topic members params

func (*AdminTopicMembersParams) SetShardID

func (o *AdminTopicMembersParams) SetShardID(shardID *string)

SetShardID adds the shardId to the admin topic members params

func (*AdminTopicMembersParams) SetTimeout

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

SetTimeout adds the timeout to the admin topic members params

func (*AdminTopicMembersParams) SetTopic

func (o *AdminTopicMembersParams) SetTopic(topic string)

SetTopic adds the topic to the admin topic members params

func (*AdminTopicMembersParams) WithContext

WithContext adds the context to the admin topic members params

func (*AdminTopicMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin topic members params

func (*AdminTopicMembersParams) WithIsBanned

func (o *AdminTopicMembersParams) WithIsBanned(isBanned *bool) *AdminTopicMembersParams

WithIsBanned adds the isBanned to the admin topic members params

func (*AdminTopicMembersParams) WithIsModerator

func (o *AdminTopicMembersParams) WithIsModerator(isModerator *bool) *AdminTopicMembersParams

WithIsModerator adds the isModerator to the admin topic members params

func (*AdminTopicMembersParams) WithLimit

WithLimit adds the limit to the admin topic members params

func (*AdminTopicMembersParams) WithNamespace

func (o *AdminTopicMembersParams) WithNamespace(namespace string) *AdminTopicMembersParams

WithNamespace adds the namespace to the admin topic members params

func (*AdminTopicMembersParams) WithOffset

func (o *AdminTopicMembersParams) WithOffset(offset *int64) *AdminTopicMembersParams

WithOffset adds the offset to the admin topic members params

func (*AdminTopicMembersParams) WithShardID

func (o *AdminTopicMembersParams) WithShardID(shardID *string) *AdminTopicMembersParams

WithShardID adds the shardID to the admin topic members params

func (*AdminTopicMembersParams) WithTimeout

WithTimeout adds the timeout to the admin topic members params

func (*AdminTopicMembersParams) WithTopic

WithTopic adds the topic to the admin topic members params

func (*AdminTopicMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminTopicMembersReader

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

AdminTopicMembersReader is a Reader for the AdminTopicMembers structure.

func (*AdminTopicMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminTopicMembersUnauthorized

type AdminTopicMembersUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicMembersUnauthorized handles this case with default header values.

Unauthorized

func NewAdminTopicMembersUnauthorized

func NewAdminTopicMembersUnauthorized() *AdminTopicMembersUnauthorized

NewAdminTopicMembersUnauthorized creates a AdminTopicMembersUnauthorized with default headers values

func (*AdminTopicMembersUnauthorized) Error

func (*AdminTopicMembersUnauthorized) GetPayload

func (*AdminTopicMembersUnauthorized) ToJSONString

func (o *AdminTopicMembersUnauthorized) ToJSONString() string

type AdminTopicShardsBadRequest

type AdminTopicShardsBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicShardsBadRequest handles this case with default header values.

Bad Request

func NewAdminTopicShardsBadRequest

func NewAdminTopicShardsBadRequest() *AdminTopicShardsBadRequest

NewAdminTopicShardsBadRequest creates a AdminTopicShardsBadRequest with default headers values

func (*AdminTopicShardsBadRequest) Error

func (*AdminTopicShardsBadRequest) GetPayload

func (*AdminTopicShardsBadRequest) ToJSONString

func (o *AdminTopicShardsBadRequest) ToJSONString() string

type AdminTopicShardsForbidden

type AdminTopicShardsForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicShardsForbidden handles this case with default header values.

Forbidden

func NewAdminTopicShardsForbidden

func NewAdminTopicShardsForbidden() *AdminTopicShardsForbidden

NewAdminTopicShardsForbidden creates a AdminTopicShardsForbidden with default headers values

func (*AdminTopicShardsForbidden) Error

func (o *AdminTopicShardsForbidden) Error() string

func (*AdminTopicShardsForbidden) GetPayload

func (*AdminTopicShardsForbidden) ToJSONString

func (o *AdminTopicShardsForbidden) ToJSONString() string

type AdminTopicShardsInternalServerError

type AdminTopicShardsInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicShardsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminTopicShardsInternalServerError

func NewAdminTopicShardsInternalServerError() *AdminTopicShardsInternalServerError

NewAdminTopicShardsInternalServerError creates a AdminTopicShardsInternalServerError with default headers values

func (*AdminTopicShardsInternalServerError) Error

func (*AdminTopicShardsInternalServerError) GetPayload

func (*AdminTopicShardsInternalServerError) ToJSONString

func (o *AdminTopicShardsInternalServerError) ToJSONString() string

type AdminTopicShardsOK

type AdminTopicShardsOK struct {
	Payload []string
}

AdminTopicShardsOK handles this case with default header values.

OK

func NewAdminTopicShardsOK

func NewAdminTopicShardsOK() *AdminTopicShardsOK

NewAdminTopicShardsOK creates a AdminTopicShardsOK with default headers values

func (*AdminTopicShardsOK) Error

func (o *AdminTopicShardsOK) Error() string

func (*AdminTopicShardsOK) GetPayload

func (o *AdminTopicShardsOK) GetPayload() []string

func (*AdminTopicShardsOK) ToJSONString

func (o *AdminTopicShardsOK) ToJSONString() string

type AdminTopicShardsParams

type AdminTopicShardsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	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
}

AdminTopicShardsParams contains all the parameters to send to the API endpoint for the admin topic shards operation typically these are written to a http.Request

func NewAdminTopicShardsParams

func NewAdminTopicShardsParams() *AdminTopicShardsParams

NewAdminTopicShardsParams creates a new AdminTopicShardsParams object with the default values initialized.

func NewAdminTopicShardsParamsWithContext

func NewAdminTopicShardsParamsWithContext(ctx context.Context) *AdminTopicShardsParams

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

func NewAdminTopicShardsParamsWithHTTPClient

func NewAdminTopicShardsParamsWithHTTPClient(client *http.Client) *AdminTopicShardsParams

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

func NewAdminTopicShardsParamsWithTimeout

func NewAdminTopicShardsParamsWithTimeout(timeout time.Duration) *AdminTopicShardsParams

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

func (*AdminTopicShardsParams) SetAuthInfoWriter

func (o *AdminTopicShardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin topic shards params

func (*AdminTopicShardsParams) SetContext

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

SetContext adds the context to the admin topic shards params

func (*AdminTopicShardsParams) SetFlightId

func (o *AdminTopicShardsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminTopicShardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin topic shards params

func (*AdminTopicShardsParams) SetHTTPClientTransport

func (o *AdminTopicShardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin topic shards params

func (*AdminTopicShardsParams) SetNamespace

func (o *AdminTopicShardsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin topic shards params

func (*AdminTopicShardsParams) SetTimeout

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

SetTimeout adds the timeout to the admin topic shards params

func (*AdminTopicShardsParams) SetTopic

func (o *AdminTopicShardsParams) SetTopic(topic string)

SetTopic adds the topic to the admin topic shards params

func (*AdminTopicShardsParams) WithContext

WithContext adds the context to the admin topic shards params

func (*AdminTopicShardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin topic shards params

func (*AdminTopicShardsParams) WithNamespace

func (o *AdminTopicShardsParams) WithNamespace(namespace string) *AdminTopicShardsParams

WithNamespace adds the namespace to the admin topic shards params

func (*AdminTopicShardsParams) WithTimeout

WithTimeout adds the timeout to the admin topic shards params

func (*AdminTopicShardsParams) WithTopic

WithTopic adds the topic to the admin topic shards params

func (*AdminTopicShardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminTopicShardsReader

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

AdminTopicShardsReader is a Reader for the AdminTopicShards structure.

func (*AdminTopicShardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminTopicShardsUnauthorized

type AdminTopicShardsUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminTopicShardsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminTopicShardsUnauthorized

func NewAdminTopicShardsUnauthorized() *AdminTopicShardsUnauthorized

NewAdminTopicShardsUnauthorized creates a AdminTopicShardsUnauthorized with default headers values

func (*AdminTopicShardsUnauthorized) Error

func (*AdminTopicShardsUnauthorized) GetPayload

func (*AdminTopicShardsUnauthorized) ToJSONString

func (o *AdminTopicShardsUnauthorized) ToJSONString() string

type AdminUnbanTopicMembersBadRequest

type AdminUnbanTopicMembersBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUnbanTopicMembersBadRequest handles this case with default header values.

Bad Request

func NewAdminUnbanTopicMembersBadRequest

func NewAdminUnbanTopicMembersBadRequest() *AdminUnbanTopicMembersBadRequest

NewAdminUnbanTopicMembersBadRequest creates a AdminUnbanTopicMembersBadRequest with default headers values

func (*AdminUnbanTopicMembersBadRequest) Error

func (*AdminUnbanTopicMembersBadRequest) GetPayload

func (*AdminUnbanTopicMembersBadRequest) ToJSONString

func (o *AdminUnbanTopicMembersBadRequest) ToJSONString() string

type AdminUnbanTopicMembersForbidden

type AdminUnbanTopicMembersForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUnbanTopicMembersForbidden handles this case with default header values.

Forbidden

func NewAdminUnbanTopicMembersForbidden

func NewAdminUnbanTopicMembersForbidden() *AdminUnbanTopicMembersForbidden

NewAdminUnbanTopicMembersForbidden creates a AdminUnbanTopicMembersForbidden with default headers values

func (*AdminUnbanTopicMembersForbidden) Error

func (*AdminUnbanTopicMembersForbidden) GetPayload

func (*AdminUnbanTopicMembersForbidden) ToJSONString

func (o *AdminUnbanTopicMembersForbidden) ToJSONString() string

type AdminUnbanTopicMembersInternalServerError

type AdminUnbanTopicMembersInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUnbanTopicMembersInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUnbanTopicMembersInternalServerError

func NewAdminUnbanTopicMembersInternalServerError() *AdminUnbanTopicMembersInternalServerError

NewAdminUnbanTopicMembersInternalServerError creates a AdminUnbanTopicMembersInternalServerError with default headers values

func (*AdminUnbanTopicMembersInternalServerError) Error

func (*AdminUnbanTopicMembersInternalServerError) GetPayload

func (*AdminUnbanTopicMembersInternalServerError) ToJSONString

type AdminUnbanTopicMembersOK

type AdminUnbanTopicMembersOK struct {
	Payload *chatclientmodels.ModelsUnbanTopicMemberResult
}

AdminUnbanTopicMembersOK handles this case with default header values.

OK

func NewAdminUnbanTopicMembersOK

func NewAdminUnbanTopicMembersOK() *AdminUnbanTopicMembersOK

NewAdminUnbanTopicMembersOK creates a AdminUnbanTopicMembersOK with default headers values

func (*AdminUnbanTopicMembersOK) Error

func (o *AdminUnbanTopicMembersOK) Error() string

func (*AdminUnbanTopicMembersOK) GetPayload

func (*AdminUnbanTopicMembersOK) ToJSONString

func (o *AdminUnbanTopicMembersOK) ToJSONString() string

type AdminUnbanTopicMembersParams

type AdminUnbanTopicMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsUnbanTopicMemberParam
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	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
}

AdminUnbanTopicMembersParams contains all the parameters to send to the API endpoint for the admin unban topic members operation typically these are written to a http.Request

func NewAdminUnbanTopicMembersParams

func NewAdminUnbanTopicMembersParams() *AdminUnbanTopicMembersParams

NewAdminUnbanTopicMembersParams creates a new AdminUnbanTopicMembersParams object with the default values initialized.

func NewAdminUnbanTopicMembersParamsWithContext

func NewAdminUnbanTopicMembersParamsWithContext(ctx context.Context) *AdminUnbanTopicMembersParams

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

func NewAdminUnbanTopicMembersParamsWithHTTPClient

func NewAdminUnbanTopicMembersParamsWithHTTPClient(client *http.Client) *AdminUnbanTopicMembersParams

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

func NewAdminUnbanTopicMembersParamsWithTimeout

func NewAdminUnbanTopicMembersParamsWithTimeout(timeout time.Duration) *AdminUnbanTopicMembersParams

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

func (*AdminUnbanTopicMembersParams) SetAuthInfoWriter

func (o *AdminUnbanTopicMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetBody

SetBody adds the body to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetContext

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

SetContext adds the context to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetFlightId

func (o *AdminUnbanTopicMembersParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminUnbanTopicMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetHTTPClientTransport

func (o *AdminUnbanTopicMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetNamespace

func (o *AdminUnbanTopicMembersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetTimeout

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

SetTimeout adds the timeout to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) SetTopic

func (o *AdminUnbanTopicMembersParams) SetTopic(topic string)

SetTopic adds the topic to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WithBody

WithBody adds the body to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WithContext

WithContext adds the context to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WithNamespace

WithNamespace adds the namespace to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WithTimeout

WithTimeout adds the timeout to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WithTopic

WithTopic adds the topic to the admin unban topic members params

func (*AdminUnbanTopicMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnbanTopicMembersReader

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

AdminUnbanTopicMembersReader is a Reader for the AdminUnbanTopicMembers structure.

func (*AdminUnbanTopicMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnbanTopicMembersUnauthorized

type AdminUnbanTopicMembersUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUnbanTopicMembersUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUnbanTopicMembersUnauthorized

func NewAdminUnbanTopicMembersUnauthorized() *AdminUnbanTopicMembersUnauthorized

NewAdminUnbanTopicMembersUnauthorized creates a AdminUnbanTopicMembersUnauthorized with default headers values

func (*AdminUnbanTopicMembersUnauthorized) Error

func (*AdminUnbanTopicMembersUnauthorized) GetPayload

func (*AdminUnbanTopicMembersUnauthorized) ToJSONString

func (o *AdminUnbanTopicMembersUnauthorized) ToJSONString() string

type AdminUpdateTopicOK

type AdminUpdateTopicOK struct {
	Payload *chatclientmodels.APICreateTopicResponse
}

AdminUpdateTopicOK handles this case with default header values.

func NewAdminUpdateTopicOK

func NewAdminUpdateTopicOK() *AdminUpdateTopicOK

NewAdminUpdateTopicOK creates a AdminUpdateTopicOK with default headers values

func (*AdminUpdateTopicOK) Error

func (o *AdminUpdateTopicOK) Error() string

func (*AdminUpdateTopicOK) GetPayload

func (*AdminUpdateTopicOK) ToJSONString

func (o *AdminUpdateTopicOK) ToJSONString() string

type AdminUpdateTopicParams

type AdminUpdateTopicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APIUpdateTopicParams
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	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
}

AdminUpdateTopicParams contains all the parameters to send to the API endpoint for the admin update topic operation typically these are written to a http.Request

func NewAdminUpdateTopicParams

func NewAdminUpdateTopicParams() *AdminUpdateTopicParams

NewAdminUpdateTopicParams creates a new AdminUpdateTopicParams object with the default values initialized.

func NewAdminUpdateTopicParamsWithContext

func NewAdminUpdateTopicParamsWithContext(ctx context.Context) *AdminUpdateTopicParams

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

func NewAdminUpdateTopicParamsWithHTTPClient

func NewAdminUpdateTopicParamsWithHTTPClient(client *http.Client) *AdminUpdateTopicParams

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

func NewAdminUpdateTopicParamsWithTimeout

func NewAdminUpdateTopicParamsWithTimeout(timeout time.Duration) *AdminUpdateTopicParams

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

func (*AdminUpdateTopicParams) SetAuthInfoWriter

func (o *AdminUpdateTopicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update topic params

func (*AdminUpdateTopicParams) SetBody

SetBody adds the body to the admin update topic params

func (*AdminUpdateTopicParams) SetContext

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

SetContext adds the context to the admin update topic params

func (*AdminUpdateTopicParams) SetFlightId

func (o *AdminUpdateTopicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminUpdateTopicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update topic params

func (*AdminUpdateTopicParams) SetHTTPClientTransport

func (o *AdminUpdateTopicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update topic params

func (*AdminUpdateTopicParams) SetNamespace

func (o *AdminUpdateTopicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update topic params

func (*AdminUpdateTopicParams) SetTimeout

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

SetTimeout adds the timeout to the admin update topic params

func (*AdminUpdateTopicParams) SetTopic

func (o *AdminUpdateTopicParams) SetTopic(topic string)

SetTopic adds the topic to the admin update topic params

func (*AdminUpdateTopicParams) WithBody

WithBody adds the body to the admin update topic params

func (*AdminUpdateTopicParams) WithContext

WithContext adds the context to the admin update topic params

func (*AdminUpdateTopicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update topic params

func (*AdminUpdateTopicParams) WithNamespace

func (o *AdminUpdateTopicParams) WithNamespace(namespace string) *AdminUpdateTopicParams

WithNamespace adds the namespace to the admin update topic params

func (*AdminUpdateTopicParams) WithTimeout

WithTimeout adds the timeout to the admin update topic params

func (*AdminUpdateTopicParams) WithTopic

WithTopic adds the topic to the admin update topic params

func (*AdminUpdateTopicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateTopicReader

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

AdminUpdateTopicReader is a Reader for the AdminUpdateTopic structure.

func (*AdminUpdateTopicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for topic API

func (*Client) AdminAddTopicMemberShort

func (a *Client) AdminAddTopicMemberShort(params *AdminAddTopicMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAddTopicMemberResponse, error)

AdminAddTopicMemberShort admin add user to topic Add new member for topic in a namespace.

func (*Client) AdminBanTopicMembersShort

func (a *Client) AdminBanTopicMembersShort(params *AdminBanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBanTopicMembersResponse, error)

AdminBanTopicMembersShort admins ban user in group topic Ban users in some topic. banned user not assigned to shard for channel topic, and cannot send and query chat.

func (*Client) AdminChannelTopicInfoShort

func (a *Client) AdminChannelTopicInfoShort(params *AdminChannelTopicInfoParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChannelTopicInfoResponse, error)

AdminChannelTopicInfoShort admin get channel topic detail Get chat list of topic in a namespace.

func (*Client) AdminChannelTopicListShort

func (a *Client) AdminChannelTopicListShort(params *AdminChannelTopicListParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChannelTopicListResponse, error)

AdminChannelTopicListShort admin get list of channel topic Get channel chat list of topic in a namespace.

func (*Client) AdminChannelTopicSummaryShort

func (a *Client) AdminChannelTopicSummaryShort(params *AdminChannelTopicSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChannelTopicSummaryResponse, error)

AdminChannelTopicSummaryShort admin get channel topic summary Get chat list of topic in a namespace.

func (*Client) AdminChatHistoryShort

func (a *Client) AdminChatHistoryShort(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryResponse, error)

AdminChatHistoryShort admin get chat history Get chat history in a namespace.

func (*Client) AdminCreateNamespaceTopicShort

func (a *Client) AdminCreateNamespaceTopicShort(params *AdminCreateNamespaceTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNamespaceTopicResponse, error)

AdminCreateNamespaceTopicShort use to create namespace group. message that send to this group send to connected user in a namespace Create new namespace group topic in a namespace.

func (*Client) AdminCreateTopicShort

func (a *Client) AdminCreateTopicShort(params *AdminCreateTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTopicResponse, error)

AdminCreateTopicShort use to create group. only group admin can use this operation Create new group topic in a namespace.

func (*Client) AdminDeleteChatShort

func (a *Client) AdminDeleteChatShort(params *AdminDeleteChatParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatResponse, error)

AdminDeleteChatShort admins delete chat Delete chat.

func (*Client) AdminDeleteTopicShort

func (a *Client) AdminDeleteTopicShort(params *AdminDeleteTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTopicResponse, error)

AdminDeleteTopicShort use to delete group. only group admin can use this operation Delete topic in a namespace.

func (*Client) AdminFilterChatMessageShort

func (a *Client) AdminFilterChatMessageShort(params *AdminFilterChatMessageParams, authInfo runtime.ClientAuthInfoWriter) (*AdminFilterChatMessageResponse, error)

AdminFilterChatMessageShort return filtered chat message For testing purpose, doesn't send any message to the topic. Always do filter regardless of enableProfanityFilter configuration.

func (*Client) AdminQueryTopicLogShort

func (a *Client) AdminQueryTopicLogShort(params *AdminQueryTopicLogParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryTopicLogResponse, error)

AdminQueryTopicLogShort admin query topic log Get chat log of topic in a namespace.

func (*Client) AdminQueryTopicShort

func (a *Client) AdminQueryTopicShort(params *AdminQueryTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryTopicResponse, error)

AdminQueryTopicShort admin query topics Get topics in a namespace.

func (*Client) AdminQueryUsersTopicShort

func (a *Client) AdminQueryUsersTopicShort(params *AdminQueryUsersTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryUsersTopicResponse, error)

AdminQueryUsersTopicShort admin query user's topics Get user's topics in a namespace.

func (*Client) AdminRemoveTopicMemberShort

func (a *Client) AdminRemoveTopicMemberShort(params *AdminRemoveTopicMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveTopicMemberResponse, error)

AdminRemoveTopicMemberShort admin remove user from topic Remove member from topic in a namespace.

func (*Client) AdminSendChatShort

func (a *Client) AdminSendChatShort(params *AdminSendChatParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSendChatResponse, error)

AdminSendChatShort admins send chat to group topic Send message to chat topic as system.

func (*Client) AdminTopicChatHistoryShort

func (a *Client) AdminTopicChatHistoryShort(params *AdminTopicChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicChatHistoryResponse, error)

AdminTopicChatHistoryShort admin get chat history Get chat history in a namespace.

func (*Client) AdminTopicListShort

func (a *Client) AdminTopicListShort(params *AdminTopicListParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicListResponse, error)

AdminTopicListShort admin get list of topic Get chat list of topic in a namespace.

func (*Client) AdminTopicMembersShort

func (a *Client) AdminTopicMembersShort(params *AdminTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicMembersResponse, error)

AdminTopicMembersShort admin get topic member Get topic members.

func (*Client) AdminTopicShardsShort

func (a *Client) AdminTopicShardsShort(params *AdminTopicShardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicShardsResponse, error)

AdminTopicShardsShort admin get shard list of topic Get shard list from topic.

func (*Client) AdminUnbanTopicMembersShort

func (a *Client) AdminUnbanTopicMembersShort(params *AdminUnbanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanTopicMembersResponse, error)

AdminUnbanTopicMembersShort admins unban user in group topic Unban users in some topic.

func (*Client) AdminUpdateTopicShort

func (a *Client) AdminUpdateTopicShort(params *AdminUpdateTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTopicResponse, error)

AdminUpdateTopicShort use to update group information. only group admin can use this operation Update group topic in a namespace.

func (*Client) PublicBanTopicMembersShort

func (a *Client) PublicBanTopicMembersShort(params *PublicBanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicBanTopicMembersResponse, error)

PublicBanTopicMembersShort public ban topic members in a group topic Ban topic members in a group topic.

func (*Client) PublicChatHistoryShort

func (a *Client) PublicChatHistoryShort(params *PublicChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicChatHistoryResponse, error)

PublicChatHistoryShort public get chat history get chat history in a namespace.

func (*Client) PublicDeleteChatShort

func (a *Client) PublicDeleteChatShort(params *PublicDeleteChatParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteChatResponse, error)

PublicDeleteChatShort public delete chat Delete chat.

func (*Client) PublicGetMutedTopicsShort

func (a *Client) PublicGetMutedTopicsShort(params *PublicGetMutedTopicsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMutedTopicsResponse, error)

PublicGetMutedTopicsShort public get muted at topics get chat muted topics in a namespace.

func (*Client) PublicMuteUserShort

func (a *Client) PublicMuteUserShort(params *PublicMuteUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicMuteUserResponse, error)

PublicMuteUserShort public mute user in a topic Mute user.

func (*Client) PublicTopicListShort

func (a *Client) PublicTopicListShort(params *PublicTopicListParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTopicListResponse, error)

PublicTopicListShort public get list of topic get chat list of topic in a namespace.

func (*Client) PublicUnbanTopicMembersShort

func (a *Client) PublicUnbanTopicMembersShort(params *PublicUnbanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnbanTopicMembersResponse, error)

PublicUnbanTopicMembersShort public unban topic members in a group topic Unban topic members in a group topic.

func (*Client) PublicUnmuteUserShort

func (a *Client) PublicUnmuteUserShort(params *PublicUnmuteUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnmuteUserResponse, error)

PublicUnmuteUserShort public unmute user in a topic Unmute user.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminFilterChatMessageShort(params *AdminFilterChatMessageParams, authInfo runtime.ClientAuthInfoWriter) (*AdminFilterChatMessageResponse, error)
	AdminChatHistoryShort(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryResponse, error)
	AdminCreateNamespaceTopicShort(params *AdminCreateNamespaceTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNamespaceTopicResponse, error)
	AdminTopicListShort(params *AdminTopicListParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicListResponse, error)
	AdminCreateTopicShort(params *AdminCreateTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTopicResponse, error)
	AdminChannelTopicListShort(params *AdminChannelTopicListParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChannelTopicListResponse, error)
	AdminChannelTopicSummaryShort(params *AdminChannelTopicSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChannelTopicSummaryResponse, error)
	AdminQueryTopicLogShort(params *AdminQueryTopicLogParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryTopicLogResponse, error)
	AdminUpdateTopicShort(params *AdminUpdateTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTopicResponse, error)
	AdminDeleteTopicShort(params *AdminDeleteTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTopicResponse, error)
	AdminBanTopicMembersShort(params *AdminBanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBanTopicMembersResponse, error)
	AdminChannelTopicInfoShort(params *AdminChannelTopicInfoParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChannelTopicInfoResponse, error)
	AdminTopicChatHistoryShort(params *AdminTopicChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicChatHistoryResponse, error)
	AdminSendChatShort(params *AdminSendChatParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSendChatResponse, error)
	AdminDeleteChatShort(params *AdminDeleteChatParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChatResponse, error)
	AdminTopicMembersShort(params *AdminTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicMembersResponse, error)
	AdminTopicShardsShort(params *AdminTopicShardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminTopicShardsResponse, error)
	AdminUnbanTopicMembersShort(params *AdminUnbanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnbanTopicMembersResponse, error)
	AdminAddTopicMemberShort(params *AdminAddTopicMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAddTopicMemberResponse, error)
	AdminRemoveTopicMemberShort(params *AdminRemoveTopicMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveTopicMemberResponse, error)
	AdminQueryTopicShort(params *AdminQueryTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryTopicResponse, error)
	AdminQueryUsersTopicShort(params *AdminQueryUsersTopicParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryUsersTopicResponse, error)
	PublicGetMutedTopicsShort(params *PublicGetMutedTopicsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMutedTopicsResponse, error)
	PublicTopicListShort(params *PublicTopicListParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTopicListResponse, error)
	PublicBanTopicMembersShort(params *PublicBanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicBanTopicMembersResponse, error)
	PublicChatHistoryShort(params *PublicChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicChatHistoryResponse, error)
	PublicDeleteChatShort(params *PublicDeleteChatParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteChatResponse, error)
	PublicMuteUserShort(params *PublicMuteUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicMuteUserResponse, error)
	PublicUnbanTopicMembersShort(params *PublicUnbanTopicMembersParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnbanTopicMembersResponse, error)
	PublicUnmuteUserShort(params *PublicUnmuteUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnmuteUserResponse, 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 topic API client.

type PublicBanTopicMembersBadRequest

type PublicBanTopicMembersBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicBanTopicMembersBadRequest handles this case with default header values.

Bad Request

func NewPublicBanTopicMembersBadRequest

func NewPublicBanTopicMembersBadRequest() *PublicBanTopicMembersBadRequest

NewPublicBanTopicMembersBadRequest creates a PublicBanTopicMembersBadRequest with default headers values

func (*PublicBanTopicMembersBadRequest) Error

func (*PublicBanTopicMembersBadRequest) GetPayload

func (*PublicBanTopicMembersBadRequest) ToJSONString

func (o *PublicBanTopicMembersBadRequest) ToJSONString() string

type PublicBanTopicMembersForbidden

type PublicBanTopicMembersForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicBanTopicMembersForbidden handles this case with default header values.

Forbidden

func NewPublicBanTopicMembersForbidden

func NewPublicBanTopicMembersForbidden() *PublicBanTopicMembersForbidden

NewPublicBanTopicMembersForbidden creates a PublicBanTopicMembersForbidden with default headers values

func (*PublicBanTopicMembersForbidden) Error

func (*PublicBanTopicMembersForbidden) GetPayload

func (*PublicBanTopicMembersForbidden) ToJSONString

func (o *PublicBanTopicMembersForbidden) ToJSONString() string

type PublicBanTopicMembersInternalServerError

type PublicBanTopicMembersInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicBanTopicMembersInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicBanTopicMembersInternalServerError

func NewPublicBanTopicMembersInternalServerError() *PublicBanTopicMembersInternalServerError

NewPublicBanTopicMembersInternalServerError creates a PublicBanTopicMembersInternalServerError with default headers values

func (*PublicBanTopicMembersInternalServerError) Error

func (*PublicBanTopicMembersInternalServerError) GetPayload

func (*PublicBanTopicMembersInternalServerError) ToJSONString

type PublicBanTopicMembersOK

type PublicBanTopicMembersOK struct {
	Payload *chatclientmodels.ModelsPublicBanTopicMembersResponse
}

PublicBanTopicMembersOK handles this case with default header values.

func NewPublicBanTopicMembersOK

func NewPublicBanTopicMembersOK() *PublicBanTopicMembersOK

NewPublicBanTopicMembersOK creates a PublicBanTopicMembersOK with default headers values

func (*PublicBanTopicMembersOK) Error

func (o *PublicBanTopicMembersOK) Error() string

func (*PublicBanTopicMembersOK) GetPayload

func (*PublicBanTopicMembersOK) ToJSONString

func (o *PublicBanTopicMembersOK) ToJSONString() string

type PublicBanTopicMembersParams

type PublicBanTopicMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsPublicBanTopicMembersRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	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
}

PublicBanTopicMembersParams contains all the parameters to send to the API endpoint for the public ban topic members operation typically these are written to a http.Request

func NewPublicBanTopicMembersParams

func NewPublicBanTopicMembersParams() *PublicBanTopicMembersParams

NewPublicBanTopicMembersParams creates a new PublicBanTopicMembersParams object with the default values initialized.

func NewPublicBanTopicMembersParamsWithContext

func NewPublicBanTopicMembersParamsWithContext(ctx context.Context) *PublicBanTopicMembersParams

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

func NewPublicBanTopicMembersParamsWithHTTPClient

func NewPublicBanTopicMembersParamsWithHTTPClient(client *http.Client) *PublicBanTopicMembersParams

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

func NewPublicBanTopicMembersParamsWithTimeout

func NewPublicBanTopicMembersParamsWithTimeout(timeout time.Duration) *PublicBanTopicMembersParams

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

func (*PublicBanTopicMembersParams) SetAuthInfoWriter

func (o *PublicBanTopicMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public ban topic members params

func (*PublicBanTopicMembersParams) SetBody

SetBody adds the body to the public ban topic members params

func (*PublicBanTopicMembersParams) SetContext

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

SetContext adds the context to the public ban topic members params

func (*PublicBanTopicMembersParams) SetFlightId

func (o *PublicBanTopicMembersParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicBanTopicMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public ban topic members params

func (*PublicBanTopicMembersParams) SetHTTPClientTransport

func (o *PublicBanTopicMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public ban topic members params

func (*PublicBanTopicMembersParams) SetNamespace

func (o *PublicBanTopicMembersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public ban topic members params

func (*PublicBanTopicMembersParams) SetTimeout

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

SetTimeout adds the timeout to the public ban topic members params

func (*PublicBanTopicMembersParams) SetTopic

func (o *PublicBanTopicMembersParams) SetTopic(topic string)

SetTopic adds the topic to the public ban topic members params

func (*PublicBanTopicMembersParams) WithBody

WithBody adds the body to the public ban topic members params

func (*PublicBanTopicMembersParams) WithContext

WithContext adds the context to the public ban topic members params

func (*PublicBanTopicMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public ban topic members params

func (*PublicBanTopicMembersParams) WithNamespace

func (o *PublicBanTopicMembersParams) WithNamespace(namespace string) *PublicBanTopicMembersParams

WithNamespace adds the namespace to the public ban topic members params

func (*PublicBanTopicMembersParams) WithTimeout

WithTimeout adds the timeout to the public ban topic members params

func (*PublicBanTopicMembersParams) WithTopic

WithTopic adds the topic to the public ban topic members params

func (*PublicBanTopicMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicBanTopicMembersReader

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

PublicBanTopicMembersReader is a Reader for the PublicBanTopicMembers structure.

func (*PublicBanTopicMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicBanTopicMembersUnauthorized

type PublicBanTopicMembersUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicBanTopicMembersUnauthorized handles this case with default header values.

Unauthorized

func NewPublicBanTopicMembersUnauthorized

func NewPublicBanTopicMembersUnauthorized() *PublicBanTopicMembersUnauthorized

NewPublicBanTopicMembersUnauthorized creates a PublicBanTopicMembersUnauthorized with default headers values

func (*PublicBanTopicMembersUnauthorized) Error

func (*PublicBanTopicMembersUnauthorized) GetPayload

func (*PublicBanTopicMembersUnauthorized) ToJSONString

func (o *PublicBanTopicMembersUnauthorized) ToJSONString() string

type PublicChatHistoryBadRequest

type PublicChatHistoryBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicChatHistoryBadRequest handles this case with default header values.

Bad Request

func NewPublicChatHistoryBadRequest

func NewPublicChatHistoryBadRequest() *PublicChatHistoryBadRequest

NewPublicChatHistoryBadRequest creates a PublicChatHistoryBadRequest with default headers values

func (*PublicChatHistoryBadRequest) Error

func (*PublicChatHistoryBadRequest) GetPayload

func (*PublicChatHistoryBadRequest) ToJSONString

func (o *PublicChatHistoryBadRequest) ToJSONString() string

type PublicChatHistoryForbidden

type PublicChatHistoryForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicChatHistoryForbidden handles this case with default header values.

Forbidden

func NewPublicChatHistoryForbidden

func NewPublicChatHistoryForbidden() *PublicChatHistoryForbidden

NewPublicChatHistoryForbidden creates a PublicChatHistoryForbidden with default headers values

func (*PublicChatHistoryForbidden) Error

func (*PublicChatHistoryForbidden) GetPayload

func (*PublicChatHistoryForbidden) ToJSONString

func (o *PublicChatHistoryForbidden) ToJSONString() string

type PublicChatHistoryInternalServerError

type PublicChatHistoryInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicChatHistoryInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicChatHistoryInternalServerError

func NewPublicChatHistoryInternalServerError() *PublicChatHistoryInternalServerError

NewPublicChatHistoryInternalServerError creates a PublicChatHistoryInternalServerError with default headers values

func (*PublicChatHistoryInternalServerError) Error

func (*PublicChatHistoryInternalServerError) GetPayload

func (*PublicChatHistoryInternalServerError) ToJSONString

func (o *PublicChatHistoryInternalServerError) ToJSONString() string

type PublicChatHistoryOK

type PublicChatHistoryOK struct {
	Payload []*chatclientmodels.ModelsChatMessageResponse
}

PublicChatHistoryOK handles this case with default header values.

OK

func NewPublicChatHistoryOK

func NewPublicChatHistoryOK() *PublicChatHistoryOK

NewPublicChatHistoryOK creates a PublicChatHistoryOK with default headers values

func (*PublicChatHistoryOK) Error

func (o *PublicChatHistoryOK) Error() string

func (*PublicChatHistoryOK) GetPayload

func (*PublicChatHistoryOK) ToJSONString

func (o *PublicChatHistoryOK) ToJSONString() string

type PublicChatHistoryParams

type PublicChatHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID that receive the chat

	*/
	Topic string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Order
	  anyof: createdAt:asc / createdAt:desc

	*/
	Order *string
	/*StartCreatedAt
	  lastChatCreatedAt

	*/
	StartCreatedAt *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicChatHistoryParams contains all the parameters to send to the API endpoint for the public chat history operation typically these are written to a http.Request

func NewPublicChatHistoryParams

func NewPublicChatHistoryParams() *PublicChatHistoryParams

NewPublicChatHistoryParams creates a new PublicChatHistoryParams object with the default values initialized.

func NewPublicChatHistoryParamsWithContext

func NewPublicChatHistoryParamsWithContext(ctx context.Context) *PublicChatHistoryParams

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

func NewPublicChatHistoryParamsWithHTTPClient

func NewPublicChatHistoryParamsWithHTTPClient(client *http.Client) *PublicChatHistoryParams

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

func NewPublicChatHistoryParamsWithTimeout

func NewPublicChatHistoryParamsWithTimeout(timeout time.Duration) *PublicChatHistoryParams

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

func (*PublicChatHistoryParams) SetAuthInfoWriter

func (o *PublicChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public chat history params

func (*PublicChatHistoryParams) SetContext

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

SetContext adds the context to the public chat history params

func (*PublicChatHistoryParams) SetFlightId

func (o *PublicChatHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicChatHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public chat history params

func (*PublicChatHistoryParams) SetHTTPClientTransport

func (o *PublicChatHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public chat history params

func (*PublicChatHistoryParams) SetLimit

func (o *PublicChatHistoryParams) SetLimit(limit *int64)

SetLimit adds the limit to the public chat history params

func (*PublicChatHistoryParams) SetNamespace

func (o *PublicChatHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public chat history params

func (*PublicChatHistoryParams) SetOrder

func (o *PublicChatHistoryParams) SetOrder(order *string)

SetOrder adds the order to the public chat history params

func (*PublicChatHistoryParams) SetStartCreatedAt

func (o *PublicChatHistoryParams) SetStartCreatedAt(startCreatedAt *int64)

SetStartCreatedAt adds the startCreatedAt to the public chat history params

func (*PublicChatHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the public chat history params

func (*PublicChatHistoryParams) SetTopic

func (o *PublicChatHistoryParams) SetTopic(topic string)

SetTopic adds the topic to the public chat history params

func (*PublicChatHistoryParams) WithContext

WithContext adds the context to the public chat history params

func (*PublicChatHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public chat history params

func (*PublicChatHistoryParams) WithLimit

WithLimit adds the limit to the public chat history params

func (*PublicChatHistoryParams) WithNamespace

func (o *PublicChatHistoryParams) WithNamespace(namespace string) *PublicChatHistoryParams

WithNamespace adds the namespace to the public chat history params

func (*PublicChatHistoryParams) WithOrder

WithOrder adds the order to the public chat history params

func (*PublicChatHistoryParams) WithStartCreatedAt

func (o *PublicChatHistoryParams) WithStartCreatedAt(startCreatedAt *int64) *PublicChatHistoryParams

WithStartCreatedAt adds the startCreatedAt to the public chat history params

func (*PublicChatHistoryParams) WithTimeout

WithTimeout adds the timeout to the public chat history params

func (*PublicChatHistoryParams) WithTopic

WithTopic adds the topic to the public chat history params

func (*PublicChatHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicChatHistoryReader

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

PublicChatHistoryReader is a Reader for the PublicChatHistory structure.

func (*PublicChatHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicChatHistoryUnauthorized

type PublicChatHistoryUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicChatHistoryUnauthorized handles this case with default header values.

Unauthorized

func NewPublicChatHistoryUnauthorized

func NewPublicChatHistoryUnauthorized() *PublicChatHistoryUnauthorized

NewPublicChatHistoryUnauthorized creates a PublicChatHistoryUnauthorized with default headers values

func (*PublicChatHistoryUnauthorized) Error

func (*PublicChatHistoryUnauthorized) GetPayload

func (*PublicChatHistoryUnauthorized) ToJSONString

func (o *PublicChatHistoryUnauthorized) ToJSONString() string

type PublicDeleteChatBadRequest

type PublicDeleteChatBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicDeleteChatBadRequest handles this case with default header values.

Bad Request

func NewPublicDeleteChatBadRequest

func NewPublicDeleteChatBadRequest() *PublicDeleteChatBadRequest

NewPublicDeleteChatBadRequest creates a PublicDeleteChatBadRequest with default headers values

func (*PublicDeleteChatBadRequest) Error

func (*PublicDeleteChatBadRequest) GetPayload

func (*PublicDeleteChatBadRequest) ToJSONString

func (o *PublicDeleteChatBadRequest) ToJSONString() string

type PublicDeleteChatForbidden

type PublicDeleteChatForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicDeleteChatForbidden handles this case with default header values.

Forbidden

func NewPublicDeleteChatForbidden

func NewPublicDeleteChatForbidden() *PublicDeleteChatForbidden

NewPublicDeleteChatForbidden creates a PublicDeleteChatForbidden with default headers values

func (*PublicDeleteChatForbidden) Error

func (o *PublicDeleteChatForbidden) Error() string

func (*PublicDeleteChatForbidden) GetPayload

func (*PublicDeleteChatForbidden) ToJSONString

func (o *PublicDeleteChatForbidden) ToJSONString() string

type PublicDeleteChatInternalServerError

type PublicDeleteChatInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicDeleteChatInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicDeleteChatInternalServerError

func NewPublicDeleteChatInternalServerError() *PublicDeleteChatInternalServerError

NewPublicDeleteChatInternalServerError creates a PublicDeleteChatInternalServerError with default headers values

func (*PublicDeleteChatInternalServerError) Error

func (*PublicDeleteChatInternalServerError) GetPayload

func (*PublicDeleteChatInternalServerError) ToJSONString

func (o *PublicDeleteChatInternalServerError) ToJSONString() string

type PublicDeleteChatNoContent

type PublicDeleteChatNoContent struct {
}

PublicDeleteChatNoContent handles this case with default header values.

No Content

func NewPublicDeleteChatNoContent

func NewPublicDeleteChatNoContent() *PublicDeleteChatNoContent

NewPublicDeleteChatNoContent creates a PublicDeleteChatNoContent with default headers values

func (*PublicDeleteChatNoContent) Error

func (o *PublicDeleteChatNoContent) Error() string

type PublicDeleteChatParams

type PublicDeleteChatParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChatID
	  chat ID od the chat

	*/
	ChatID string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID of the chat

	*/
	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
}

PublicDeleteChatParams contains all the parameters to send to the API endpoint for the public delete chat operation typically these are written to a http.Request

func NewPublicDeleteChatParams

func NewPublicDeleteChatParams() *PublicDeleteChatParams

NewPublicDeleteChatParams creates a new PublicDeleteChatParams object with the default values initialized.

func NewPublicDeleteChatParamsWithContext

func NewPublicDeleteChatParamsWithContext(ctx context.Context) *PublicDeleteChatParams

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

func NewPublicDeleteChatParamsWithHTTPClient

func NewPublicDeleteChatParamsWithHTTPClient(client *http.Client) *PublicDeleteChatParams

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

func NewPublicDeleteChatParamsWithTimeout

func NewPublicDeleteChatParamsWithTimeout(timeout time.Duration) *PublicDeleteChatParams

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

func (*PublicDeleteChatParams) SetAuthInfoWriter

func (o *PublicDeleteChatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public delete chat params

func (*PublicDeleteChatParams) SetChatID

func (o *PublicDeleteChatParams) SetChatID(chatID string)

SetChatID adds the chatId to the public delete chat params

func (*PublicDeleteChatParams) SetContext

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

SetContext adds the context to the public delete chat params

func (*PublicDeleteChatParams) SetFlightId

func (o *PublicDeleteChatParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicDeleteChatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public delete chat params

func (*PublicDeleteChatParams) SetHTTPClientTransport

func (o *PublicDeleteChatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public delete chat params

func (*PublicDeleteChatParams) SetNamespace

func (o *PublicDeleteChatParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete chat params

func (*PublicDeleteChatParams) SetTimeout

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

SetTimeout adds the timeout to the public delete chat params

func (*PublicDeleteChatParams) SetTopic

func (o *PublicDeleteChatParams) SetTopic(topic string)

SetTopic adds the topic to the public delete chat params

func (*PublicDeleteChatParams) WithChatID

func (o *PublicDeleteChatParams) WithChatID(chatID string) *PublicDeleteChatParams

WithChatID adds the chatID to the public delete chat params

func (*PublicDeleteChatParams) WithContext

WithContext adds the context to the public delete chat params

func (*PublicDeleteChatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public delete chat params

func (*PublicDeleteChatParams) WithNamespace

func (o *PublicDeleteChatParams) WithNamespace(namespace string) *PublicDeleteChatParams

WithNamespace adds the namespace to the public delete chat params

func (*PublicDeleteChatParams) WithTimeout

WithTimeout adds the timeout to the public delete chat params

func (*PublicDeleteChatParams) WithTopic

WithTopic adds the topic to the public delete chat params

func (*PublicDeleteChatParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeleteChatReader

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

PublicDeleteChatReader is a Reader for the PublicDeleteChat structure.

func (*PublicDeleteChatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDeleteChatUnauthorized

type PublicDeleteChatUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicDeleteChatUnauthorized handles this case with default header values.

Unauthorized

func NewPublicDeleteChatUnauthorized

func NewPublicDeleteChatUnauthorized() *PublicDeleteChatUnauthorized

NewPublicDeleteChatUnauthorized creates a PublicDeleteChatUnauthorized with default headers values

func (*PublicDeleteChatUnauthorized) Error

func (*PublicDeleteChatUnauthorized) GetPayload

func (*PublicDeleteChatUnauthorized) ToJSONString

func (o *PublicDeleteChatUnauthorized) ToJSONString() string

type PublicGetMutedTopicsBadRequest

type PublicGetMutedTopicsBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetMutedTopicsBadRequest handles this case with default header values.

Bad Request

func NewPublicGetMutedTopicsBadRequest

func NewPublicGetMutedTopicsBadRequest() *PublicGetMutedTopicsBadRequest

NewPublicGetMutedTopicsBadRequest creates a PublicGetMutedTopicsBadRequest with default headers values

func (*PublicGetMutedTopicsBadRequest) Error

func (*PublicGetMutedTopicsBadRequest) GetPayload

func (*PublicGetMutedTopicsBadRequest) ToJSONString

func (o *PublicGetMutedTopicsBadRequest) ToJSONString() string

type PublicGetMutedTopicsForbidden

type PublicGetMutedTopicsForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetMutedTopicsForbidden handles this case with default header values.

Forbidden

func NewPublicGetMutedTopicsForbidden

func NewPublicGetMutedTopicsForbidden() *PublicGetMutedTopicsForbidden

NewPublicGetMutedTopicsForbidden creates a PublicGetMutedTopicsForbidden with default headers values

func (*PublicGetMutedTopicsForbidden) Error

func (*PublicGetMutedTopicsForbidden) GetPayload

func (*PublicGetMutedTopicsForbidden) ToJSONString

func (o *PublicGetMutedTopicsForbidden) ToJSONString() string

type PublicGetMutedTopicsInternalServerError

type PublicGetMutedTopicsInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetMutedTopicsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetMutedTopicsInternalServerError

func NewPublicGetMutedTopicsInternalServerError() *PublicGetMutedTopicsInternalServerError

NewPublicGetMutedTopicsInternalServerError creates a PublicGetMutedTopicsInternalServerError with default headers values

func (*PublicGetMutedTopicsInternalServerError) Error

func (*PublicGetMutedTopicsInternalServerError) GetPayload

func (*PublicGetMutedTopicsInternalServerError) ToJSONString

type PublicGetMutedTopicsOK

type PublicGetMutedTopicsOK struct {
	Payload []*chatclientmodels.APIMutedTopicResponse
}

PublicGetMutedTopicsOK handles this case with default header values.

OK

func NewPublicGetMutedTopicsOK

func NewPublicGetMutedTopicsOK() *PublicGetMutedTopicsOK

NewPublicGetMutedTopicsOK creates a PublicGetMutedTopicsOK with default headers values

func (*PublicGetMutedTopicsOK) Error

func (o *PublicGetMutedTopicsOK) Error() string

func (*PublicGetMutedTopicsOK) GetPayload

func (*PublicGetMutedTopicsOK) ToJSONString

func (o *PublicGetMutedTopicsOK) ToJSONString() string

type PublicGetMutedTopicsParams

type PublicGetMutedTopicsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

PublicGetMutedTopicsParams contains all the parameters to send to the API endpoint for the public get muted topics operation typically these are written to a http.Request

func NewPublicGetMutedTopicsParams

func NewPublicGetMutedTopicsParams() *PublicGetMutedTopicsParams

NewPublicGetMutedTopicsParams creates a new PublicGetMutedTopicsParams object with the default values initialized.

func NewPublicGetMutedTopicsParamsWithContext

func NewPublicGetMutedTopicsParamsWithContext(ctx context.Context) *PublicGetMutedTopicsParams

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

func NewPublicGetMutedTopicsParamsWithHTTPClient

func NewPublicGetMutedTopicsParamsWithHTTPClient(client *http.Client) *PublicGetMutedTopicsParams

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

func NewPublicGetMutedTopicsParamsWithTimeout

func NewPublicGetMutedTopicsParamsWithTimeout(timeout time.Duration) *PublicGetMutedTopicsParams

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

func (*PublicGetMutedTopicsParams) SetAuthInfoWriter

func (o *PublicGetMutedTopicsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get muted topics params

func (*PublicGetMutedTopicsParams) SetContext

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

SetContext adds the context to the public get muted topics params

func (*PublicGetMutedTopicsParams) SetFlightId

func (o *PublicGetMutedTopicsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetMutedTopicsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get muted topics params

func (*PublicGetMutedTopicsParams) SetHTTPClientTransport

func (o *PublicGetMutedTopicsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get muted topics params

func (*PublicGetMutedTopicsParams) SetNamespace

func (o *PublicGetMutedTopicsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get muted topics params

func (*PublicGetMutedTopicsParams) SetTimeout

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

SetTimeout adds the timeout to the public get muted topics params

func (*PublicGetMutedTopicsParams) WithContext

WithContext adds the context to the public get muted topics params

func (*PublicGetMutedTopicsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get muted topics params

func (*PublicGetMutedTopicsParams) WithNamespace

func (o *PublicGetMutedTopicsParams) WithNamespace(namespace string) *PublicGetMutedTopicsParams

WithNamespace adds the namespace to the public get muted topics params

func (*PublicGetMutedTopicsParams) WithTimeout

WithTimeout adds the timeout to the public get muted topics params

func (*PublicGetMutedTopicsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMutedTopicsReader

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

PublicGetMutedTopicsReader is a Reader for the PublicGetMutedTopics structure.

func (*PublicGetMutedTopicsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetMutedTopicsUnauthorized

type PublicGetMutedTopicsUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetMutedTopicsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetMutedTopicsUnauthorized

func NewPublicGetMutedTopicsUnauthorized() *PublicGetMutedTopicsUnauthorized

NewPublicGetMutedTopicsUnauthorized creates a PublicGetMutedTopicsUnauthorized with default headers values

func (*PublicGetMutedTopicsUnauthorized) Error

func (*PublicGetMutedTopicsUnauthorized) GetPayload

func (*PublicGetMutedTopicsUnauthorized) ToJSONString

func (o *PublicGetMutedTopicsUnauthorized) ToJSONString() string

type PublicMuteUserBadRequest

type PublicMuteUserBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicMuteUserBadRequest handles this case with default header values.

Bad Request

func NewPublicMuteUserBadRequest

func NewPublicMuteUserBadRequest() *PublicMuteUserBadRequest

NewPublicMuteUserBadRequest creates a PublicMuteUserBadRequest with default headers values

func (*PublicMuteUserBadRequest) Error

func (o *PublicMuteUserBadRequest) Error() string

func (*PublicMuteUserBadRequest) GetPayload

func (*PublicMuteUserBadRequest) ToJSONString

func (o *PublicMuteUserBadRequest) ToJSONString() string

type PublicMuteUserForbidden

type PublicMuteUserForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicMuteUserForbidden handles this case with default header values.

Forbidden

func NewPublicMuteUserForbidden

func NewPublicMuteUserForbidden() *PublicMuteUserForbidden

NewPublicMuteUserForbidden creates a PublicMuteUserForbidden with default headers values

func (*PublicMuteUserForbidden) Error

func (o *PublicMuteUserForbidden) Error() string

func (*PublicMuteUserForbidden) GetPayload

func (*PublicMuteUserForbidden) ToJSONString

func (o *PublicMuteUserForbidden) ToJSONString() string

type PublicMuteUserInternalServerError

type PublicMuteUserInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicMuteUserInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicMuteUserInternalServerError

func NewPublicMuteUserInternalServerError() *PublicMuteUserInternalServerError

NewPublicMuteUserInternalServerError creates a PublicMuteUserInternalServerError with default headers values

func (*PublicMuteUserInternalServerError) Error

func (*PublicMuteUserInternalServerError) GetPayload

func (*PublicMuteUserInternalServerError) ToJSONString

func (o *PublicMuteUserInternalServerError) ToJSONString() string

type PublicMuteUserNoContent

type PublicMuteUserNoContent struct {
}

PublicMuteUserNoContent handles this case with default header values.

No Content

func NewPublicMuteUserNoContent

func NewPublicMuteUserNoContent() *PublicMuteUserNoContent

NewPublicMuteUserNoContent creates a PublicMuteUserNoContent with default headers values

func (*PublicMuteUserNoContent) Error

func (o *PublicMuteUserNoContent) Error() string

type PublicMuteUserParams

type PublicMuteUserParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APIMuteUserRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	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
}

PublicMuteUserParams contains all the parameters to send to the API endpoint for the public mute user operation typically these are written to a http.Request

func NewPublicMuteUserParams

func NewPublicMuteUserParams() *PublicMuteUserParams

NewPublicMuteUserParams creates a new PublicMuteUserParams object with the default values initialized.

func NewPublicMuteUserParamsWithContext

func NewPublicMuteUserParamsWithContext(ctx context.Context) *PublicMuteUserParams

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

func NewPublicMuteUserParamsWithHTTPClient

func NewPublicMuteUserParamsWithHTTPClient(client *http.Client) *PublicMuteUserParams

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

func NewPublicMuteUserParamsWithTimeout

func NewPublicMuteUserParamsWithTimeout(timeout time.Duration) *PublicMuteUserParams

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

func (*PublicMuteUserParams) SetAuthInfoWriter

func (o *PublicMuteUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public mute user params

func (*PublicMuteUserParams) SetBody

SetBody adds the body to the public mute user params

func (*PublicMuteUserParams) SetContext

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

SetContext adds the context to the public mute user params

func (*PublicMuteUserParams) SetFlightId

func (o *PublicMuteUserParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicMuteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public mute user params

func (*PublicMuteUserParams) SetHTTPClientTransport

func (o *PublicMuteUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public mute user params

func (*PublicMuteUserParams) SetNamespace

func (o *PublicMuteUserParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public mute user params

func (*PublicMuteUserParams) SetTimeout

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

SetTimeout adds the timeout to the public mute user params

func (*PublicMuteUserParams) SetTopic

func (o *PublicMuteUserParams) SetTopic(topic string)

SetTopic adds the topic to the public mute user params

func (*PublicMuteUserParams) WithBody

WithBody adds the body to the public mute user params

func (*PublicMuteUserParams) WithContext

WithContext adds the context to the public mute user params

func (*PublicMuteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public mute user params

func (*PublicMuteUserParams) WithNamespace

func (o *PublicMuteUserParams) WithNamespace(namespace string) *PublicMuteUserParams

WithNamespace adds the namespace to the public mute user params

func (*PublicMuteUserParams) WithTimeout

func (o *PublicMuteUserParams) WithTimeout(timeout time.Duration) *PublicMuteUserParams

WithTimeout adds the timeout to the public mute user params

func (*PublicMuteUserParams) WithTopic

func (o *PublicMuteUserParams) WithTopic(topic string) *PublicMuteUserParams

WithTopic adds the topic to the public mute user params

func (*PublicMuteUserParams) WriteToRequest

func (o *PublicMuteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PublicMuteUserReader

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

PublicMuteUserReader is a Reader for the PublicMuteUser structure.

func (*PublicMuteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicMuteUserUnauthorized

type PublicMuteUserUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicMuteUserUnauthorized handles this case with default header values.

Unauthorized

func NewPublicMuteUserUnauthorized

func NewPublicMuteUserUnauthorized() *PublicMuteUserUnauthorized

NewPublicMuteUserUnauthorized creates a PublicMuteUserUnauthorized with default headers values

func (*PublicMuteUserUnauthorized) Error

func (*PublicMuteUserUnauthorized) GetPayload

func (*PublicMuteUserUnauthorized) ToJSONString

func (o *PublicMuteUserUnauthorized) ToJSONString() string

type PublicTopicListBadRequest

type PublicTopicListBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicTopicListBadRequest handles this case with default header values.

Bad Request

func NewPublicTopicListBadRequest

func NewPublicTopicListBadRequest() *PublicTopicListBadRequest

NewPublicTopicListBadRequest creates a PublicTopicListBadRequest with default headers values

func (*PublicTopicListBadRequest) Error

func (o *PublicTopicListBadRequest) Error() string

func (*PublicTopicListBadRequest) GetPayload

func (*PublicTopicListBadRequest) ToJSONString

func (o *PublicTopicListBadRequest) ToJSONString() string

type PublicTopicListForbidden

type PublicTopicListForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicTopicListForbidden handles this case with default header values.

Forbidden

func NewPublicTopicListForbidden

func NewPublicTopicListForbidden() *PublicTopicListForbidden

NewPublicTopicListForbidden creates a PublicTopicListForbidden with default headers values

func (*PublicTopicListForbidden) Error

func (o *PublicTopicListForbidden) Error() string

func (*PublicTopicListForbidden) GetPayload

func (*PublicTopicListForbidden) ToJSONString

func (o *PublicTopicListForbidden) ToJSONString() string

type PublicTopicListInternalServerError

type PublicTopicListInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicTopicListInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicTopicListInternalServerError

func NewPublicTopicListInternalServerError() *PublicTopicListInternalServerError

NewPublicTopicListInternalServerError creates a PublicTopicListInternalServerError with default headers values

func (*PublicTopicListInternalServerError) Error

func (*PublicTopicListInternalServerError) GetPayload

func (*PublicTopicListInternalServerError) ToJSONString

func (o *PublicTopicListInternalServerError) ToJSONString() string

type PublicTopicListOK

type PublicTopicListOK struct {
	Payload []*chatclientmodels.ModelsChatMessageResponse
}

PublicTopicListOK handles this case with default header values.

OK

func NewPublicTopicListOK

func NewPublicTopicListOK() *PublicTopicListOK

NewPublicTopicListOK creates a PublicTopicListOK with default headers values

func (*PublicTopicListOK) Error

func (o *PublicTopicListOK) Error() string

func (*PublicTopicListOK) GetPayload

func (*PublicTopicListOK) ToJSONString

func (o *PublicTopicListOK) ToJSONString() string

type PublicTopicListParams

type PublicTopicListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*TopicType
	  PERSONAL or GROUP

	*/
	TopicType *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
}

PublicTopicListParams contains all the parameters to send to the API endpoint for the public topic list operation typically these are written to a http.Request

func NewPublicTopicListParams

func NewPublicTopicListParams() *PublicTopicListParams

NewPublicTopicListParams creates a new PublicTopicListParams object with the default values initialized.

func NewPublicTopicListParamsWithContext

func NewPublicTopicListParamsWithContext(ctx context.Context) *PublicTopicListParams

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

func NewPublicTopicListParamsWithHTTPClient

func NewPublicTopicListParamsWithHTTPClient(client *http.Client) *PublicTopicListParams

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

func NewPublicTopicListParamsWithTimeout

func NewPublicTopicListParamsWithTimeout(timeout time.Duration) *PublicTopicListParams

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

func (*PublicTopicListParams) SetAuthInfoWriter

func (o *PublicTopicListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public topic list params

func (*PublicTopicListParams) SetContext

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

SetContext adds the context to the public topic list params

func (*PublicTopicListParams) SetFlightId

func (o *PublicTopicListParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicTopicListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public topic list params

func (*PublicTopicListParams) SetHTTPClientTransport

func (o *PublicTopicListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public topic list params

func (*PublicTopicListParams) SetLimit

func (o *PublicTopicListParams) SetLimit(limit *int64)

SetLimit adds the limit to the public topic list params

func (*PublicTopicListParams) SetNamespace

func (o *PublicTopicListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public topic list params

func (*PublicTopicListParams) SetOffset

func (o *PublicTopicListParams) SetOffset(offset *int64)

SetOffset adds the offset to the public topic list params

func (*PublicTopicListParams) SetTimeout

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

SetTimeout adds the timeout to the public topic list params

func (*PublicTopicListParams) SetTopicType

func (o *PublicTopicListParams) SetTopicType(topicType *string)

SetTopicType adds the topicType to the public topic list params

func (*PublicTopicListParams) WithContext

WithContext adds the context to the public topic list params

func (*PublicTopicListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public topic list params

func (*PublicTopicListParams) WithLimit

func (o *PublicTopicListParams) WithLimit(limit *int64) *PublicTopicListParams

WithLimit adds the limit to the public topic list params

func (*PublicTopicListParams) WithNamespace

func (o *PublicTopicListParams) WithNamespace(namespace string) *PublicTopicListParams

WithNamespace adds the namespace to the public topic list params

func (*PublicTopicListParams) WithOffset

func (o *PublicTopicListParams) WithOffset(offset *int64) *PublicTopicListParams

WithOffset adds the offset to the public topic list params

func (*PublicTopicListParams) WithTimeout

func (o *PublicTopicListParams) WithTimeout(timeout time.Duration) *PublicTopicListParams

WithTimeout adds the timeout to the public topic list params

func (*PublicTopicListParams) WithTopicType

func (o *PublicTopicListParams) WithTopicType(topicType *string) *PublicTopicListParams

WithTopicType adds the topicType to the public topic list params

func (*PublicTopicListParams) WriteToRequest

func (o *PublicTopicListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PublicTopicListReader

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

PublicTopicListReader is a Reader for the PublicTopicList structure.

func (*PublicTopicListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicTopicListUnauthorized

type PublicTopicListUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicTopicListUnauthorized handles this case with default header values.

Unauthorized

func NewPublicTopicListUnauthorized

func NewPublicTopicListUnauthorized() *PublicTopicListUnauthorized

NewPublicTopicListUnauthorized creates a PublicTopicListUnauthorized with default headers values

func (*PublicTopicListUnauthorized) Error

func (*PublicTopicListUnauthorized) GetPayload

func (*PublicTopicListUnauthorized) ToJSONString

func (o *PublicTopicListUnauthorized) ToJSONString() string

type PublicUnbanTopicMembersBadRequest

type PublicUnbanTopicMembersBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnbanTopicMembersBadRequest handles this case with default header values.

Bad Request

func NewPublicUnbanTopicMembersBadRequest

func NewPublicUnbanTopicMembersBadRequest() *PublicUnbanTopicMembersBadRequest

NewPublicUnbanTopicMembersBadRequest creates a PublicUnbanTopicMembersBadRequest with default headers values

func (*PublicUnbanTopicMembersBadRequest) Error

func (*PublicUnbanTopicMembersBadRequest) GetPayload

func (*PublicUnbanTopicMembersBadRequest) ToJSONString

func (o *PublicUnbanTopicMembersBadRequest) ToJSONString() string

type PublicUnbanTopicMembersForbidden

type PublicUnbanTopicMembersForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnbanTopicMembersForbidden handles this case with default header values.

Forbidden

func NewPublicUnbanTopicMembersForbidden

func NewPublicUnbanTopicMembersForbidden() *PublicUnbanTopicMembersForbidden

NewPublicUnbanTopicMembersForbidden creates a PublicUnbanTopicMembersForbidden with default headers values

func (*PublicUnbanTopicMembersForbidden) Error

func (*PublicUnbanTopicMembersForbidden) GetPayload

func (*PublicUnbanTopicMembersForbidden) ToJSONString

func (o *PublicUnbanTopicMembersForbidden) ToJSONString() string

type PublicUnbanTopicMembersInternalServerError

type PublicUnbanTopicMembersInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnbanTopicMembersInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicUnbanTopicMembersInternalServerError

func NewPublicUnbanTopicMembersInternalServerError() *PublicUnbanTopicMembersInternalServerError

NewPublicUnbanTopicMembersInternalServerError creates a PublicUnbanTopicMembersInternalServerError with default headers values

func (*PublicUnbanTopicMembersInternalServerError) Error

func (*PublicUnbanTopicMembersInternalServerError) GetPayload

func (*PublicUnbanTopicMembersInternalServerError) ToJSONString

type PublicUnbanTopicMembersOK

type PublicUnbanTopicMembersOK struct {
	Payload *chatclientmodels.ModelsPublicUnbanTopicMembersResponse
}

PublicUnbanTopicMembersOK handles this case with default header values.

func NewPublicUnbanTopicMembersOK

func NewPublicUnbanTopicMembersOK() *PublicUnbanTopicMembersOK

NewPublicUnbanTopicMembersOK creates a PublicUnbanTopicMembersOK with default headers values

func (*PublicUnbanTopicMembersOK) Error

func (o *PublicUnbanTopicMembersOK) Error() string

func (*PublicUnbanTopicMembersOK) GetPayload

func (*PublicUnbanTopicMembersOK) ToJSONString

func (o *PublicUnbanTopicMembersOK) ToJSONString() string

type PublicUnbanTopicMembersParams

type PublicUnbanTopicMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsPublicUnbanTopicMembersRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	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
}

PublicUnbanTopicMembersParams contains all the parameters to send to the API endpoint for the public unban topic members operation typically these are written to a http.Request

func NewPublicUnbanTopicMembersParams

func NewPublicUnbanTopicMembersParams() *PublicUnbanTopicMembersParams

NewPublicUnbanTopicMembersParams creates a new PublicUnbanTopicMembersParams object with the default values initialized.

func NewPublicUnbanTopicMembersParamsWithContext

func NewPublicUnbanTopicMembersParamsWithContext(ctx context.Context) *PublicUnbanTopicMembersParams

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

func NewPublicUnbanTopicMembersParamsWithHTTPClient

func NewPublicUnbanTopicMembersParamsWithHTTPClient(client *http.Client) *PublicUnbanTopicMembersParams

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

func NewPublicUnbanTopicMembersParamsWithTimeout

func NewPublicUnbanTopicMembersParamsWithTimeout(timeout time.Duration) *PublicUnbanTopicMembersParams

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

func (*PublicUnbanTopicMembersParams) SetAuthInfoWriter

func (o *PublicUnbanTopicMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetBody

SetBody adds the body to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetContext

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

SetContext adds the context to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetFlightId

func (o *PublicUnbanTopicMembersParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicUnbanTopicMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetHTTPClientTransport

func (o *PublicUnbanTopicMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetNamespace

func (o *PublicUnbanTopicMembersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetTimeout

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

SetTimeout adds the timeout to the public unban topic members params

func (*PublicUnbanTopicMembersParams) SetTopic

func (o *PublicUnbanTopicMembersParams) SetTopic(topic string)

SetTopic adds the topic to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WithBody

WithBody adds the body to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WithContext

WithContext adds the context to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WithNamespace

WithNamespace adds the namespace to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WithTimeout

WithTimeout adds the timeout to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WithTopic

WithTopic adds the topic to the public unban topic members params

func (*PublicUnbanTopicMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUnbanTopicMembersReader

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

PublicUnbanTopicMembersReader is a Reader for the PublicUnbanTopicMembers structure.

func (*PublicUnbanTopicMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUnbanTopicMembersUnauthorized

type PublicUnbanTopicMembersUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnbanTopicMembersUnauthorized handles this case with default header values.

Unauthorized

func NewPublicUnbanTopicMembersUnauthorized

func NewPublicUnbanTopicMembersUnauthorized() *PublicUnbanTopicMembersUnauthorized

NewPublicUnbanTopicMembersUnauthorized creates a PublicUnbanTopicMembersUnauthorized with default headers values

func (*PublicUnbanTopicMembersUnauthorized) Error

func (*PublicUnbanTopicMembersUnauthorized) GetPayload

func (*PublicUnbanTopicMembersUnauthorized) ToJSONString

func (o *PublicUnbanTopicMembersUnauthorized) ToJSONString() string

type PublicUnmuteUserBadRequest

type PublicUnmuteUserBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnmuteUserBadRequest handles this case with default header values.

Bad Request

func NewPublicUnmuteUserBadRequest

func NewPublicUnmuteUserBadRequest() *PublicUnmuteUserBadRequest

NewPublicUnmuteUserBadRequest creates a PublicUnmuteUserBadRequest with default headers values

func (*PublicUnmuteUserBadRequest) Error

func (*PublicUnmuteUserBadRequest) GetPayload

func (*PublicUnmuteUserBadRequest) ToJSONString

func (o *PublicUnmuteUserBadRequest) ToJSONString() string

type PublicUnmuteUserForbidden

type PublicUnmuteUserForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnmuteUserForbidden handles this case with default header values.

Forbidden

func NewPublicUnmuteUserForbidden

func NewPublicUnmuteUserForbidden() *PublicUnmuteUserForbidden

NewPublicUnmuteUserForbidden creates a PublicUnmuteUserForbidden with default headers values

func (*PublicUnmuteUserForbidden) Error

func (o *PublicUnmuteUserForbidden) Error() string

func (*PublicUnmuteUserForbidden) GetPayload

func (*PublicUnmuteUserForbidden) ToJSONString

func (o *PublicUnmuteUserForbidden) ToJSONString() string

type PublicUnmuteUserInternalServerError

type PublicUnmuteUserInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnmuteUserInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicUnmuteUserInternalServerError

func NewPublicUnmuteUserInternalServerError() *PublicUnmuteUserInternalServerError

NewPublicUnmuteUserInternalServerError creates a PublicUnmuteUserInternalServerError with default headers values

func (*PublicUnmuteUserInternalServerError) Error

func (*PublicUnmuteUserInternalServerError) GetPayload

func (*PublicUnmuteUserInternalServerError) ToJSONString

func (o *PublicUnmuteUserInternalServerError) ToJSONString() string

type PublicUnmuteUserNoContent

type PublicUnmuteUserNoContent struct {
}

PublicUnmuteUserNoContent handles this case with default header values.

No Content

func NewPublicUnmuteUserNoContent

func NewPublicUnmuteUserNoContent() *PublicUnmuteUserNoContent

NewPublicUnmuteUserNoContent creates a PublicUnmuteUserNoContent with default headers values

func (*PublicUnmuteUserNoContent) Error

func (o *PublicUnmuteUserNoContent) Error() string

type PublicUnmuteUserParams

type PublicUnmuteUserParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.APIUnmuteUserRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Topic
	  topic ID

	*/
	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
}

PublicUnmuteUserParams contains all the parameters to send to the API endpoint for the public unmute user operation typically these are written to a http.Request

func NewPublicUnmuteUserParams

func NewPublicUnmuteUserParams() *PublicUnmuteUserParams

NewPublicUnmuteUserParams creates a new PublicUnmuteUserParams object with the default values initialized.

func NewPublicUnmuteUserParamsWithContext

func NewPublicUnmuteUserParamsWithContext(ctx context.Context) *PublicUnmuteUserParams

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

func NewPublicUnmuteUserParamsWithHTTPClient

func NewPublicUnmuteUserParamsWithHTTPClient(client *http.Client) *PublicUnmuteUserParams

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

func NewPublicUnmuteUserParamsWithTimeout

func NewPublicUnmuteUserParamsWithTimeout(timeout time.Duration) *PublicUnmuteUserParams

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

func (*PublicUnmuteUserParams) SetAuthInfoWriter

func (o *PublicUnmuteUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public unmute user params

func (*PublicUnmuteUserParams) SetBody

SetBody adds the body to the public unmute user params

func (*PublicUnmuteUserParams) SetContext

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

SetContext adds the context to the public unmute user params

func (*PublicUnmuteUserParams) SetFlightId

func (o *PublicUnmuteUserParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicUnmuteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public unmute user params

func (*PublicUnmuteUserParams) SetHTTPClientTransport

func (o *PublicUnmuteUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public unmute user params

func (*PublicUnmuteUserParams) SetNamespace

func (o *PublicUnmuteUserParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public unmute user params

func (*PublicUnmuteUserParams) SetTimeout

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

SetTimeout adds the timeout to the public unmute user params

func (*PublicUnmuteUserParams) SetTopic

func (o *PublicUnmuteUserParams) SetTopic(topic string)

SetTopic adds the topic to the public unmute user params

func (*PublicUnmuteUserParams) WithBody

WithBody adds the body to the public unmute user params

func (*PublicUnmuteUserParams) WithContext

WithContext adds the context to the public unmute user params

func (*PublicUnmuteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public unmute user params

func (*PublicUnmuteUserParams) WithNamespace

func (o *PublicUnmuteUserParams) WithNamespace(namespace string) *PublicUnmuteUserParams

WithNamespace adds the namespace to the public unmute user params

func (*PublicUnmuteUserParams) WithTimeout

WithTimeout adds the timeout to the public unmute user params

func (*PublicUnmuteUserParams) WithTopic

WithTopic adds the topic to the public unmute user params

func (*PublicUnmuteUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUnmuteUserReader

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

PublicUnmuteUserReader is a Reader for the PublicUnmuteUser structure.

func (*PublicUnmuteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUnmuteUserUnauthorized

type PublicUnmuteUserUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicUnmuteUserUnauthorized handles this case with default header values.

Unauthorized

func NewPublicUnmuteUserUnauthorized

func NewPublicUnmuteUserUnauthorized() *PublicUnmuteUserUnauthorized

NewPublicUnmuteUserUnauthorized creates a PublicUnmuteUserUnauthorized with default headers values

func (*PublicUnmuteUserUnauthorized) Error

func (*PublicUnmuteUserUnauthorized) GetPayload

func (*PublicUnmuteUserUnauthorized) ToJSONString

func (o *PublicUnmuteUserUnauthorized) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳