admin_moderation_rule

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin moderation rule API

func (*Client) CreateModerationRule deprecated

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

CreateModerationRule create auto moderation rule

This endpoint create moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [CREATE]

Supported Category:

  • UGC
  • USER
  • CHAT
  • EXTENSION

Supported Action (GOING TO DEPRECATE, for replacement please use "actions"):

  • HideContent

Supported Actions:

  • hideContent : Hide the content

  • banAccount : Ban the user account

  • deleteChat : Delete chat

func (*Client) CreateModerationRuleShort

func (a *Client) CreateModerationRuleShort(params *CreateModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateModerationRuleCreated, error)

CreateModerationRuleShort create auto moderation rule

This endpoint create moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [CREATE]

Supported Category:

  • UGC
  • USER
  • CHAT
  • EXTENSION

Supported Action (GOING TO DEPRECATE, for replacement please use "actions"):

  • HideContent

Supported Actions:

  • hideContent : Hide the content

  • banAccount : Ban the user account

  • deleteChat : Delete chat

func (*Client) DeleteModerationRule deprecated

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

DeleteModerationRule delete auto moderation rule

This endpoint delete moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [DELETE]

func (*Client) DeleteModerationRuleShort

func (a *Client) DeleteModerationRuleShort(params *DeleteModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteModerationRuleNoContent, error)

DeleteModerationRuleShort delete auto moderation rule

This endpoint delete moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [DELETE]

func (*Client) GetModerationRuleDetails deprecated

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

GetModerationRuleDetails get auto moderation rule

This endpoint get moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [READ]

func (*Client) GetModerationRuleDetailsShort

func (a *Client) GetModerationRuleDetailsShort(params *GetModerationRuleDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetModerationRuleDetailsOK, error)

GetModerationRuleDetailsShort get auto moderation rule

This endpoint get moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [READ]

func (*Client) GetModerationRules deprecated

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

GetModerationRules get auto moderation rules

This endpoint get moderation rules.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [READ]

func (*Client) GetModerationRulesShort

func (a *Client) GetModerationRulesShort(params *GetModerationRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetModerationRulesOK, error)

GetModerationRulesShort get auto moderation rules

This endpoint get moderation rules.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [READ]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateModerationRule deprecated

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

UpdateModerationRule update auto moderation rule

This endpoint update moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [UPDATE]

Supported Category:

  • UGC
  • USER
  • CHAT
  • EXTENSION

Supported Action (GOING TO DEPRECATE, for replacement please use "actions"):

  • HideContent

Supported Actions:

  • hideContent : Hide the content

  • banAccount : Ban the user account

  • deleteChat : Delete chat

func (*Client) UpdateModerationRuleShort

func (a *Client) UpdateModerationRuleShort(params *UpdateModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateModerationRuleOK, error)

UpdateModerationRuleShort update auto moderation rule

This endpoint update moderation rule.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [UPDATE]

Supported Category:

  • UGC
  • USER
  • CHAT
  • EXTENSION

Supported Action (GOING TO DEPRECATE, for replacement please use "actions"):

  • HideContent

Supported Actions:

  • hideContent : Hide the content

  • banAccount : Ban the user account

  • deleteChat : Delete chat

func (*Client) UpdateModerationRuleStatus deprecated

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

UpdateModerationRuleStatus enable/disable auto moderation rule

This endpoint enable/disable moderation rule status.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [UPDATE]

func (*Client) UpdateModerationRuleStatusShort

func (a *Client) UpdateModerationRuleStatusShort(params *UpdateModerationRuleStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateModerationRuleStatusNoContent, error)

UpdateModerationRuleStatusShort enable/disable auto moderation rule

This endpoint enable/disable moderation rule status.

Required Permission: ADMIN:NAMESPACE:{namespace}:RULE [UPDATE]

type ClientService

