profanity

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminProfanityImportFULLREPLACEConstant = "FULLREPLACE"
	AdminProfanityImportLEAVEOUTConstant    = "LEAVEOUT"
	AdminProfanityImportREPLACEConstant     = "REPLACE"
)

Get the enum in AdminProfanityImportParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminProfanityCreateBadRequest

type AdminProfanityCreateBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityCreateBadRequest

func NewAdminProfanityCreateBadRequest() *AdminProfanityCreateBadRequest

NewAdminProfanityCreateBadRequest creates a AdminProfanityCreateBadRequest with default headers values

func (*AdminProfanityCreateBadRequest) Error

func (*AdminProfanityCreateBadRequest) GetPayload

func (*AdminProfanityCreateBadRequest) ToJSONString

func (o *AdminProfanityCreateBadRequest) ToJSONString() string

type AdminProfanityCreateBulkBadRequest

type AdminProfanityCreateBulkBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateBulkBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityCreateBulkBadRequest

func NewAdminProfanityCreateBulkBadRequest() *AdminProfanityCreateBulkBadRequest

NewAdminProfanityCreateBulkBadRequest creates a AdminProfanityCreateBulkBadRequest with default headers values

func (*AdminProfanityCreateBulkBadRequest) Error

func (*AdminProfanityCreateBulkBadRequest) GetPayload

func (*AdminProfanityCreateBulkBadRequest) ToJSONString

func (o *AdminProfanityCreateBulkBadRequest) ToJSONString() string

type AdminProfanityCreateBulkForbidden

type AdminProfanityCreateBulkForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateBulkForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityCreateBulkForbidden

func NewAdminProfanityCreateBulkForbidden() *AdminProfanityCreateBulkForbidden

NewAdminProfanityCreateBulkForbidden creates a AdminProfanityCreateBulkForbidden with default headers values

func (*AdminProfanityCreateBulkForbidden) Error

func (*AdminProfanityCreateBulkForbidden) GetPayload

func (*AdminProfanityCreateBulkForbidden) ToJSONString

func (o *AdminProfanityCreateBulkForbidden) ToJSONString() string

type AdminProfanityCreateBulkInternalServerError

type AdminProfanityCreateBulkInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateBulkInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityCreateBulkInternalServerError

func NewAdminProfanityCreateBulkInternalServerError() *AdminProfanityCreateBulkInternalServerError

NewAdminProfanityCreateBulkInternalServerError creates a AdminProfanityCreateBulkInternalServerError with default headers values

func (*AdminProfanityCreateBulkInternalServerError) Error

func (*AdminProfanityCreateBulkInternalServerError) GetPayload

func (*AdminProfanityCreateBulkInternalServerError) ToJSONString

type AdminProfanityCreateBulkNoContent

type AdminProfanityCreateBulkNoContent struct {
	Payload *chatclientmodels.ModelsDictionary
}

AdminProfanityCreateBulkNoContent handles this case with default header values.

No Content

func NewAdminProfanityCreateBulkNoContent

func NewAdminProfanityCreateBulkNoContent() *AdminProfanityCreateBulkNoContent

NewAdminProfanityCreateBulkNoContent creates a AdminProfanityCreateBulkNoContent with default headers values

func (*AdminProfanityCreateBulkNoContent) Error

func (*AdminProfanityCreateBulkNoContent) GetPayload

func (*AdminProfanityCreateBulkNoContent) ToJSONString

func (o *AdminProfanityCreateBulkNoContent) ToJSONString() string

type AdminProfanityCreateBulkNotFound

type AdminProfanityCreateBulkNotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateBulkNotFound handles this case with default header values.

Not Found

func NewAdminProfanityCreateBulkNotFound

func NewAdminProfanityCreateBulkNotFound() *AdminProfanityCreateBulkNotFound

NewAdminProfanityCreateBulkNotFound creates a AdminProfanityCreateBulkNotFound with default headers values

func (*AdminProfanityCreateBulkNotFound) Error

func (*AdminProfanityCreateBulkNotFound) GetPayload

func (*AdminProfanityCreateBulkNotFound) ToJSONString

func (o *AdminProfanityCreateBulkNotFound) ToJSONString() string

type AdminProfanityCreateBulkParams

type AdminProfanityCreateBulkParams struct {

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

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

func NewAdminProfanityCreateBulkParams

func NewAdminProfanityCreateBulkParams() *AdminProfanityCreateBulkParams

NewAdminProfanityCreateBulkParams creates a new AdminProfanityCreateBulkParams object with the default values initialized.

func NewAdminProfanityCreateBulkParamsWithContext

func NewAdminProfanityCreateBulkParamsWithContext(ctx context.Context) *AdminProfanityCreateBulkParams

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

func NewAdminProfanityCreateBulkParamsWithHTTPClient

func NewAdminProfanityCreateBulkParamsWithHTTPClient(client *http.Client) *AdminProfanityCreateBulkParams

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

func NewAdminProfanityCreateBulkParamsWithTimeout

func NewAdminProfanityCreateBulkParamsWithTimeout(timeout time.Duration) *AdminProfanityCreateBulkParams

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

func (*AdminProfanityCreateBulkParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) SetBody

SetBody adds the body to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) SetContext

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

SetContext adds the context to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) SetFlightId added in v0.63.0

func (o *AdminProfanityCreateBulkParams) SetFlightId(flightId string)

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

func (*AdminProfanityCreateBulkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) SetNamespace

func (o *AdminProfanityCreateBulkParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) WithBody

WithBody adds the body to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) WithContext

WithContext adds the context to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) WithNamespace

WithNamespace adds the namespace to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) WithTimeout

WithTimeout adds the timeout to the admin profanity create bulk params

func (*AdminProfanityCreateBulkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityCreateBulkReader

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

AdminProfanityCreateBulkReader is a Reader for the AdminProfanityCreateBulk structure.

func (*AdminProfanityCreateBulkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityCreateBulkUnauthorized

type AdminProfanityCreateBulkUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateBulkUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityCreateBulkUnauthorized

func NewAdminProfanityCreateBulkUnauthorized() *AdminProfanityCreateBulkUnauthorized

NewAdminProfanityCreateBulkUnauthorized creates a AdminProfanityCreateBulkUnauthorized with default headers values

func (*AdminProfanityCreateBulkUnauthorized) Error

func (*AdminProfanityCreateBulkUnauthorized) GetPayload

func (*AdminProfanityCreateBulkUnauthorized) ToJSONString

func (o *AdminProfanityCreateBulkUnauthorized) ToJSONString() string

type AdminProfanityCreateForbidden

type AdminProfanityCreateForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityCreateForbidden

func NewAdminProfanityCreateForbidden() *AdminProfanityCreateForbidden

NewAdminProfanityCreateForbidden creates a AdminProfanityCreateForbidden with default headers values

func (*AdminProfanityCreateForbidden) Error

func (*AdminProfanityCreateForbidden) GetPayload

func (*AdminProfanityCreateForbidden) ToJSONString

func (o *AdminProfanityCreateForbidden) ToJSONString() string

type AdminProfanityCreateInternalServerError

type AdminProfanityCreateInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityCreateInternalServerError

func NewAdminProfanityCreateInternalServerError() *AdminProfanityCreateInternalServerError

NewAdminProfanityCreateInternalServerError creates a AdminProfanityCreateInternalServerError with default headers values

func (*AdminProfanityCreateInternalServerError) Error

func (*AdminProfanityCreateInternalServerError) GetPayload

func (*AdminProfanityCreateInternalServerError) ToJSONString

type AdminProfanityCreateNotFound

type AdminProfanityCreateNotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateNotFound handles this case with default header values.

Not Found

func NewAdminProfanityCreateNotFound

func NewAdminProfanityCreateNotFound() *AdminProfanityCreateNotFound

NewAdminProfanityCreateNotFound creates a AdminProfanityCreateNotFound with default headers values

func (*AdminProfanityCreateNotFound) Error

func (*AdminProfanityCreateNotFound) GetPayload

func (*AdminProfanityCreateNotFound) ToJSONString

func (o *AdminProfanityCreateNotFound) ToJSONString() string

type AdminProfanityCreateOK

type AdminProfanityCreateOK struct {
	Payload *chatclientmodels.ModelsDictionary
}

AdminProfanityCreateOK handles this case with default header values.

OK

func NewAdminProfanityCreateOK

func NewAdminProfanityCreateOK() *AdminProfanityCreateOK

NewAdminProfanityCreateOK creates a AdminProfanityCreateOK with default headers values

func (*AdminProfanityCreateOK) Error

func (o *AdminProfanityCreateOK) Error() string

func (*AdminProfanityCreateOK) GetPayload

func (*AdminProfanityCreateOK) ToJSONString

func (o *AdminProfanityCreateOK) ToJSONString() string

type AdminProfanityCreateParams

type AdminProfanityCreateParams struct {

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

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

func NewAdminProfanityCreateParams

func NewAdminProfanityCreateParams() *AdminProfanityCreateParams

NewAdminProfanityCreateParams creates a new AdminProfanityCreateParams object with the default values initialized.

func NewAdminProfanityCreateParamsWithContext

func NewAdminProfanityCreateParamsWithContext(ctx context.Context) *AdminProfanityCreateParams

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

func NewAdminProfanityCreateParamsWithHTTPClient

func NewAdminProfanityCreateParamsWithHTTPClient(client *http.Client) *AdminProfanityCreateParams

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

func NewAdminProfanityCreateParamsWithTimeout

func NewAdminProfanityCreateParamsWithTimeout(timeout time.Duration) *AdminProfanityCreateParams

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

func (*AdminProfanityCreateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity create params

func (*AdminProfanityCreateParams) SetBody

SetBody adds the body to the admin profanity create params

func (*AdminProfanityCreateParams) SetContext

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

SetContext adds the context to the admin profanity create params

func (*AdminProfanityCreateParams) SetFlightId added in v0.63.0

func (o *AdminProfanityCreateParams) SetFlightId(flightId string)

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

func (*AdminProfanityCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity create params

func (*AdminProfanityCreateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity create params

func (*AdminProfanityCreateParams) SetNamespace

func (o *AdminProfanityCreateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity create params

func (*AdminProfanityCreateParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity create params

func (*AdminProfanityCreateParams) WithBody

WithBody adds the body to the admin profanity create params

func (*AdminProfanityCreateParams) WithContext

WithContext adds the context to the admin profanity create params

func (*AdminProfanityCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin profanity create params

func (*AdminProfanityCreateParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity create params

func (*AdminProfanityCreateParams) WithTimeout

WithTimeout adds the timeout to the admin profanity create params

func (*AdminProfanityCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityCreateReader

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

AdminProfanityCreateReader is a Reader for the AdminProfanityCreate structure.

func (*AdminProfanityCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityCreateUnauthorized

type AdminProfanityCreateUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityCreateUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityCreateUnauthorized

func NewAdminProfanityCreateUnauthorized() *AdminProfanityCreateUnauthorized

NewAdminProfanityCreateUnauthorized creates a AdminProfanityCreateUnauthorized with default headers values

func (*AdminProfanityCreateUnauthorized) Error

func (*AdminProfanityCreateUnauthorized) GetPayload

func (*AdminProfanityCreateUnauthorized) ToJSONString

func (o *AdminProfanityCreateUnauthorized) ToJSONString() string

type AdminProfanityDeleteBadRequest

type AdminProfanityDeleteBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityDeleteBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityDeleteBadRequest

func NewAdminProfanityDeleteBadRequest() *AdminProfanityDeleteBadRequest

NewAdminProfanityDeleteBadRequest creates a AdminProfanityDeleteBadRequest with default headers values

func (*AdminProfanityDeleteBadRequest) Error

func (*AdminProfanityDeleteBadRequest) GetPayload

func (*AdminProfanityDeleteBadRequest) ToJSONString

func (o *AdminProfanityDeleteBadRequest) ToJSONString() string

type AdminProfanityDeleteForbidden

type AdminProfanityDeleteForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityDeleteForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityDeleteForbidden

func NewAdminProfanityDeleteForbidden() *AdminProfanityDeleteForbidden

NewAdminProfanityDeleteForbidden creates a AdminProfanityDeleteForbidden with default headers values

func (*AdminProfanityDeleteForbidden) Error

func (*AdminProfanityDeleteForbidden) GetPayload

func (*AdminProfanityDeleteForbidden) ToJSONString

func (o *AdminProfanityDeleteForbidden) ToJSONString() string

type AdminProfanityDeleteInternalServerError

type AdminProfanityDeleteInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityDeleteInternalServerError

func NewAdminProfanityDeleteInternalServerError() *AdminProfanityDeleteInternalServerError

NewAdminProfanityDeleteInternalServerError creates a AdminProfanityDeleteInternalServerError with default headers values

func (*AdminProfanityDeleteInternalServerError) Error

func (*AdminProfanityDeleteInternalServerError) GetPayload

func (*AdminProfanityDeleteInternalServerError) ToJSONString

type AdminProfanityDeleteNoContent

type AdminProfanityDeleteNoContent struct {
}

AdminProfanityDeleteNoContent handles this case with default header values.

No Content

func NewAdminProfanityDeleteNoContent

func NewAdminProfanityDeleteNoContent() *AdminProfanityDeleteNoContent

NewAdminProfanityDeleteNoContent creates a AdminProfanityDeleteNoContent with default headers values

func (*AdminProfanityDeleteNoContent) Error

type AdminProfanityDeleteNotFound

type AdminProfanityDeleteNotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityDeleteNotFound handles this case with default header values.

Not Found

func NewAdminProfanityDeleteNotFound

func NewAdminProfanityDeleteNotFound() *AdminProfanityDeleteNotFound

NewAdminProfanityDeleteNotFound creates a AdminProfanityDeleteNotFound with default headers values

func (*AdminProfanityDeleteNotFound) Error

func (*AdminProfanityDeleteNotFound) GetPayload

func (*AdminProfanityDeleteNotFound) ToJSONString

func (o *AdminProfanityDeleteNotFound) ToJSONString() string

type AdminProfanityDeleteParams

type AdminProfanityDeleteParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ID
	  id of the dictionary

	*/
	ID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

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

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

func NewAdminProfanityDeleteParams

func NewAdminProfanityDeleteParams() *AdminProfanityDeleteParams

NewAdminProfanityDeleteParams creates a new AdminProfanityDeleteParams object with the default values initialized.

func NewAdminProfanityDeleteParamsWithContext

func NewAdminProfanityDeleteParamsWithContext(ctx context.Context) *AdminProfanityDeleteParams

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

func NewAdminProfanityDeleteParamsWithHTTPClient

func NewAdminProfanityDeleteParamsWithHTTPClient(client *http.Client) *AdminProfanityDeleteParams

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

func NewAdminProfanityDeleteParamsWithTimeout

func NewAdminProfanityDeleteParamsWithTimeout(timeout time.Duration) *AdminProfanityDeleteParams

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

func (*AdminProfanityDeleteParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity delete params

func (*AdminProfanityDeleteParams) SetContext

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

SetContext adds the context to the admin profanity delete params

func (*AdminProfanityDeleteParams) SetFlightId added in v0.63.0

func (o *AdminProfanityDeleteParams) SetFlightId(flightId string)

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

func (*AdminProfanityDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity delete params

func (*AdminProfanityDeleteParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity delete params

func (*AdminProfanityDeleteParams) SetID

func (o *AdminProfanityDeleteParams) SetID(idVar string)

SetID adds the id to the admin profanity delete params

func (*AdminProfanityDeleteParams) SetNamespace

func (o *AdminProfanityDeleteParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity delete params

func (*AdminProfanityDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity delete params

func (*AdminProfanityDeleteParams) WithContext

WithContext adds the context to the admin profanity delete params

func (*AdminProfanityDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin profanity delete params

func (*AdminProfanityDeleteParams) WithID

WithID adds the idVar to the admin profanity delete params

func (*AdminProfanityDeleteParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity delete params

func (*AdminProfanityDeleteParams) WithTimeout

WithTimeout adds the timeout to the admin profanity delete params

func (*AdminProfanityDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityDeleteReader

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

AdminProfanityDeleteReader is a Reader for the AdminProfanityDelete structure.

func (*AdminProfanityDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityDeleteUnauthorized

type AdminProfanityDeleteUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityDeleteUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityDeleteUnauthorized

func NewAdminProfanityDeleteUnauthorized() *AdminProfanityDeleteUnauthorized

NewAdminProfanityDeleteUnauthorized creates a AdminProfanityDeleteUnauthorized with default headers values

func (*AdminProfanityDeleteUnauthorized) Error

func (*AdminProfanityDeleteUnauthorized) GetPayload

func (*AdminProfanityDeleteUnauthorized) ToJSONString

func (o *AdminProfanityDeleteUnauthorized) ToJSONString() string

type AdminProfanityExportBadRequest

type AdminProfanityExportBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityExportBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityExportBadRequest

func NewAdminProfanityExportBadRequest() *AdminProfanityExportBadRequest

NewAdminProfanityExportBadRequest creates a AdminProfanityExportBadRequest with default headers values

func (*AdminProfanityExportBadRequest) Error

func (*AdminProfanityExportBadRequest) GetPayload

func (*AdminProfanityExportBadRequest) ToJSONString

func (o *AdminProfanityExportBadRequest) ToJSONString() string

type AdminProfanityExportForbidden

type AdminProfanityExportForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityExportForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityExportForbidden

func NewAdminProfanityExportForbidden() *AdminProfanityExportForbidden

NewAdminProfanityExportForbidden creates a AdminProfanityExportForbidden with default headers values

func (*AdminProfanityExportForbidden) Error

func (*AdminProfanityExportForbidden) GetPayload

func (*AdminProfanityExportForbidden) ToJSONString

func (o *AdminProfanityExportForbidden) ToJSONString() string

type AdminProfanityExportInternalServerError

type AdminProfanityExportInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityExportInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityExportInternalServerError

func NewAdminProfanityExportInternalServerError() *AdminProfanityExportInternalServerError

NewAdminProfanityExportInternalServerError creates a AdminProfanityExportInternalServerError with default headers values

func (*AdminProfanityExportInternalServerError) Error

func (*AdminProfanityExportInternalServerError) GetPayload

func (*AdminProfanityExportInternalServerError) ToJSONString

type AdminProfanityExportOK

type AdminProfanityExportOK struct {
	Payload *chatclientmodels.ModelsDictionaryExport
}

AdminProfanityExportOK handles this case with default header values.

OK

func NewAdminProfanityExportOK

func NewAdminProfanityExportOK() *AdminProfanityExportOK

NewAdminProfanityExportOK creates a AdminProfanityExportOK with default headers values

func (*AdminProfanityExportOK) Error

func (o *AdminProfanityExportOK) Error() string

func (*AdminProfanityExportOK) GetPayload

func (*AdminProfanityExportOK) ToJSONString

func (o *AdminProfanityExportOK) ToJSONString() string

type AdminProfanityExportParams

type AdminProfanityExportParams 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
}

AdminProfanityExportParams contains all the parameters to send to the API endpoint for the admin profanity export operation typically these are written to a http.Request

func NewAdminProfanityExportParams

func NewAdminProfanityExportParams() *AdminProfanityExportParams

NewAdminProfanityExportParams creates a new AdminProfanityExportParams object with the default values initialized.

func NewAdminProfanityExportParamsWithContext

func NewAdminProfanityExportParamsWithContext(ctx context.Context) *AdminProfanityExportParams

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

func NewAdminProfanityExportParamsWithHTTPClient

func NewAdminProfanityExportParamsWithHTTPClient(client *http.Client) *AdminProfanityExportParams

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

func NewAdminProfanityExportParamsWithTimeout

func NewAdminProfanityExportParamsWithTimeout(timeout time.Duration) *AdminProfanityExportParams

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

func (*AdminProfanityExportParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity export params

func (*AdminProfanityExportParams) SetContext

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

SetContext adds the context to the admin profanity export params

func (*AdminProfanityExportParams) SetFlightId added in v0.63.0

func (o *AdminProfanityExportParams) SetFlightId(flightId string)

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

func (*AdminProfanityExportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity export params

func (*AdminProfanityExportParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity export params

func (*AdminProfanityExportParams) SetNamespace

func (o *AdminProfanityExportParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity export params

func (*AdminProfanityExportParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity export params

func (*AdminProfanityExportParams) WithContext

WithContext adds the context to the admin profanity export params

func (*AdminProfanityExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin profanity export params

func (*AdminProfanityExportParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity export params

func (*AdminProfanityExportParams) WithTimeout

WithTimeout adds the timeout to the admin profanity export params

func (*AdminProfanityExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityExportReader

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

AdminProfanityExportReader is a Reader for the AdminProfanityExport structure.

func (*AdminProfanityExportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityExportUnauthorized

type AdminProfanityExportUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityExportUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityExportUnauthorized

func NewAdminProfanityExportUnauthorized() *AdminProfanityExportUnauthorized

NewAdminProfanityExportUnauthorized creates a AdminProfanityExportUnauthorized with default headers values

func (*AdminProfanityExportUnauthorized) Error

func (*AdminProfanityExportUnauthorized) GetPayload

func (*AdminProfanityExportUnauthorized) ToJSONString

func (o *AdminProfanityExportUnauthorized) ToJSONString() string

type AdminProfanityGroupBadRequest

type AdminProfanityGroupBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityGroupBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityGroupBadRequest

func NewAdminProfanityGroupBadRequest() *AdminProfanityGroupBadRequest

NewAdminProfanityGroupBadRequest creates a AdminProfanityGroupBadRequest with default headers values

func (*AdminProfanityGroupBadRequest) Error

func (*AdminProfanityGroupBadRequest) GetPayload

func (*AdminProfanityGroupBadRequest) ToJSONString

func (o *AdminProfanityGroupBadRequest) ToJSONString() string

type AdminProfanityGroupForbidden

type AdminProfanityGroupForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityGroupForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityGroupForbidden

func NewAdminProfanityGroupForbidden() *AdminProfanityGroupForbidden

NewAdminProfanityGroupForbidden creates a AdminProfanityGroupForbidden with default headers values

func (*AdminProfanityGroupForbidden) Error

func (*AdminProfanityGroupForbidden) GetPayload

func (*AdminProfanityGroupForbidden) ToJSONString

func (o *AdminProfanityGroupForbidden) ToJSONString() string

type AdminProfanityGroupInternalServerError

type AdminProfanityGroupInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityGroupInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityGroupInternalServerError

func NewAdminProfanityGroupInternalServerError() *AdminProfanityGroupInternalServerError

NewAdminProfanityGroupInternalServerError creates a AdminProfanityGroupInternalServerError with default headers values

func (*AdminProfanityGroupInternalServerError) Error

func (*AdminProfanityGroupInternalServerError) GetPayload

func (*AdminProfanityGroupInternalServerError) ToJSONString

type AdminProfanityGroupOK

type AdminProfanityGroupOK struct {
	Payload []*chatclientmodels.ModelsDictionaryGroup
}

AdminProfanityGroupOK handles this case with default header values.

OK

func NewAdminProfanityGroupOK

func NewAdminProfanityGroupOK() *AdminProfanityGroupOK

NewAdminProfanityGroupOK creates a AdminProfanityGroupOK with default headers values

func (*AdminProfanityGroupOK) Error

func (o *AdminProfanityGroupOK) Error() string

func (*AdminProfanityGroupOK) GetPayload

func (*AdminProfanityGroupOK) ToJSONString

func (o *AdminProfanityGroupOK) ToJSONString() string

type AdminProfanityGroupParams

type AdminProfanityGroupParams struct {

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

	*/
	Namespace string
	/*Limit
	  default: 100

	*/
	Limit *int64
	/*Offset
	  offset

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

AdminProfanityGroupParams contains all the parameters to send to the API endpoint for the admin profanity group operation typically these are written to a http.Request

func NewAdminProfanityGroupParams

func NewAdminProfanityGroupParams() *AdminProfanityGroupParams

NewAdminProfanityGroupParams creates a new AdminProfanityGroupParams object with the default values initialized.

func NewAdminProfanityGroupParamsWithContext

func NewAdminProfanityGroupParamsWithContext(ctx context.Context) *AdminProfanityGroupParams

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

func NewAdminProfanityGroupParamsWithHTTPClient

func NewAdminProfanityGroupParamsWithHTTPClient(client *http.Client) *AdminProfanityGroupParams

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

func NewAdminProfanityGroupParamsWithTimeout

func NewAdminProfanityGroupParamsWithTimeout(timeout time.Duration) *AdminProfanityGroupParams

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

func (*AdminProfanityGroupParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity group params

func (*AdminProfanityGroupParams) SetContext

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

SetContext adds the context to the admin profanity group params

func (*AdminProfanityGroupParams) SetFlightId added in v0.63.0

func (o *AdminProfanityGroupParams) SetFlightId(flightId string)

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

func (*AdminProfanityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity group params

func (*AdminProfanityGroupParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity group params

func (*AdminProfanityGroupParams) SetLimit

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

SetLimit adds the limit to the admin profanity group params

func (*AdminProfanityGroupParams) SetNamespace

func (o *AdminProfanityGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity group params

func (*AdminProfanityGroupParams) SetOffset

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

SetOffset adds the offset to the admin profanity group params

func (*AdminProfanityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity group params

func (*AdminProfanityGroupParams) WithContext

WithContext adds the context to the admin profanity group params

func (*AdminProfanityGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin profanity group params

func (*AdminProfanityGroupParams) WithLimit

WithLimit adds the limit to the admin profanity group params

func (*AdminProfanityGroupParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity group params

func (*AdminProfanityGroupParams) WithOffset

WithOffset adds the offset to the admin profanity group params

func (*AdminProfanityGroupParams) WithTimeout

WithTimeout adds the timeout to the admin profanity group params

func (*AdminProfanityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityGroupReader

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

AdminProfanityGroupReader is a Reader for the AdminProfanityGroup structure.

func (*AdminProfanityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityGroupUnauthorized

type AdminProfanityGroupUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityGroupUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityGroupUnauthorized

func NewAdminProfanityGroupUnauthorized() *AdminProfanityGroupUnauthorized

NewAdminProfanityGroupUnauthorized creates a AdminProfanityGroupUnauthorized with default headers values

func (*AdminProfanityGroupUnauthorized) Error

func (*AdminProfanityGroupUnauthorized) GetPayload

func (*AdminProfanityGroupUnauthorized) ToJSONString

func (o *AdminProfanityGroupUnauthorized) ToJSONString() string

type AdminProfanityImportBadRequest

type AdminProfanityImportBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityImportBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityImportBadRequest

func NewAdminProfanityImportBadRequest() *AdminProfanityImportBadRequest

NewAdminProfanityImportBadRequest creates a AdminProfanityImportBadRequest with default headers values

func (*AdminProfanityImportBadRequest) Error

func (*AdminProfanityImportBadRequest) GetPayload

func (*AdminProfanityImportBadRequest) ToJSONString

func (o *AdminProfanityImportBadRequest) ToJSONString() string

type AdminProfanityImportForbidden

type AdminProfanityImportForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityImportForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityImportForbidden

func NewAdminProfanityImportForbidden() *AdminProfanityImportForbidden

NewAdminProfanityImportForbidden creates a AdminProfanityImportForbidden with default headers values

func (*AdminProfanityImportForbidden) Error

func (*AdminProfanityImportForbidden) GetPayload

func (*AdminProfanityImportForbidden) ToJSONString

func (o *AdminProfanityImportForbidden) ToJSONString() string

type AdminProfanityImportInternalServerError

type AdminProfanityImportInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityImportInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityImportInternalServerError

func NewAdminProfanityImportInternalServerError() *AdminProfanityImportInternalServerError

NewAdminProfanityImportInternalServerError creates a AdminProfanityImportInternalServerError with default headers values

func (*AdminProfanityImportInternalServerError) Error

func (*AdminProfanityImportInternalServerError) GetPayload

func (*AdminProfanityImportInternalServerError) ToJSONString

type AdminProfanityImportNoContent

type AdminProfanityImportNoContent struct {
}

AdminProfanityImportNoContent handles this case with default header values.

No Content returned when showResult=false or not defined

func NewAdminProfanityImportNoContent

func NewAdminProfanityImportNoContent() *AdminProfanityImportNoContent

NewAdminProfanityImportNoContent creates a AdminProfanityImportNoContent with default headers values

func (*AdminProfanityImportNoContent) Error

type AdminProfanityImportOK

type AdminProfanityImportOK struct {
	Payload *chatclientmodels.ModelsDictionaryImportResult
}

AdminProfanityImportOK handles this case with default header values.

returned when showResult=true

func NewAdminProfanityImportOK

func NewAdminProfanityImportOK() *AdminProfanityImportOK

NewAdminProfanityImportOK creates a AdminProfanityImportOK with default headers values

func (*AdminProfanityImportOK) Error

func (o *AdminProfanityImportOK) Error() string

func (*AdminProfanityImportOK) GetPayload

func (*AdminProfanityImportOK) ToJSONString

func (o *AdminProfanityImportOK) ToJSONString() string

type AdminProfanityImportParams

type AdminProfanityImportParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File
	  file to be imported

	*/
	File runtime.NamedReadCloser
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Action
	    The action when same words already exists</br>
									<b>REPLACE</b>: replace all same words with imported false positives and false negatives, existing non-imported words won't be removed</br>
	                                <b>FULLREPLACE</b>: replace all words with imported data and remove existing non-imported words, list words will be exactly same with imported data</br>
	                                <b>LEAVEOUT</b>: ignore imported same words, false positives and false negatives won't be replaced with imported data'

	*/
	Action *string
	/*ShowResult
	  When showResult=true, this endpoint with returns imported words result

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

AdminProfanityImportParams contains all the parameters to send to the API endpoint for the admin profanity import operation typically these are written to a http.Request

func NewAdminProfanityImportParams

func NewAdminProfanityImportParams() *AdminProfanityImportParams

NewAdminProfanityImportParams creates a new AdminProfanityImportParams object with the default values initialized.

func NewAdminProfanityImportParamsWithContext

func NewAdminProfanityImportParamsWithContext(ctx context.Context) *AdminProfanityImportParams

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

func NewAdminProfanityImportParamsWithHTTPClient

func NewAdminProfanityImportParamsWithHTTPClient(client *http.Client) *AdminProfanityImportParams

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

func NewAdminProfanityImportParamsWithTimeout

func NewAdminProfanityImportParamsWithTimeout(timeout time.Duration) *AdminProfanityImportParams

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

func (*AdminProfanityImportParams) SetAction

func (o *AdminProfanityImportParams) SetAction(action *string)

SetAction adds the action to the admin profanity import params

func (*AdminProfanityImportParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity import params

func (*AdminProfanityImportParams) SetContext

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

SetContext adds the context to the admin profanity import params

func (*AdminProfanityImportParams) SetFile

SetFile adds the file to the admin profanity import params

func (*AdminProfanityImportParams) SetFlightId added in v0.63.0

func (o *AdminProfanityImportParams) SetFlightId(flightId string)

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

func (*AdminProfanityImportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity import params

func (*AdminProfanityImportParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity import params

func (*AdminProfanityImportParams) SetNamespace

func (o *AdminProfanityImportParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity import params

func (*AdminProfanityImportParams) SetShowResult

func (o *AdminProfanityImportParams) SetShowResult(showResult *bool)

SetShowResult adds the showResult to the admin profanity import params

func (*AdminProfanityImportParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity import params

func (*AdminProfanityImportParams) WithAction

WithAction adds the action to the admin profanity import params

func (*AdminProfanityImportParams) WithContext

WithContext adds the context to the admin profanity import params

func (*AdminProfanityImportParams) WithFile

WithFile adds the file to the admin profanity import params

func (*AdminProfanityImportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin profanity import params

func (*AdminProfanityImportParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity import params

func (*AdminProfanityImportParams) WithShowResult

func (o *AdminProfanityImportParams) WithShowResult(showResult *bool) *AdminProfanityImportParams

WithShowResult adds the showResult to the admin profanity import params

func (*AdminProfanityImportParams) WithTimeout

WithTimeout adds the timeout to the admin profanity import params

func (*AdminProfanityImportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityImportReader

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

AdminProfanityImportReader is a Reader for the AdminProfanityImport structure.

func (*AdminProfanityImportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityImportUnauthorized

type AdminProfanityImportUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityImportUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityImportUnauthorized

func NewAdminProfanityImportUnauthorized() *AdminProfanityImportUnauthorized

NewAdminProfanityImportUnauthorized creates a AdminProfanityImportUnauthorized with default headers values

func (*AdminProfanityImportUnauthorized) Error

func (*AdminProfanityImportUnauthorized) GetPayload

func (*AdminProfanityImportUnauthorized) ToJSONString

func (o *AdminProfanityImportUnauthorized) ToJSONString() string

type AdminProfanityQueryBadRequest

type AdminProfanityQueryBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityQueryBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityQueryBadRequest

func NewAdminProfanityQueryBadRequest() *AdminProfanityQueryBadRequest

NewAdminProfanityQueryBadRequest creates a AdminProfanityQueryBadRequest with default headers values

func (*AdminProfanityQueryBadRequest) Error

func (*AdminProfanityQueryBadRequest) GetPayload

func (*AdminProfanityQueryBadRequest) ToJSONString

func (o *AdminProfanityQueryBadRequest) ToJSONString() string

type AdminProfanityQueryForbidden

type AdminProfanityQueryForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityQueryForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityQueryForbidden

func NewAdminProfanityQueryForbidden() *AdminProfanityQueryForbidden

NewAdminProfanityQueryForbidden creates a AdminProfanityQueryForbidden with default headers values

func (*AdminProfanityQueryForbidden) Error

func (*AdminProfanityQueryForbidden) GetPayload

func (*AdminProfanityQueryForbidden) ToJSONString

func (o *AdminProfanityQueryForbidden) ToJSONString() string

type AdminProfanityQueryInternalServerError

type AdminProfanityQueryInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityQueryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityQueryInternalServerError

func NewAdminProfanityQueryInternalServerError() *AdminProfanityQueryInternalServerError

NewAdminProfanityQueryInternalServerError creates a AdminProfanityQueryInternalServerError with default headers values

func (*AdminProfanityQueryInternalServerError) Error

func (*AdminProfanityQueryInternalServerError) GetPayload

func (*AdminProfanityQueryInternalServerError) ToJSONString

type AdminProfanityQueryNotFound

type AdminProfanityQueryNotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityQueryNotFound handles this case with default header values.

Not Found

func NewAdminProfanityQueryNotFound

func NewAdminProfanityQueryNotFound() *AdminProfanityQueryNotFound

NewAdminProfanityQueryNotFound creates a AdminProfanityQueryNotFound with default headers values

func (*AdminProfanityQueryNotFound) Error

func (*AdminProfanityQueryNotFound) GetPayload

func (*AdminProfanityQueryNotFound) ToJSONString

func (o *AdminProfanityQueryNotFound) ToJSONString() string

type AdminProfanityQueryOK

type AdminProfanityQueryOK struct {
	Payload *chatclientmodels.ModelsDictionaryQueryResult
}

AdminProfanityQueryOK handles this case with default header values.

OK

func NewAdminProfanityQueryOK

func NewAdminProfanityQueryOK() *AdminProfanityQueryOK

NewAdminProfanityQueryOK creates a AdminProfanityQueryOK with default headers values

func (*AdminProfanityQueryOK) Error

func (o *AdminProfanityQueryOK) Error() string

func (*AdminProfanityQueryOK) GetPayload

func (*AdminProfanityQueryOK) ToJSONString

func (o *AdminProfanityQueryOK) ToJSONString() string

type AdminProfanityQueryParams

type AdminProfanityQueryParams struct {

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

	*/
	Namespace string
	/*FilterMask
	  filter mask

	*/
	FilterMask *string
	/*IncludeChildren
	  include false positives and false negatives

	*/
	IncludeChildren *bool
	/*Limit
	  limit

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*ParentID
	  parent ID of the word

	*/
	ParentID *string
	/*StartWith
	  word start with

	*/
	StartWith *string
	/*WordType
	  type of the word: PROFANITY, FALSEPOSITIVE, FALSENEGATIVE

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

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

func NewAdminProfanityQueryParams

func NewAdminProfanityQueryParams() *AdminProfanityQueryParams

NewAdminProfanityQueryParams creates a new AdminProfanityQueryParams object with the default values initialized.

func NewAdminProfanityQueryParamsWithContext

func NewAdminProfanityQueryParamsWithContext(ctx context.Context) *AdminProfanityQueryParams

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

func NewAdminProfanityQueryParamsWithHTTPClient

func NewAdminProfanityQueryParamsWithHTTPClient(client *http.Client) *AdminProfanityQueryParams

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

func NewAdminProfanityQueryParamsWithTimeout

func NewAdminProfanityQueryParamsWithTimeout(timeout time.Duration) *AdminProfanityQueryParams

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

func (*AdminProfanityQueryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity query params

func (*AdminProfanityQueryParams) SetContext

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

SetContext adds the context to the admin profanity query params

func (*AdminProfanityQueryParams) SetFilterMask

func (o *AdminProfanityQueryParams) SetFilterMask(filterMask *string)

SetFilterMask adds the filterMask to the admin profanity query params

func (*AdminProfanityQueryParams) SetFlightId added in v0.63.0

func (o *AdminProfanityQueryParams) SetFlightId(flightId string)

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

func (*AdminProfanityQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity query params

func (*AdminProfanityQueryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity query params

func (*AdminProfanityQueryParams) SetIncludeChildren

func (o *AdminProfanityQueryParams) SetIncludeChildren(includeChildren *bool)

SetIncludeChildren adds the includeChildren to the admin profanity query params

func (*AdminProfanityQueryParams) SetLimit

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

SetLimit adds the limit to the admin profanity query params

func (*AdminProfanityQueryParams) SetNamespace

func (o *AdminProfanityQueryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity query params

func (*AdminProfanityQueryParams) SetOffset

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

SetOffset adds the offset to the admin profanity query params

func (*AdminProfanityQueryParams) SetParentID

func (o *AdminProfanityQueryParams) SetParentID(parentID *string)

SetParentID adds the parentId to the admin profanity query params

func (*AdminProfanityQueryParams) SetStartWith

func (o *AdminProfanityQueryParams) SetStartWith(startWith *string)

SetStartWith adds the startWith to the admin profanity query params

func (*AdminProfanityQueryParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity query params

func (*AdminProfanityQueryParams) SetWordType

func (o *AdminProfanityQueryParams) SetWordType(wordType *string)

SetWordType adds the wordType to the admin profanity query params

func (*AdminProfanityQueryParams) WithContext

WithContext adds the context to the admin profanity query params

func (*AdminProfanityQueryParams) WithFilterMask

func (o *AdminProfanityQueryParams) WithFilterMask(filterMask *string) *AdminProfanityQueryParams

WithFilterMask adds the filterMask to the admin profanity query params

func (*AdminProfanityQueryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin profanity query params

func (*AdminProfanityQueryParams) WithIncludeChildren

func (o *AdminProfanityQueryParams) WithIncludeChildren(includeChildren *bool) *AdminProfanityQueryParams

WithIncludeChildren adds the includeChildren to the admin profanity query params

func (*AdminProfanityQueryParams) WithLimit

WithLimit adds the limit to the admin profanity query params

func (*AdminProfanityQueryParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity query params

func (*AdminProfanityQueryParams) WithOffset

WithOffset adds the offset to the admin profanity query params

func (*AdminProfanityQueryParams) WithParentID

func (o *AdminProfanityQueryParams) WithParentID(parentID *string) *AdminProfanityQueryParams

WithParentID adds the parentID to the admin profanity query params

func (*AdminProfanityQueryParams) WithStartWith

func (o *AdminProfanityQueryParams) WithStartWith(startWith *string) *AdminProfanityQueryParams

WithStartWith adds the startWith to the admin profanity query params

func (*AdminProfanityQueryParams) WithTimeout

WithTimeout adds the timeout to the admin profanity query params

func (*AdminProfanityQueryParams) WithWordType

func (o *AdminProfanityQueryParams) WithWordType(wordType *string) *AdminProfanityQueryParams

WithWordType adds the wordType to the admin profanity query params

func (*AdminProfanityQueryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityQueryReader

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

AdminProfanityQueryReader is a Reader for the AdminProfanityQuery structure.

func (*AdminProfanityQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityQueryUnauthorized

type AdminProfanityQueryUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityQueryUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityQueryUnauthorized

func NewAdminProfanityQueryUnauthorized() *AdminProfanityQueryUnauthorized

NewAdminProfanityQueryUnauthorized creates a AdminProfanityQueryUnauthorized with default headers values

func (*AdminProfanityQueryUnauthorized) Error

func (*AdminProfanityQueryUnauthorized) GetPayload

func (*AdminProfanityQueryUnauthorized) ToJSONString

func (o *AdminProfanityQueryUnauthorized) ToJSONString() string

type AdminProfanityUpdateBadRequest

type AdminProfanityUpdateBadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityUpdateBadRequest handles this case with default header values.

Bad Request

func NewAdminProfanityUpdateBadRequest

func NewAdminProfanityUpdateBadRequest() *AdminProfanityUpdateBadRequest

NewAdminProfanityUpdateBadRequest creates a AdminProfanityUpdateBadRequest with default headers values

func (*AdminProfanityUpdateBadRequest) Error

func (*AdminProfanityUpdateBadRequest) GetPayload

func (*AdminProfanityUpdateBadRequest) ToJSONString

func (o *AdminProfanityUpdateBadRequest) ToJSONString() string

type AdminProfanityUpdateForbidden

type AdminProfanityUpdateForbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityUpdateForbidden handles this case with default header values.

Forbidden

func NewAdminProfanityUpdateForbidden

func NewAdminProfanityUpdateForbidden() *AdminProfanityUpdateForbidden

NewAdminProfanityUpdateForbidden creates a AdminProfanityUpdateForbidden with default headers values

func (*AdminProfanityUpdateForbidden) Error

func (*AdminProfanityUpdateForbidden) GetPayload

func (*AdminProfanityUpdateForbidden) ToJSONString

func (o *AdminProfanityUpdateForbidden) ToJSONString() string

type AdminProfanityUpdateInternalServerError

type AdminProfanityUpdateInternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityUpdateInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminProfanityUpdateInternalServerError

func NewAdminProfanityUpdateInternalServerError() *AdminProfanityUpdateInternalServerError

NewAdminProfanityUpdateInternalServerError creates a AdminProfanityUpdateInternalServerError with default headers values

func (*AdminProfanityUpdateInternalServerError) Error

func (*AdminProfanityUpdateInternalServerError) GetPayload

func (*AdminProfanityUpdateInternalServerError) ToJSONString

type AdminProfanityUpdateNotFound

type AdminProfanityUpdateNotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityUpdateNotFound handles this case with default header values.

Not Found

func NewAdminProfanityUpdateNotFound

func NewAdminProfanityUpdateNotFound() *AdminProfanityUpdateNotFound

NewAdminProfanityUpdateNotFound creates a AdminProfanityUpdateNotFound with default headers values

func (*AdminProfanityUpdateNotFound) Error

func (*AdminProfanityUpdateNotFound) GetPayload

func (*AdminProfanityUpdateNotFound) ToJSONString

func (o *AdminProfanityUpdateNotFound) ToJSONString() string

type AdminProfanityUpdateOK

type AdminProfanityUpdateOK struct {
	Payload *chatclientmodels.ModelsDictionary
}

AdminProfanityUpdateOK handles this case with default header values.

OK

func NewAdminProfanityUpdateOK

func NewAdminProfanityUpdateOK() *AdminProfanityUpdateOK

NewAdminProfanityUpdateOK creates a AdminProfanityUpdateOK with default headers values

func (*AdminProfanityUpdateOK) Error

func (o *AdminProfanityUpdateOK) Error() string

func (*AdminProfanityUpdateOK) GetPayload

func (*AdminProfanityUpdateOK) ToJSONString

func (o *AdminProfanityUpdateOK) ToJSONString() string

type AdminProfanityUpdateParams

type AdminProfanityUpdateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsDictionaryUpdateRequest
	/*ID
	  id of the dictionary

	*/
	ID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

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

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

func NewAdminProfanityUpdateParams

func NewAdminProfanityUpdateParams() *AdminProfanityUpdateParams

NewAdminProfanityUpdateParams creates a new AdminProfanityUpdateParams object with the default values initialized.

func NewAdminProfanityUpdateParamsWithContext

func NewAdminProfanityUpdateParamsWithContext(ctx context.Context) *AdminProfanityUpdateParams

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

func NewAdminProfanityUpdateParamsWithHTTPClient

func NewAdminProfanityUpdateParamsWithHTTPClient(client *http.Client) *AdminProfanityUpdateParams

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

func NewAdminProfanityUpdateParamsWithTimeout

func NewAdminProfanityUpdateParamsWithTimeout(timeout time.Duration) *AdminProfanityUpdateParams

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

func (*AdminProfanityUpdateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin profanity update params

func (*AdminProfanityUpdateParams) SetBody

SetBody adds the body to the admin profanity update params

func (*AdminProfanityUpdateParams) SetContext

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

SetContext adds the context to the admin profanity update params

func (*AdminProfanityUpdateParams) SetFlightId added in v0.63.0

func (o *AdminProfanityUpdateParams) SetFlightId(flightId string)

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

func (*AdminProfanityUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin profanity update params

func (*AdminProfanityUpdateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin profanity update params

func (*AdminProfanityUpdateParams) SetID

func (o *AdminProfanityUpdateParams) SetID(idVar string)

SetID adds the id to the admin profanity update params

func (*AdminProfanityUpdateParams) SetNamespace

func (o *AdminProfanityUpdateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin profanity update params

func (*AdminProfanityUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the admin profanity update params

func (*AdminProfanityUpdateParams) WithBody

WithBody adds the body to the admin profanity update params

func (*AdminProfanityUpdateParams) WithContext

WithContext adds the context to the admin profanity update params

func (*AdminProfanityUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin profanity update params

func (*AdminProfanityUpdateParams) WithID

WithID adds the idVar to the admin profanity update params

func (*AdminProfanityUpdateParams) WithNamespace

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

WithNamespace adds the namespace to the admin profanity update params

func (*AdminProfanityUpdateParams) WithTimeout

WithTimeout adds the timeout to the admin profanity update params

func (*AdminProfanityUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProfanityUpdateReader

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

AdminProfanityUpdateReader is a Reader for the AdminProfanityUpdate structure.

func (*AdminProfanityUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProfanityUpdateUnauthorized

type AdminProfanityUpdateUnauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminProfanityUpdateUnauthorized handles this case with default header values.

Unauthorized

func NewAdminProfanityUpdateUnauthorized

func NewAdminProfanityUpdateUnauthorized() *AdminProfanityUpdateUnauthorized

NewAdminProfanityUpdateUnauthorized creates a AdminProfanityUpdateUnauthorized with default headers values

func (*AdminProfanityUpdateUnauthorized) Error

func (*AdminProfanityUpdateUnauthorized) GetPayload

func (*AdminProfanityUpdateUnauthorized) ToJSONString

func (o *AdminProfanityUpdateUnauthorized) ToJSONString() string

type Client

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

Client for profanity API

func (*Client) AdminProfanityCreate deprecated

Deprecated: 2022-08-10 - Use AdminProfanityCreateShort instead.

AdminProfanityCreate admin insert new profanity words Insert new word for profanity censor

func (*Client) AdminProfanityCreateBulk deprecated

Deprecated: 2022-08-10 - Use AdminProfanityCreateBulkShort instead.

AdminProfanityCreateBulk admin bulk insert new profanity words Bulk insert new word for profanity censor

func (*Client) AdminProfanityCreateBulkShort

func (a *Client) AdminProfanityCreateBulkShort(params *AdminProfanityCreateBulkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityCreateBulkNoContent, error)

AdminProfanityCreateBulkShort admin bulk insert new profanity words Bulk insert new word for profanity censor

func (*Client) AdminProfanityCreateShort

func (a *Client) AdminProfanityCreateShort(params *AdminProfanityCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityCreateOK, error)

AdminProfanityCreateShort admin insert new profanity words Insert new word for profanity censor

func (*Client) AdminProfanityDelete deprecated

Deprecated: 2022-08-10 - Use AdminProfanityDeleteShort instead.

AdminProfanityDelete admin delete profanity words Delete profanity words.

func (*Client) AdminProfanityDeleteShort

func (a *Client) AdminProfanityDeleteShort(params *AdminProfanityDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityDeleteNoContent, error)

AdminProfanityDeleteShort admin delete profanity words Delete profanity words.

func (*Client) AdminProfanityExport deprecated

Deprecated: 2022-08-10 - Use AdminProfanityExportShort instead.

AdminProfanityExport admin export profanity words Export profanity words

func (*Client) AdminProfanityExportShort

func (a *Client) AdminProfanityExportShort(params *AdminProfanityExportParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityExportOK, error)

AdminProfanityExportShort admin export profanity words Export profanity words

func (*Client) AdminProfanityGroup deprecated

Deprecated: 2022-08-10 - Use AdminProfanityGroupShort instead.

AdminProfanityGroup admin get profanity words group Get profanity words group.

func (*Client) AdminProfanityGroupShort

func (a *Client) AdminProfanityGroupShort(params *AdminProfanityGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityGroupOK, error)

AdminProfanityGroupShort admin get profanity words group Get profanity words group.

func (*Client) AdminProfanityImport deprecated

Deprecated: 2022-08-10 - Use AdminProfanityImportShort instead.

AdminProfanityImport admin import profanity words Import profanity words

func (*Client) AdminProfanityImportShort

func (a *Client) AdminProfanityImportShort(params *AdminProfanityImportParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityImportOK, error)

AdminProfanityImportShort admin import profanity words Import profanity words

func (*Client) AdminProfanityQuery deprecated

Deprecated: 2022-08-10 - Use AdminProfanityQueryShort instead.

AdminProfanityQuery admin query profanity words Query all profanity words.

func (*Client) AdminProfanityQueryShort

func (a *Client) AdminProfanityQueryShort(params *AdminProfanityQueryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityQueryOK, error)

AdminProfanityQueryShort admin query profanity words Query all profanity words.

func (*Client) AdminProfanityUpdate deprecated

Deprecated: 2022-08-10 - Use AdminProfanityUpdateShort instead.

AdminProfanityUpdate admin update profanity word Update profanity word

func (*Client) AdminProfanityUpdateShort

func (a *Client) AdminProfanityUpdateShort(params *AdminProfanityUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityUpdateOK, error)

AdminProfanityUpdateShort admin update profanity word Update profanity word

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminProfanityQuery(params *AdminProfanityQueryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityQueryOK, *AdminProfanityQueryBadRequest, *AdminProfanityQueryUnauthorized, *AdminProfanityQueryForbidden, *AdminProfanityQueryNotFound, *AdminProfanityQueryInternalServerError, error)
	AdminProfanityQueryShort(params *AdminProfanityQueryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityQueryOK, error)
	AdminProfanityCreate(params *AdminProfanityCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityCreateOK, *AdminProfanityCreateBadRequest, *AdminProfanityCreateUnauthorized, *AdminProfanityCreateForbidden, *AdminProfanityCreateNotFound, *AdminProfanityCreateInternalServerError, error)
	AdminProfanityCreateShort(params *AdminProfanityCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityCreateOK, error)
	AdminProfanityCreateBulk(params *AdminProfanityCreateBulkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityCreateBulkNoContent, *AdminProfanityCreateBulkBadRequest, *AdminProfanityCreateBulkUnauthorized, *AdminProfanityCreateBulkForbidden, *AdminProfanityCreateBulkNotFound, *AdminProfanityCreateBulkInternalServerError, error)
	AdminProfanityCreateBulkShort(params *AdminProfanityCreateBulkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityCreateBulkNoContent, error)
	AdminProfanityExport(params *AdminProfanityExportParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityExportOK, *AdminProfanityExportBadRequest, *AdminProfanityExportUnauthorized, *AdminProfanityExportForbidden, *AdminProfanityExportInternalServerError, error)
	AdminProfanityExportShort(params *AdminProfanityExportParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityExportOK, error)
	AdminProfanityGroup(params *AdminProfanityGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityGroupOK, *AdminProfanityGroupBadRequest, *AdminProfanityGroupUnauthorized, *AdminProfanityGroupForbidden, *AdminProfanityGroupInternalServerError, error)
	AdminProfanityGroupShort(params *AdminProfanityGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityGroupOK, error)
	AdminProfanityImport(params *AdminProfanityImportParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityImportOK, *AdminProfanityImportNoContent, *AdminProfanityImportBadRequest, *AdminProfanityImportUnauthorized, *AdminProfanityImportForbidden, *AdminProfanityImportInternalServerError, error)
	AdminProfanityImportShort(params *AdminProfanityImportParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityImportOK, error)
	AdminProfanityUpdate(params *AdminProfanityUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityUpdateOK, *AdminProfanityUpdateBadRequest, *AdminProfanityUpdateUnauthorized, *AdminProfanityUpdateForbidden, *AdminProfanityUpdateNotFound, *AdminProfanityUpdateInternalServerError, error)
	AdminProfanityUpdateShort(params *AdminProfanityUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityUpdateOK, error)
	AdminProfanityDelete(params *AdminProfanityDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityDeleteNoContent, *AdminProfanityDeleteBadRequest, *AdminProfanityDeleteUnauthorized, *AdminProfanityDeleteForbidden, *AdminProfanityDeleteNotFound, *AdminProfanityDeleteInternalServerError, error)
	AdminProfanityDeleteShort(params *AdminProfanityDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*AdminProfanityDeleteNoContent, 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 profanity API client.

Jump to

Keyboard shortcuts

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