type ClientService interface {
	CreateModerationRule(params *CreateModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateModerationRuleCreated, *CreateModerationRuleBadRequest, *CreateModerationRuleConflict, *CreateModerationRuleInternalServerError, error)
	CreateModerationRuleShort(params *CreateModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateModerationRuleCreated, error)
	UpdateModerationRule(params *UpdateModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateModerationRuleOK, *UpdateModerationRuleBadRequest, *UpdateModerationRuleNotFound, *UpdateModerationRuleConflict, *UpdateModerationRuleInternalServerError, error)
	UpdateModerationRuleShort(params *UpdateModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateModerationRuleOK, error)
	DeleteModerationRule(params *DeleteModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteModerationRuleNoContent, *DeleteModerationRuleBadRequest, *DeleteModerationRuleInternalServerError, error)
	DeleteModerationRuleShort(params *DeleteModerationRuleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteModerationRuleNoContent, error)
	UpdateModerationRuleStatus(params *UpdateModerationRuleStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateModerationRuleStatusNoContent, *UpdateModerationRuleStatusBadRequest, *UpdateModerationRuleStatusNotFound, *UpdateModerationRuleStatusInternalServerError, error)
	UpdateModerationRuleStatusShort(params *UpdateModerationRuleStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateModerationRuleStatusNoContent, error)
	GetModerationRules(params *GetModerationRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetModerationRulesOK, *GetModerationRulesBadRequest, *GetModerationRulesNotFound, *GetModerationRulesInternalServerError, error)
	GetModerationRulesShort(params *GetModerationRulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetModerationRulesOK, error)
	GetModerationRuleDetails(params *GetModerationRuleDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetModerationRuleDetailsOK, *GetModerationRuleDetailsNotFound, *GetModerationRuleDetailsInternalServerError, error)
	GetModerationRuleDetailsShort(params *GetModerationRuleDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetModerationRuleDetailsOK, 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 admin moderation rule API client.

type CreateModerationRuleBadRequest

type CreateModerationRuleBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateModerationRuleBadRequest handles this case with default header values.

Bad Request

func NewCreateModerationRuleBadRequest

func NewCreateModerationRuleBadRequest() *CreateModerationRuleBadRequest

NewCreateModerationRuleBadRequest creates a CreateModerationRuleBadRequest with default headers values

func (*CreateModerationRuleBadRequest) Error

func (*CreateModerationRuleBadRequest) GetPayload

func (*CreateModerationRuleBadRequest) ToJSONString

func (o *CreateModerationRuleBadRequest) ToJSONString() string

type CreateModerationRuleConflict

type CreateModerationRuleConflict struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateModerationRuleConflict handles this case with default header values.

Conflict

func NewCreateModerationRuleConflict

func NewCreateModerationRuleConflict() *CreateModerationRuleConflict

NewCreateModerationRuleConflict creates a CreateModerationRuleConflict with default headers values

func (*CreateModerationRuleConflict) Error

func (*CreateModerationRuleConflict) GetPayload

func (*CreateModerationRuleConflict) ToJSONString

func (o *CreateModerationRuleConflict) ToJSONString() string

type CreateModerationRuleCreated

type CreateModerationRuleCreated struct {
}

CreateModerationRuleCreated handles this case with default header values.

Created

func NewCreateModerationRuleCreated

func NewCreateModerationRuleCreated() *CreateModerationRuleCreated

NewCreateModerationRuleCreated creates a CreateModerationRuleCreated with default headers values

func (*CreateModerationRuleCreated) Error

type CreateModerationRuleInternalServerError

type CreateModerationRuleInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

CreateModerationRuleInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateModerationRuleInternalServerError

func NewCreateModerationRuleInternalServerError() *CreateModerationRuleInternalServerError

NewCreateModerationRuleInternalServerError creates a CreateModerationRuleInternalServerError with default headers values

func (*CreateModerationRuleInternalServerError) Error

func (*CreateModerationRuleInternalServerError) GetPayload

func (*CreateModerationRuleInternalServerError) ToJSONString

type CreateModerationRuleParams

type CreateModerationRuleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiModerationRuleRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

CreateModerationRuleParams contains all the parameters to send to the API endpoint for the create moderation rule operation typically these are written to a http.Request

func NewCreateModerationRuleParams

func NewCreateModerationRuleParams() *CreateModerationRuleParams

NewCreateModerationRuleParams creates a new CreateModerationRuleParams object with the default values initialized.

func NewCreateModerationRuleParamsWithContext

func NewCreateModerationRuleParamsWithContext(ctx context.Context) *CreateModerationRuleParams

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

func NewCreateModerationRuleParamsWithHTTPClient

func NewCreateModerationRuleParamsWithHTTPClient(client *http.Client) *CreateModerationRuleParams

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

func NewCreateModerationRuleParamsWithTimeout

func NewCreateModerationRuleParamsWithTimeout(timeout time.Duration) *CreateModerationRuleParams

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

func (*CreateModerationRuleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create moderation rule params

func (*CreateModerationRuleParams) SetBody

SetBody adds the body to the create moderation rule params

func (*CreateModerationRuleParams) SetContext

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

SetContext adds the context to the create moderation rule params

func (*CreateModerationRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create moderation rule params

func (*CreateModerationRuleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create moderation rule params

func (*CreateModerationRuleParams) SetNamespace

func (o *CreateModerationRuleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create moderation rule params

func (*CreateModerationRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create moderation rule params

func (*CreateModerationRuleParams) WithBody

WithBody adds the body to the create moderation rule params

func (*CreateModerationRuleParams) WithContext

WithContext adds the context to the create moderation rule params

func (*CreateModerationRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create moderation rule params

func (*CreateModerationRuleParams) WithNamespace

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

WithNamespace adds the namespace to the create moderation rule params

func (*CreateModerationRuleParams) WithTimeout

WithTimeout adds the timeout to the create moderation rule params

func (*CreateModerationRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateModerationRuleReader

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

CreateModerationRuleReader is a Reader for the CreateModerationRule structure.

func (*CreateModerationRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteModerationRuleBadRequest

type DeleteModerationRuleBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

DeleteModerationRuleBadRequest handles this case with default header values.

Bad Request

func NewDeleteModerationRuleBadRequest

func NewDeleteModerationRuleBadRequest() *DeleteModerationRuleBadRequest

NewDeleteModerationRuleBadRequest creates a DeleteModerationRuleBadRequest with default headers values

func (*DeleteModerationRuleBadRequest) Error

func (*DeleteModerationRuleBadRequest) GetPayload

func (*DeleteModerationRuleBadRequest) ToJSONString

func (o *DeleteModerationRuleBadRequest) ToJSONString() string

type DeleteModerationRuleInternalServerError

type DeleteModerationRuleInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

DeleteModerationRuleInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteModerationRuleInternalServerError

func NewDeleteModerationRuleInternalServerError() *DeleteModerationRuleInternalServerError

NewDeleteModerationRuleInternalServerError creates a DeleteModerationRuleInternalServerError with default headers values

func (*DeleteModerationRuleInternalServerError) Error

func (*DeleteModerationRuleInternalServerError) GetPayload

func (*DeleteModerationRuleInternalServerError) ToJSONString

type DeleteModerationRuleNoContent

type DeleteModerationRuleNoContent struct {
}

DeleteModerationRuleNoContent handles this case with default header values.

No Content

func NewDeleteModerationRuleNoContent

func NewDeleteModerationRuleNoContent() *DeleteModerationRuleNoContent

NewDeleteModerationRuleNoContent creates a DeleteModerationRuleNoContent with default headers values

func (*DeleteModerationRuleNoContent) Error

type DeleteModerationRuleParams

type DeleteModerationRuleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*RuleID*/
	RuleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

DeleteModerationRuleParams contains all the parameters to send to the API endpoint for the delete moderation rule operation typically these are written to a http.Request

func NewDeleteModerationRuleParams

func NewDeleteModerationRuleParams() *DeleteModerationRuleParams

NewDeleteModerationRuleParams creates a new DeleteModerationRuleParams object with the default values initialized.

func NewDeleteModerationRuleParamsWithContext

func NewDeleteModerationRuleParamsWithContext(ctx context.Context) *DeleteModerationRuleParams

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

func NewDeleteModerationRuleParamsWithHTTPClient

func NewDeleteModerationRuleParamsWithHTTPClient(client *http.Client) *DeleteModerationRuleParams

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

func NewDeleteModerationRuleParamsWithTimeout

func NewDeleteModerationRuleParamsWithTimeout(timeout time.Duration) *DeleteModerationRuleParams

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

func (*DeleteModerationRuleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete moderation rule params

func (*DeleteModerationRuleParams) SetContext

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

SetContext adds the context to the delete moderation rule params

func (*DeleteModerationRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete moderation rule params

func (*DeleteModerationRuleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete moderation rule params

func (*DeleteModerationRuleParams) SetNamespace

func (o *DeleteModerationRuleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete moderation rule params

func (*DeleteModerationRuleParams) SetRuleID

func (o *DeleteModerationRuleParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the delete moderation rule params

func (*DeleteModerationRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete moderation rule params

func (*DeleteModerationRuleParams) WithContext

WithContext adds the context to the delete moderation rule params

func (*DeleteModerationRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete moderation rule params

func (*DeleteModerationRuleParams) WithNamespace

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

WithNamespace adds the namespace to the delete moderation rule params

func (*DeleteModerationRuleParams) WithRuleID

WithRuleID adds the ruleID to the delete moderation rule params

func (*DeleteModerationRuleParams) WithTimeout

WithTimeout adds the timeout to the delete moderation rule params

func (*DeleteModerationRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteModerationRuleReader

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

DeleteModerationRuleReader is a Reader for the DeleteModerationRule structure.

func (*DeleteModerationRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModerationRuleDetailsInternalServerError

type GetModerationRuleDetailsInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetModerationRuleDetailsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetModerationRuleDetailsInternalServerError

func NewGetModerationRuleDetailsInternalServerError() *GetModerationRuleDetailsInternalServerError

NewGetModerationRuleDetailsInternalServerError creates a GetModerationRuleDetailsInternalServerError with default headers values

func (*GetModerationRuleDetailsInternalServerError) Error

func (*GetModerationRuleDetailsInternalServerError) GetPayload

func (*GetModerationRuleDetailsInternalServerError) ToJSONString

type GetModerationRuleDetailsNotFound

type GetModerationRuleDetailsNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetModerationRuleDetailsNotFound handles this case with default header values.

Not Found

func NewGetModerationRuleDetailsNotFound

func NewGetModerationRuleDetailsNotFound() *GetModerationRuleDetailsNotFound

NewGetModerationRuleDetailsNotFound creates a GetModerationRuleDetailsNotFound with default headers values

func (*GetModerationRuleDetailsNotFound) Error

func (*GetModerationRuleDetailsNotFound) GetPayload

func (*GetModerationRuleDetailsNotFound) ToJSONString

func (o *GetModerationRuleDetailsNotFound) ToJSONString() string

type GetModerationRuleDetailsOK

type GetModerationRuleDetailsOK struct {
	Payload *reportingclientmodels.RestapiModerationRuleResponse
}

GetModerationRuleDetailsOK handles this case with default header values.

OK

func NewGetModerationRuleDetailsOK

func NewGetModerationRuleDetailsOK() *GetModerationRuleDetailsOK

NewGetModerationRuleDetailsOK creates a GetModerationRuleDetailsOK with default headers values

func (*GetModerationRuleDetailsOK) Error

func (*GetModerationRuleDetailsOK) GetPayload

func (*GetModerationRuleDetailsOK) ToJSONString

func (o *GetModerationRuleDetailsOK) ToJSONString() string

type GetModerationRuleDetailsParams

type GetModerationRuleDetailsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*RuleID*/
	RuleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetModerationRuleDetailsParams contains all the parameters to send to the API endpoint for the get moderation rule details operation typically these are written to a http.Request

func NewGetModerationRuleDetailsParams

func NewGetModerationRuleDetailsParams() *GetModerationRuleDetailsParams

NewGetModerationRuleDetailsParams creates a new GetModerationRuleDetailsParams object with the default values initialized.

func NewGetModerationRuleDetailsParamsWithContext

func NewGetModerationRuleDetailsParamsWithContext(ctx context.Context) *GetModerationRuleDetailsParams

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

func NewGetModerationRuleDetailsParamsWithHTTPClient

func NewGetModerationRuleDetailsParamsWithHTTPClient(client *http.Client) *GetModerationRuleDetailsParams

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

func NewGetModerationRuleDetailsParamsWithTimeout

func NewGetModerationRuleDetailsParamsWithTimeout(timeout time.Duration) *GetModerationRuleDetailsParams

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

func (*GetModerationRuleDetailsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get moderation rule details params

func (*GetModerationRuleDetailsParams) SetContext

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

SetContext adds the context to the get moderation rule details params

func (*GetModerationRuleDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get moderation rule details params

func (*GetModerationRuleDetailsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get moderation rule details params

func (*GetModerationRuleDetailsParams) SetNamespace

func (o *GetModerationRuleDetailsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get moderation rule details params

func (*GetModerationRuleDetailsParams) SetRuleID

func (o *GetModerationRuleDetailsParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the get moderation rule details params

func (*GetModerationRuleDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the get moderation rule details params

func (*GetModerationRuleDetailsParams) WithContext

WithContext adds the context to the get moderation rule details params

func (*GetModerationRuleDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get moderation rule details params

func (*GetModerationRuleDetailsParams) WithNamespace

WithNamespace adds the namespace to the get moderation rule details params

func (*GetModerationRuleDetailsParams) WithRuleID

WithRuleID adds the ruleID to the get moderation rule details params

func (*GetModerationRuleDetailsParams) WithTimeout

WithTimeout adds the timeout to the get moderation rule details params

func (*GetModerationRuleDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModerationRuleDetailsReader

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

GetModerationRuleDetailsReader is a Reader for the GetModerationRuleDetails structure.

func (*GetModerationRuleDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModerationRulesBadRequest

type GetModerationRulesBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetModerationRulesBadRequest handles this case with default header values.

Bad Request

func NewGetModerationRulesBadRequest

func NewGetModerationRulesBadRequest() *GetModerationRulesBadRequest

NewGetModerationRulesBadRequest creates a GetModerationRulesBadRequest with default headers values

func (*GetModerationRulesBadRequest) Error

func (*GetModerationRulesBadRequest) GetPayload

func (*GetModerationRulesBadRequest) ToJSONString

func (o *GetModerationRulesBadRequest) ToJSONString() string

type GetModerationRulesInternalServerError

type GetModerationRulesInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetModerationRulesInternalServerError handles this case with default header values.

Internal Server Error

func NewGetModerationRulesInternalServerError

func NewGetModerationRulesInternalServerError() *GetModerationRulesInternalServerError

NewGetModerationRulesInternalServerError creates a GetModerationRulesInternalServerError with default headers values

func (*GetModerationRulesInternalServerError) Error

func (*GetModerationRulesInternalServerError) GetPayload

func (*GetModerationRulesInternalServerError) ToJSONString

type GetModerationRulesNotFound

type GetModerationRulesNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

GetModerationRulesNotFound handles this case with default header values.

Not Found

func NewGetModerationRulesNotFound

func NewGetModerationRulesNotFound() *GetModerationRulesNotFound

NewGetModerationRulesNotFound creates a GetModerationRulesNotFound with default headers values

func (*GetModerationRulesNotFound) Error

func (*GetModerationRulesNotFound) GetPayload

func (*GetModerationRulesNotFound) ToJSONString

func (o *GetModerationRulesNotFound) ToJSONString() string

type GetModerationRulesOK

type GetModerationRulesOK struct {
	Payload *reportingclientmodels.RestapiModerationRulesList
}

GetModerationRulesOK handles this case with default header values.

OK

func NewGetModerationRulesOK

func NewGetModerationRulesOK() *GetModerationRulesOK

NewGetModerationRulesOK creates a GetModerationRulesOK with default headers values

func (*GetModerationRulesOK) Error

func (o *GetModerationRulesOK) Error() string

func (*GetModerationRulesOK) GetPayload

func (*GetModerationRulesOK) ToJSONString

func (o *GetModerationRulesOK) ToJSONString() string

type GetModerationRulesParams

type GetModerationRulesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Category
	  filter rules by category

	*/
	Category *string
	/*ExtensionCategory
	  filter rules by extension category

	*/
	ExtensionCategory *string
	/*Limit
	  number of data requested (default 25)

	*/
	Limit *int64
	/*Offset
	  number of data offset (default 0)

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetModerationRulesParams contains all the parameters to send to the API endpoint for the get moderation rules operation typically these are written to a http.Request

func NewGetModerationRulesParams

func NewGetModerationRulesParams() *GetModerationRulesParams

NewGetModerationRulesParams creates a new GetModerationRulesParams object with the default values initialized.

func NewGetModerationRulesParamsWithContext

func NewGetModerationRulesParamsWithContext(ctx context.Context) *GetModerationRulesParams

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

func NewGetModerationRulesParamsWithHTTPClient

func NewGetModerationRulesParamsWithHTTPClient(client *http.Client) *GetModerationRulesParams

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

func NewGetModerationRulesParamsWithTimeout

func NewGetModerationRulesParamsWithTimeout(timeout time.Duration) *GetModerationRulesParams

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

func (*GetModerationRulesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get moderation rules params

func (*GetModerationRulesParams) SetCategory

func (o *GetModerationRulesParams) SetCategory(category *string)

SetCategory adds the category to the get moderation rules params

func (*GetModerationRulesParams) SetContext

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

SetContext adds the context to the get moderation rules params

func (*GetModerationRulesParams) SetExtensionCategory

func (o *GetModerationRulesParams) SetExtensionCategory(extensionCategory *string)

SetExtensionCategory adds the extensionCategory to the get moderation rules params

func (*GetModerationRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get moderation rules params

func (*GetModerationRulesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get moderation rules params

func (*GetModerationRulesParams) SetLimit

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

SetLimit adds the limit to the get moderation rules params

func (*GetModerationRulesParams) SetNamespace

func (o *GetModerationRulesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get moderation rules params

func (*GetModerationRulesParams) SetOffset

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

SetOffset adds the offset to the get moderation rules params

func (*GetModerationRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get moderation rules params

func (*GetModerationRulesParams) WithCategory

func (o *GetModerationRulesParams) WithCategory(category *string) *GetModerationRulesParams

WithCategory adds the category to the get moderation rules params

func (*GetModerationRulesParams) WithContext

WithContext adds the context to the get moderation rules params

func (*GetModerationRulesParams) WithExtensionCategory

func (o *GetModerationRulesParams) WithExtensionCategory(extensionCategory *string) *GetModerationRulesParams

WithExtensionCategory adds the extensionCategory to the get moderation rules params

func (*GetModerationRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get moderation rules params

func (*GetModerationRulesParams) WithLimit

WithLimit adds the limit to the get moderation rules params

func (*GetModerationRulesParams) WithNamespace

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

WithNamespace adds the namespace to the get moderation rules params

func (*GetModerationRulesParams) WithOffset

WithOffset adds the offset to the get moderation rules params

func (*GetModerationRulesParams) WithTimeout

WithTimeout adds the timeout to the get moderation rules params

func (*GetModerationRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModerationRulesReader

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

GetModerationRulesReader is a Reader for the GetModerationRules structure.

func (*GetModerationRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateModerationRuleBadRequest

type UpdateModerationRuleBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleBadRequest handles this case with default header values.

Bad Request

func NewUpdateModerationRuleBadRequest

func NewUpdateModerationRuleBadRequest() *UpdateModerationRuleBadRequest

NewUpdateModerationRuleBadRequest creates a UpdateModerationRuleBadRequest with default headers values

func (*UpdateModerationRuleBadRequest) Error

func (*UpdateModerationRuleBadRequest) GetPayload

func (*UpdateModerationRuleBadRequest) ToJSONString

func (o *UpdateModerationRuleBadRequest) ToJSONString() string

type UpdateModerationRuleConflict

type UpdateModerationRuleConflict struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleConflict handles this case with default header values.

Conflict

func NewUpdateModerationRuleConflict

func NewUpdateModerationRuleConflict() *UpdateModerationRuleConflict

NewUpdateModerationRuleConflict creates a UpdateModerationRuleConflict with default headers values

func (*UpdateModerationRuleConflict) Error

func (*UpdateModerationRuleConflict) GetPayload

func (*UpdateModerationRuleConflict) ToJSONString

func (o *UpdateModerationRuleConflict) ToJSONString() string

type UpdateModerationRuleInternalServerError

type UpdateModerationRuleInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateModerationRuleInternalServerError

func NewUpdateModerationRuleInternalServerError() *UpdateModerationRuleInternalServerError

NewUpdateModerationRuleInternalServerError creates a UpdateModerationRuleInternalServerError with default headers values

func (*UpdateModerationRuleInternalServerError) Error

func (*UpdateModerationRuleInternalServerError) GetPayload

func (*UpdateModerationRuleInternalServerError) ToJSONString

type UpdateModerationRuleNotFound

type UpdateModerationRuleNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleNotFound handles this case with default header values.

Not Found

func NewUpdateModerationRuleNotFound

func NewUpdateModerationRuleNotFound() *UpdateModerationRuleNotFound

NewUpdateModerationRuleNotFound creates a UpdateModerationRuleNotFound with default headers values

func (*UpdateModerationRuleNotFound) Error

func (*UpdateModerationRuleNotFound) GetPayload

func (*UpdateModerationRuleNotFound) ToJSONString

func (o *UpdateModerationRuleNotFound) ToJSONString() string

type UpdateModerationRuleOK

type UpdateModerationRuleOK struct {
	Payload *reportingclientmodels.RestapiModerationRuleResponse
}

UpdateModerationRuleOK handles this case with default header values.

OK

func NewUpdateModerationRuleOK

func NewUpdateModerationRuleOK() *UpdateModerationRuleOK

NewUpdateModerationRuleOK creates a UpdateModerationRuleOK with default headers values

func (*UpdateModerationRuleOK) Error

func (o *UpdateModerationRuleOK) Error() string

func (*UpdateModerationRuleOK) GetPayload

func (*UpdateModerationRuleOK) ToJSONString

func (o *UpdateModerationRuleOK) ToJSONString() string

type UpdateModerationRuleParams

type UpdateModerationRuleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiModerationRuleRequest
	/*Namespace*/
	Namespace string
	/*RuleID*/
	RuleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UpdateModerationRuleParams contains all the parameters to send to the API endpoint for the update moderation rule operation typically these are written to a http.Request

func NewUpdateModerationRuleParams

func NewUpdateModerationRuleParams() *UpdateModerationRuleParams

NewUpdateModerationRuleParams creates a new UpdateModerationRuleParams object with the default values initialized.

func NewUpdateModerationRuleParamsWithContext

func NewUpdateModerationRuleParamsWithContext(ctx context.Context) *UpdateModerationRuleParams

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

func NewUpdateModerationRuleParamsWithHTTPClient

func NewUpdateModerationRuleParamsWithHTTPClient(client *http.Client) *UpdateModerationRuleParams

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

func NewUpdateModerationRuleParamsWithTimeout

func NewUpdateModerationRuleParamsWithTimeout(timeout time.Duration) *UpdateModerationRuleParams

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

func (*UpdateModerationRuleParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update moderation rule params

func (*UpdateModerationRuleParams) SetBody

SetBody adds the body to the update moderation rule params

func (*UpdateModerationRuleParams) SetContext

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

SetContext adds the context to the update moderation rule params

func (*UpdateModerationRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update moderation rule params

func (*UpdateModerationRuleParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update moderation rule params

func (*UpdateModerationRuleParams) SetNamespace

func (o *UpdateModerationRuleParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update moderation rule params

func (*UpdateModerationRuleParams) SetRuleID

func (o *UpdateModerationRuleParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the update moderation rule params

func (*UpdateModerationRuleParams) SetTimeout

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

SetTimeout adds the timeout to the update moderation rule params

func (*UpdateModerationRuleParams) WithBody

WithBody adds the body to the update moderation rule params

func (*UpdateModerationRuleParams) WithContext

WithContext adds the context to the update moderation rule params

func (*UpdateModerationRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update moderation rule params

func (*UpdateModerationRuleParams) WithNamespace

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

WithNamespace adds the namespace to the update moderation rule params

func (*UpdateModerationRuleParams) WithRuleID

WithRuleID adds the ruleID to the update moderation rule params

func (*UpdateModerationRuleParams) WithTimeout

WithTimeout adds the timeout to the update moderation rule params

func (*UpdateModerationRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateModerationRuleReader

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

UpdateModerationRuleReader is a Reader for the UpdateModerationRule structure.

func (*UpdateModerationRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateModerationRuleStatusBadRequest

type UpdateModerationRuleStatusBadRequest struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleStatusBadRequest handles this case with default header values.

Bad Request

func NewUpdateModerationRuleStatusBadRequest

func NewUpdateModerationRuleStatusBadRequest() *UpdateModerationRuleStatusBadRequest

NewUpdateModerationRuleStatusBadRequest creates a UpdateModerationRuleStatusBadRequest with default headers values

func (*UpdateModerationRuleStatusBadRequest) Error

func (*UpdateModerationRuleStatusBadRequest) GetPayload

func (*UpdateModerationRuleStatusBadRequest) ToJSONString

func (o *UpdateModerationRuleStatusBadRequest) ToJSONString() string

type UpdateModerationRuleStatusInternalServerError

type UpdateModerationRuleStatusInternalServerError struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleStatusInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateModerationRuleStatusInternalServerError

func NewUpdateModerationRuleStatusInternalServerError() *UpdateModerationRuleStatusInternalServerError

NewUpdateModerationRuleStatusInternalServerError creates a UpdateModerationRuleStatusInternalServerError with default headers values

func (*UpdateModerationRuleStatusInternalServerError) Error

func (*UpdateModerationRuleStatusInternalServerError) GetPayload

func (*UpdateModerationRuleStatusInternalServerError) ToJSONString

type UpdateModerationRuleStatusNoContent

type UpdateModerationRuleStatusNoContent struct {
}

UpdateModerationRuleStatusNoContent handles this case with default header values.

No Content

func NewUpdateModerationRuleStatusNoContent

func NewUpdateModerationRuleStatusNoContent() *UpdateModerationRuleStatusNoContent

NewUpdateModerationRuleStatusNoContent creates a UpdateModerationRuleStatusNoContent with default headers values

func (*UpdateModerationRuleStatusNoContent) Error

type UpdateModerationRuleStatusNotFound

type UpdateModerationRuleStatusNotFound struct {
	Payload *reportingclientmodels.RestapiErrorResponse
}

UpdateModerationRuleStatusNotFound handles this case with default header values.

Not Found

func NewUpdateModerationRuleStatusNotFound

func NewUpdateModerationRuleStatusNotFound() *UpdateModerationRuleStatusNotFound

NewUpdateModerationRuleStatusNotFound creates a UpdateModerationRuleStatusNotFound with default headers values

func (*UpdateModerationRuleStatusNotFound) Error

func (*UpdateModerationRuleStatusNotFound) GetPayload

func (*UpdateModerationRuleStatusNotFound) ToJSONString

func (o *UpdateModerationRuleStatusNotFound) ToJSONString() string

type UpdateModerationRuleStatusParams

type UpdateModerationRuleStatusParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *reportingclientmodels.RestapiModerationRuleActiveRequest
	/*Namespace*/
	Namespace string
	/*RuleID*/
	RuleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UpdateModerationRuleStatusParams contains all the parameters to send to the API endpoint for the update moderation rule status operation typically these are written to a http.Request

func NewUpdateModerationRuleStatusParams

func NewUpdateModerationRuleStatusParams() *UpdateModerationRuleStatusParams

NewUpdateModerationRuleStatusParams creates a new UpdateModerationRuleStatusParams object with the default values initialized.

func NewUpdateModerationRuleStatusParamsWithContext

func NewUpdateModerationRuleStatusParamsWithContext(ctx context.Context) *UpdateModerationRuleStatusParams

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

func NewUpdateModerationRuleStatusParamsWithHTTPClient

func NewUpdateModerationRuleStatusParamsWithHTTPClient(client *http.Client) *UpdateModerationRuleStatusParams

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

func NewUpdateModerationRuleStatusParamsWithTimeout

func NewUpdateModerationRuleStatusParamsWithTimeout(timeout time.Duration) *UpdateModerationRuleStatusParams

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

func (*UpdateModerationRuleStatusParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetBody

SetBody adds the body to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetContext

SetContext adds the context to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetNamespace

func (o *UpdateModerationRuleStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetRuleID

func (o *UpdateModerationRuleStatusParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) SetTimeout

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

SetTimeout adds the timeout to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WithBody

WithBody adds the body to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WithContext

WithContext adds the context to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WithNamespace

WithNamespace adds the namespace to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WithRuleID

WithRuleID adds the ruleID to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WithTimeout

WithTimeout adds the timeout to the update moderation rule status params

func (*UpdateModerationRuleStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateModerationRuleStatusReader

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

UpdateModerationRuleStatusReader is a Reader for the UpdateModerationRuleStatus structure.

func (*UpdateModerationRuleStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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