reportingclientmodels

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// RestapiModerationRuleRequestCategoryCHAT captures enum value "CHAT"
	RestapiModerationRuleRequestCategoryCHAT string = "CHAT"

	// RestapiModerationRuleRequestCategoryEXTENSION captures enum value "EXTENSION"
	RestapiModerationRuleRequestCategoryEXTENSION string = "EXTENSION"

	// RestapiModerationRuleRequestCategoryUGC captures enum value "UGC"
	RestapiModerationRuleRequestCategoryUGC string = "UGC"

	// RestapiModerationRuleRequestCategoryUSER captures enum value "USER"
	RestapiModerationRuleRequestCategoryUSER string = "USER"
)
View Source
const (

	// RestapiReportResponseCategoryCHAT captures enum value "CHAT"
	RestapiReportResponseCategoryCHAT string = "CHAT"

	// RestapiReportResponseCategoryEXTENSION captures enum value "EXTENSION"
	RestapiReportResponseCategoryEXTENSION string = "EXTENSION"

	// RestapiReportResponseCategoryUGC captures enum value "UGC"
	RestapiReportResponseCategoryUGC string = "UGC"

	// RestapiReportResponseCategoryUSER captures enum value "USER"
	RestapiReportResponseCategoryUSER string = "USER"
)
View Source
const (

	// RestapiSubmitReportRequestCategoryCHAT captures enum value "CHAT"
	RestapiSubmitReportRequestCategoryCHAT string = "CHAT"

	// RestapiSubmitReportRequestCategoryEXTENSION captures enum value "EXTENSION"
	RestapiSubmitReportRequestCategoryEXTENSION string = "EXTENSION"

	// RestapiSubmitReportRequestCategoryUGC captures enum value "UGC"
	RestapiSubmitReportRequestCategoryUGC string = "UGC"

	// RestapiSubmitReportRequestCategoryUSER captures enum value "USER"
	RestapiSubmitReportRequestCategoryUSER string = "USER"
)
View Source
const (

	// RestapiSubmitReportResponseCategoryCHAT captures enum value "CHAT"
	RestapiSubmitReportResponseCategoryCHAT string = "CHAT"

	// RestapiSubmitReportResponseCategoryEXTENSION captures enum value "EXTENSION"
	RestapiSubmitReportResponseCategoryEXTENSION string = "EXTENSION"

	// RestapiSubmitReportResponseCategoryUGC captures enum value "UGC"
	RestapiSubmitReportResponseCategoryUGC string = "UGC"

	// RestapiSubmitReportResponseCategoryUSER captures enum value "USER"
	RestapiSubmitReportResponseCategoryUSER string = "USER"
)
View Source
const (

	// RestapiSubmitReportResponseStatusAUTOMODERATED captures enum value "AUTO_MODERATED"
	RestapiSubmitReportResponseStatusAUTOMODERATED string = "AUTO_MODERATED"

	// RestapiSubmitReportResponseStatusCLOSED captures enum value "CLOSED"
	RestapiSubmitReportResponseStatusCLOSED string = "CLOSED"

	// RestapiSubmitReportResponseStatusOPEN captures enum value "OPEN"
	RestapiSubmitReportResponseStatusOPEN string = "OPEN"

	// RestapiSubmitReportResponseStatusUNKNOWN captures enum value "UNKNOWN"
	RestapiSubmitReportResponseStatusUNKNOWN string = "UNKNOWN"
)
View Source
const (

	// RestapiTicketResponseCategoryCHAT captures enum value "CHAT"
	RestapiTicketResponseCategoryCHAT string = "CHAT"

	// RestapiTicketResponseCategoryEXTENSION captures enum value "EXTENSION"
	RestapiTicketResponseCategoryEXTENSION string = "EXTENSION"

	// RestapiTicketResponseCategoryUGC captures enum value "UGC"
	RestapiTicketResponseCategoryUGC string = "UGC"

	// RestapiTicketResponseCategoryUSER captures enum value "USER"
	RestapiTicketResponseCategoryUSER string = "USER"
)
View Source
const (

	// RestapiTicketResponseStatusAUTOMODERATED captures enum value "AUTO_MODERATED"
	RestapiTicketResponseStatusAUTOMODERATED string = "AUTO_MODERATED"

	// RestapiTicketResponseStatusCLOSED captures enum value "CLOSED"
	RestapiTicketResponseStatusCLOSED string = "CLOSED"

	// RestapiTicketResponseStatusOPEN captures enum value "OPEN"
	RestapiTicketResponseStatusOPEN string = "OPEN"

	// RestapiTicketResponseStatusUNKNOWN captures enum value "UNKNOWN"
	RestapiTicketResponseStatusUNKNOWN string = "UNKNOWN"
)
View Source
const (

	// RestapiUpdateTicketResolutionsRequestStatusAUTOMODERATED captures enum value "AUTO_MODERATED"
	RestapiUpdateTicketResolutionsRequestStatusAUTOMODERATED string = "AUTO_MODERATED"

	// RestapiUpdateTicketResolutionsRequestStatusCLOSED captures enum value "CLOSED"
	RestapiUpdateTicketResolutionsRequestStatusCLOSED string = "CLOSED"

	// RestapiUpdateTicketResolutionsRequestStatusOPEN captures enum value "OPEN"
	RestapiUpdateTicketResolutionsRequestStatusOPEN string = "OPEN"

	// RestapiUpdateTicketResolutionsRequestStatusUNKNOWN captures enum value "UNKNOWN"
	RestapiUpdateTicketResolutionsRequestStatusUNKNOWN string = "UNKNOWN"
)
View Source
const (

	// RestapiModerationRuleRequestActionHideContent captures enum value "HideContent"
	RestapiModerationRuleRequestActionHideContent string = "HideContent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RestapiActionAPIRequest

type RestapiActionAPIRequest struct {

	// Auto mod action ID
	// Required: true
	ActionID *string `json:"actionId"`

	// Auto mod action display name
	// Required: true
	ActionName *string `json:"actionName"`

	// Kafka publish event name
	// Required: true
	EventName *string `json:"eventName"`
}

RestapiActionAPIRequest restapi action Api request

swagger:model restapi.actionApiRequest

func (*RestapiActionAPIRequest) MarshalBinary

func (m *RestapiActionAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiActionAPIRequest) UnmarshalBinary

func (m *RestapiActionAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiActionAPIRequest) Validate

func (m *RestapiActionAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this restapi action Api request

type RestapiActionAPIResponse

type RestapiActionAPIResponse struct {

	// action Id
	// Required: true
	ActionID *string `json:"actionId"`

	// action name
	// Required: true
	ActionName *string `json:"actionName"`

	// event name
	// Required: true
	EventName *string `json:"eventName"`
}

RestapiActionAPIResponse restapi action Api response

swagger:model restapi.actionApiResponse

func (*RestapiActionAPIResponse) MarshalBinary

func (m *RestapiActionAPIResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiActionAPIResponse) UnmarshalBinary

func (m *RestapiActionAPIResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiActionAPIResponse) Validate

func (m *RestapiActionAPIResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi action Api response

type RestapiActionListAPIResponse

type RestapiActionListAPIResponse struct {

	// data
	// Required: true
	Data []*RestapiActionAPIResponse `json:"data"`
}

RestapiActionListAPIResponse restapi action list Api response

swagger:model restapi.actionListApiResponse

func (*RestapiActionListAPIResponse) MarshalBinary

func (m *RestapiActionListAPIResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiActionListAPIResponse) UnmarshalBinary

func (m *RestapiActionListAPIResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiActionListAPIResponse) Validate

func (m *RestapiActionListAPIResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi action list Api response

type RestapiAdminAllReasonsResponse

type RestapiAdminAllReasonsResponse struct {

	// data
	// Required: true
	Data []*RestapiPublicReasonResponse `json:"data"`
}

RestapiAdminAllReasonsResponse restapi admin all reasons response

swagger:model restapi.AdminAllReasonsResponse

func (*RestapiAdminAllReasonsResponse) MarshalBinary

func (m *RestapiAdminAllReasonsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiAdminAllReasonsResponse) UnmarshalBinary

func (m *RestapiAdminAllReasonsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiAdminAllReasonsResponse) Validate

func (m *RestapiAdminAllReasonsResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi admin all reasons response

type RestapiAdminReasonListResponse

type RestapiAdminReasonListResponse struct {

	// data
	// Required: true
	Data []*RestapiAdminReasonResponse `json:"data"`

	// paging
	// Required: true
	Paging *RestapiPagination `json:"paging"`
}

RestapiAdminReasonListResponse restapi admin reason list response

swagger:model restapi.adminReasonListResponse

func (*RestapiAdminReasonListResponse) MarshalBinary

func (m *RestapiAdminReasonListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiAdminReasonListResponse) UnmarshalBinary

func (m *RestapiAdminReasonListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiAdminReasonListResponse) Validate

func (m *RestapiAdminReasonListResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi admin reason list response

type RestapiAdminReasonResponse

type RestapiAdminReasonResponse struct {

	// created at
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// description
	// Required: true
	Description *string `json:"description"`

	// groups
	Groups []*RestapiPublicReasonGroupResponse `json:"groups"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// title
	// Required: true
	Title *string `json:"title"`

	// updated at
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

RestapiAdminReasonResponse restapi admin reason response

swagger:model restapi.adminReasonResponse

func (*RestapiAdminReasonResponse) MarshalBinary

func (m *RestapiAdminReasonResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiAdminReasonResponse) UnmarshalBinary

func (m *RestapiAdminReasonResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiAdminReasonResponse) Validate

func (m *RestapiAdminReasonResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi admin reason response

type RestapiBanAccountActionRequest

type RestapiBanAccountActionRequest struct {

	// Ban comment
	Comment string `json:"comment,omitempty"`

	// Ban duration in minutes, -1 means unlimited duration
	// Required: true
	Duration *int32 `json:"duration"`

	// Ban reason
	// Required: true
	Reason *string `json:"reason"`

	// Skip notification for banned user (e.g. email notification)
	// Required: true
	SkipNotif bool `json:"skipNotif"`

	// Ban type
	// Required: true
	Type *string `json:"type"`
}

RestapiBanAccountActionRequest restapi ban account action request

swagger:model restapi.BanAccountActionRequest

func (*RestapiBanAccountActionRequest) MarshalBinary

func (m *RestapiBanAccountActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiBanAccountActionRequest) UnmarshalBinary

func (m *RestapiBanAccountActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiBanAccountActionRequest) Validate

func (m *RestapiBanAccountActionRequest) Validate(formats strfmt.Registry) error

Validate validates this restapi ban account action request

type RestapiBanAccountActionResponse

type RestapiBanAccountActionResponse struct {

	// Ban comment
	Comment string `json:"comment,omitempty"`

	// Ban duration in minutes, -1 means unlimited duration
	// Required: true
	Duration *int32 `json:"duration"`

	// Ban reason
	// Required: true
	Reason *string `json:"reason"`

	// Skip notification for banned user (e.g. email notification)
	// Required: true
	SkipNotif bool `json:"skipNotif"`

	// Ban type
	// Required: true
	Type *string `json:"type"`
}

RestapiBanAccountActionResponse restapi ban account action response

swagger:model restapi.BanAccountActionResponse

func (*RestapiBanAccountActionResponse) MarshalBinary

func (m *RestapiBanAccountActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiBanAccountActionResponse) UnmarshalBinary

func (m *RestapiBanAccountActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiBanAccountActionResponse) Validate

Validate validates this restapi ban account action response

type RestapiCategoryLimit

type RestapiCategoryLimit struct {

	// extension category
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// must between 1 to 2147483647
	// Required: true
	MaxReportPerTicket *int32 `json:"maxReportPerTicket"`

	// name
	// Required: true
	Name *string `json:"name"`
}

RestapiCategoryLimit restapi category limit

swagger:model restapi.categoryLimit

func (*RestapiCategoryLimit) MarshalBinary

func (m *RestapiCategoryLimit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiCategoryLimit) UnmarshalBinary

func (m *RestapiCategoryLimit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiCategoryLimit) Validate

func (m *RestapiCategoryLimit) Validate(formats strfmt.Registry) error

Validate validates this restapi category limit

type RestapiConfigResponse

type RestapiConfigResponse struct {

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// reporting limit
	// Required: true
	ReportingLimit *RestapiReportingLimit `json:"reportingLimit"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

RestapiConfigResponse restapi config response

swagger:model restapi.configResponse

func (*RestapiConfigResponse) MarshalBinary

func (m *RestapiConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiConfigResponse) UnmarshalBinary

func (m *RestapiConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiConfigResponse) Validate

func (m *RestapiConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi config response

type RestapiCreateReasonGroupRequest

type RestapiCreateReasonGroupRequest struct {

	// reason ids
	ReasonIds []string `json:"reasonIds"`

	// max 256 chars
	// Required: true
	Title *string `json:"title"`
}

RestapiCreateReasonGroupRequest restapi create reason group request

swagger:model restapi.createReasonGroupRequest

func (*RestapiCreateReasonGroupRequest) MarshalBinary

func (m *RestapiCreateReasonGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiCreateReasonGroupRequest) UnmarshalBinary

func (m *RestapiCreateReasonGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiCreateReasonGroupRequest) Validate

Validate validates this restapi create reason group request

type RestapiCreateReasonRequest

type RestapiCreateReasonRequest struct {

	// max 280 chars
	// Required: true
	Description *string `json:"description"`

	// group ids
	// Required: true
	GroupIds []string `json:"groupIds"`

	// max 256 chars
	// Required: true
	Title *string `json:"title"`
}

RestapiCreateReasonRequest restapi create reason request

swagger:model restapi.createReasonRequest

func (*RestapiCreateReasonRequest) MarshalBinary

func (m *RestapiCreateReasonRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiCreateReasonRequest) UnmarshalBinary

func (m *RestapiCreateReasonRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiCreateReasonRequest) Validate

func (m *RestapiCreateReasonRequest) Validate(formats strfmt.Registry) error

Validate validates this restapi create reason request

type RestapiErrorResponse

type RestapiErrorResponse struct {

	// error code
	// Required: true
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`
}

RestapiErrorResponse restapi error response

swagger:model restapi.errorResponse

func (*RestapiErrorResponse) MarshalBinary

func (m *RestapiErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiErrorResponse) UnmarshalBinary

func (m *RestapiErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiErrorResponse) Validate

func (m *RestapiErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi error response

type RestapiExtensionCategoryAPIRequest

type RestapiExtensionCategoryAPIRequest struct {

	// Report extension category, consist of custom services sub-category (eg. salesItem,challenge,etc)
	// Required: true
	ExtensionCategory *string `json:"extensionCategory"`

	// Report extension category display name)
	// Required: true
	ExtensionCategoryName *string `json:"extensionCategoryName"`

	// Extension category service source (eg. service source 'marketplace' for extension category 'salesItem')
	// Required: true
	ServiceSource *string `json:"serviceSource"`
}

RestapiExtensionCategoryAPIRequest restapi extension category Api request

swagger:model restapi.extensionCategoryApiRequest

func (*RestapiExtensionCategoryAPIRequest) MarshalBinary

func (m *RestapiExtensionCategoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiExtensionCategoryAPIRequest) UnmarshalBinary

func (m *RestapiExtensionCategoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiExtensionCategoryAPIRequest) Validate

Validate validates this restapi extension category Api request

type RestapiExtensionCategoryAPIResponse

type RestapiExtensionCategoryAPIResponse struct {

	// extension category
	// Required: true
	ExtensionCategory *string `json:"extensionCategory"`

	// extension category name
	// Required: true
	ExtensionCategoryName *string `json:"extensionCategoryName"`

	// service source
	// Required: true
	ServiceSource *string `json:"serviceSource"`
}

RestapiExtensionCategoryAPIResponse restapi extension category Api response

swagger:model restapi.extensionCategoryApiResponse

func (*RestapiExtensionCategoryAPIResponse) MarshalBinary

func (m *RestapiExtensionCategoryAPIResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiExtensionCategoryAPIResponse) UnmarshalBinary

func (m *RestapiExtensionCategoryAPIResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiExtensionCategoryAPIResponse) Validate

Validate validates this restapi extension category Api response

type RestapiExtensionCategoryListAPIResponse

type RestapiExtensionCategoryListAPIResponse struct {

	// data
	// Required: true
	Data []*RestapiExtensionCategoryAPIResponse `json:"data"`
}

RestapiExtensionCategoryListAPIResponse restapi extension category list Api response

swagger:model restapi.extensionCategoryListApiResponse

func (*RestapiExtensionCategoryListAPIResponse) MarshalBinary

func (m *RestapiExtensionCategoryListAPIResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiExtensionCategoryListAPIResponse) UnmarshalBinary

func (m *RestapiExtensionCategoryListAPIResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiExtensionCategoryListAPIResponse) Validate

Validate validates this restapi extension category list Api response

type RestapiModerationRuleActionsRequest

type RestapiModerationRuleActionsRequest struct {

	// Ban account action configuration
	BanAccount *RestapiBanAccountActionRequest `json:"banAccount,omitempty"`

	// Enable delete chat action
	DeleteChat bool `json:"deleteChat"`

	// Custom services moderation actions
	ExtensionActionIds []string `json:"extensionActionIds"`

	// Enable hide content action
	HideContent bool `json:"hideContent"`
}

RestapiModerationRuleActionsRequest restapi moderation rule actions request

swagger:model restapi.ModerationRuleActionsRequest

func (*RestapiModerationRuleActionsRequest) MarshalBinary

func (m *RestapiModerationRuleActionsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiModerationRuleActionsRequest) UnmarshalBinary

func (m *RestapiModerationRuleActionsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiModerationRuleActionsRequest) Validate

Validate validates this restapi moderation rule actions request

type RestapiModerationRuleActionsResponse

type RestapiModerationRuleActionsResponse struct {

	// Ban account action configuration
	BanAccount *RestapiBanAccountActionResponse `json:"banAccount,omitempty"`

	// Enable delete chat action
	DeleteChat bool `json:"deleteChat"`

	// custom service mod actions
	ExtensionActionIds []string `json:"extensionActionIds"`

	// Enable hide content action
	HideContent bool `json:"hideContent"`
}

RestapiModerationRuleActionsResponse restapi moderation rule actions response

swagger:model restapi.ModerationRuleActionsResponse

func (*RestapiModerationRuleActionsResponse) MarshalBinary

func (m *RestapiModerationRuleActionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiModerationRuleActionsResponse) UnmarshalBinary

func (m *RestapiModerationRuleActionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiModerationRuleActionsResponse) Validate

Validate validates this restapi moderation rule actions response

type RestapiModerationRuleActiveRequest

type RestapiModerationRuleActiveRequest struct {

	// active
	// Required: true
	Active *bool `json:"active"`
}

RestapiModerationRuleActiveRequest restapi moderation rule active request

swagger:model restapi.ModerationRuleActiveRequest

func (*RestapiModerationRuleActiveRequest) MarshalBinary

func (m *RestapiModerationRuleActiveRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiModerationRuleActiveRequest) UnmarshalBinary

func (m *RestapiModerationRuleActiveRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiModerationRuleActiveRequest) Validate

Validate validates this restapi moderation rule active request

type RestapiModerationRuleRequest

type RestapiModerationRuleRequest struct {

	// GOING TO DEPRECATE, PLEASE DO NOT USE, for replacement use the "actions" field
	// Enum: [HideContent]
	Action string `json:"action,omitempty"`

	// Action configurations for moderation rule
	Actions *RestapiModerationRuleActionsRequest `json:"actions,omitempty"`

	// status of this rule
	// Required: true
	Active *bool `json:"active"`

	// Report category, must select from pre defined list
	// Required: true
	// Enum: [CHAT EXTENSION UGC USER]
	Category *string `json:"category"`

	// Report extension category, consist of custom services sub-category (eg. salesItem,challenge,etc)
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// Reason of report, can select from pre defined list, max 128 chars
	// Required: true
	Reason *string `json:"reason"`

	// the threshold to trigger auto moderation
	// Required: true
	Threshold *int32 `json:"threshold"`
}

RestapiModerationRuleRequest restapi moderation rule request

swagger:model restapi.ModerationRuleRequest

func (*RestapiModerationRuleRequest) MarshalBinary

func (m *RestapiModerationRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiModerationRuleRequest) UnmarshalBinary

func (m *RestapiModerationRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiModerationRuleRequest) Validate

func (m *RestapiModerationRuleRequest) Validate(formats strfmt.Registry) error

Validate validates this restapi moderation rule request

type RestapiModerationRuleResponse

type RestapiModerationRuleResponse struct {

	// GOING TO DEPRECATE, PLEASE DO NOT USE, for replacement use the "actions" field
	Action string `json:"action,omitempty"`

	// Action configurations for moderation rule
	// Required: true
	Actions *RestapiModerationRuleActionsResponse `json:"actions"`

	// active
	// Required: true
	Active *bool `json:"active"`

	// category
	// Required: true
	Category *string `json:"category"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// extension category
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// reason
	// Required: true
	Reason *string `json:"reason"`

	// threshold
	// Required: true
	Threshold *int32 `json:"threshold"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RestapiModerationRuleResponse restapi moderation rule response

swagger:model restapi.ModerationRuleResponse

func (*RestapiModerationRuleResponse) MarshalBinary

func (m *RestapiModerationRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiModerationRuleResponse) UnmarshalBinary

func (m *RestapiModerationRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiModerationRuleResponse) Validate

func (m *RestapiModerationRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi moderation rule response

type RestapiModerationRulesList

type RestapiModerationRulesList struct {

	// data
	// Required: true
	Data []*RestapiModerationRuleResponse `json:"data"`

	// paging
	// Required: true
	Paging *RestapiPagination `json:"paging"`
}

RestapiModerationRulesList restapi moderation rules list

swagger:model restapi.ModerationRulesList

func (*RestapiModerationRulesList) MarshalBinary

func (m *RestapiModerationRulesList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiModerationRulesList) UnmarshalBinary

func (m *RestapiModerationRulesList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiModerationRulesList) Validate

func (m *RestapiModerationRulesList) Validate(formats strfmt.Registry) error

Validate validates this restapi moderation rules list

type RestapiPagination

type RestapiPagination struct {

	// first
	// Required: true
	First *string `json:"first"`

	// last
	// Required: true
	Last *string `json:"last"`

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

RestapiPagination restapi pagination

swagger:model restapi.pagination

func (*RestapiPagination) MarshalBinary

func (m *RestapiPagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiPagination) UnmarshalBinary

func (m *RestapiPagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiPagination) Validate

func (m *RestapiPagination) Validate(formats strfmt.Registry) error

Validate validates this restapi pagination

type RestapiPublicReasonGroupResponse

type RestapiPublicReasonGroupResponse struct {

	// id
	// Required: true
	ID *string `json:"id"`

	// title
	// Required: true
	Title *string `json:"title"`
}

RestapiPublicReasonGroupResponse restapi public reason group response

swagger:model restapi.publicReasonGroupResponse

func (*RestapiPublicReasonGroupResponse) MarshalBinary

func (m *RestapiPublicReasonGroupResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiPublicReasonGroupResponse) UnmarshalBinary

func (m *RestapiPublicReasonGroupResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiPublicReasonGroupResponse) Validate

Validate validates this restapi public reason group response

type RestapiPublicReasonListResponse

type RestapiPublicReasonListResponse struct {

	// data
	// Required: true
	Data []*RestapiPublicReasonResponse `json:"data"`

	// paging
	// Required: true
	Paging *RestapiPagination `json:"paging"`
}

RestapiPublicReasonListResponse restapi public reason list response

swagger:model restapi.publicReasonListResponse

func (*RestapiPublicReasonListResponse) MarshalBinary

func (m *RestapiPublicReasonListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiPublicReasonListResponse) UnmarshalBinary

func (m *RestapiPublicReasonListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiPublicReasonListResponse) Validate

Validate validates this restapi public reason list response

type RestapiPublicReasonResponse

type RestapiPublicReasonResponse struct {

	// description
	// Required: true
	Description *string `json:"description"`

	// title
	// Required: true
	Title *string `json:"title"`
}

RestapiPublicReasonResponse restapi public reason response

swagger:model restapi.publicReasonResponse

func (*RestapiPublicReasonResponse) MarshalBinary

func (m *RestapiPublicReasonResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiPublicReasonResponse) UnmarshalBinary

func (m *RestapiPublicReasonResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiPublicReasonResponse) Validate

func (m *RestapiPublicReasonResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi public reason response

type RestapiReasonGroupListResponse

type RestapiReasonGroupListResponse struct {

	// data
	// Required: true
	Data []*RestapiPublicReasonGroupResponse `json:"data"`

	// paging
	// Required: true
	Paging *RestapiPagination `json:"paging"`
}

RestapiReasonGroupListResponse restapi reason group list response

swagger:model restapi.reasonGroupListResponse

func (*RestapiReasonGroupListResponse) MarshalBinary

func (m *RestapiReasonGroupListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiReasonGroupListResponse) UnmarshalBinary

func (m *RestapiReasonGroupListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiReasonGroupListResponse) Validate

func (m *RestapiReasonGroupListResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi reason group list response

type RestapiReasonGroupResponse

type RestapiReasonGroupResponse struct {

	// id
	// Required: true
	ID *string `json:"id"`

	// reasons
	Reasons []*RestapiAdminReasonResponse `json:"reasons"`

	// title
	// Required: true
	Title *string `json:"title"`
}

RestapiReasonGroupResponse restapi reason group response

swagger:model restapi.reasonGroupResponse

func (*RestapiReasonGroupResponse) MarshalBinary

func (m *RestapiReasonGroupResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiReasonGroupResponse) UnmarshalBinary

func (m *RestapiReasonGroupResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiReasonGroupResponse) Validate

func (m *RestapiReasonGroupResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi reason group response

type RestapiReportListResponse

type RestapiReportListResponse struct {

	// data
	// Required: true
	Data []*RestapiReportResponse `json:"data"`

	// paging
	// Required: true
	Paging *RestapiPagination `json:"paging"`
}

RestapiReportListResponse restapi report list response

swagger:model restapi.reportListResponse

func (*RestapiReportListResponse) MarshalBinary

func (m *RestapiReportListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiReportListResponse) UnmarshalBinary

func (m *RestapiReportListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiReportListResponse) Validate

func (m *RestapiReportListResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi report list response

type RestapiReportResponse

type RestapiReportResponse struct {

	// additional info
	// Required: true
	AdditionalInfo interface{} `json:"additionalInfo"`

	// category
	// Required: true
	// Enum: [CHAT EXTENSION UGC USER]
	Category *string `json:"category"`

	// comment
	// Required: true
	Comment *string `json:"comment"`

	// created at
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// extension category
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// object Id
	// Required: true
	ObjectID *string `json:"objectId"`

	// object type
	// Required: true
	ObjectType *string `json:"objectType"`

	// reason
	// Required: true
	Reason *string `json:"reason"`

	// reporter Id
	// Required: true
	ReporterID *string `json:"reporterId"`

	// ticket Id
	// Required: true
	TicketID *string `json:"ticketId"`

	// updated at
	// Required: true
	UpdatedAt *string `json:"updatedAt"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

RestapiReportResponse restapi report response

swagger:model restapi.reportResponse

func (*RestapiReportResponse) MarshalBinary

func (m *RestapiReportResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiReportResponse) UnmarshalBinary

func (m *RestapiReportResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiReportResponse) Validate

func (m *RestapiReportResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi report response

type RestapiReportingLimit

type RestapiReportingLimit struct {

	// category limits
	// Required: true
	CategoryLimits []*RestapiCategoryLimit `json:"categoryLimits"`

	// the unit is nanoseconds, must between 1 to 6000000 seconds
	// Required: true
	TimeInterval *int64 `json:"timeInterval"`

	// must between 1 to 2147483647
	// Required: true
	UserMaxReportPerTimeInterval *int32 `json:"userMaxReportPerTimeInterval"`
}

RestapiReportingLimit restapi reporting limit

swagger:model restapi.reportingLimit

func (*RestapiReportingLimit) MarshalBinary

func (m *RestapiReportingLimit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiReportingLimit) UnmarshalBinary

func (m *RestapiReportingLimit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiReportingLimit) Validate

func (m *RestapiReportingLimit) Validate(formats strfmt.Registry) error

Validate validates this restapi reporting limit

type RestapiSubmitReportRequest

type RestapiSubmitReportRequest struct {

	// Additional info regarding reported user / content, JSON formatted
	AdditionalInfo interface{} `json:"additionalInfo,omitempty"`

	// Report category, must select from pre defined list
	// Required: true
	// Enum: [CHAT EXTENSION UGC USER]
	Category *string `json:"category"`

	// Additional comment if any, max 280 chars
	Comment string `json:"comment,omitempty"`

	// Report extension category, must select from pre defined list
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// ID of content being reported, uuid4WithoutHyphens. Required for UGC category
	ObjectID string `json:"objectId,omitempty"`

	// Type of content being reported, max 64 chars. Required for UGC category
	ObjectType string `json:"objectType,omitempty"`

	// Reason of report, can select from pre defined list, max 128 chars
	// Required: true
	Reason *string `json:"reason"`

	// User ID being reported, in UUID4 format
	// Required: true
	UserID *string `json:"userId"`
}

RestapiSubmitReportRequest restapi submit report request

swagger:model restapi.submitReportRequest

func (*RestapiSubmitReportRequest) MarshalBinary

func (m *RestapiSubmitReportRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiSubmitReportRequest) UnmarshalBinary

func (m *RestapiSubmitReportRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiSubmitReportRequest) Validate

func (m *RestapiSubmitReportRequest) Validate(formats strfmt.Registry) error

Validate validates this restapi submit report request

type RestapiSubmitReportResponse

type RestapiSubmitReportResponse struct {

	// category
	// Required: true
	// Enum: [CHAT EXTENSION UGC USER]
	Category *string `json:"category"`

	// created at
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// extension category
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// object Id
	// Required: true
	ObjectID *string `json:"objectId"`

	// object type
	// Required: true
	ObjectType *string `json:"objectType"`

	// status
	// Required: true
	// Enum: [AUTO_MODERATED CLOSED OPEN UNKNOWN]
	Status *string `json:"status"`

	// ticket Id
	// Required: true
	TicketID *string `json:"ticketId"`

	// updated at
	// Required: true
	UpdatedAt *string `json:"updatedAt"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

RestapiSubmitReportResponse restapi submit report response

swagger:model restapi.submitReportResponse

func (*RestapiSubmitReportResponse) MarshalBinary

func (m *RestapiSubmitReportResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiSubmitReportResponse) UnmarshalBinary

func (m *RestapiSubmitReportResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiSubmitReportResponse) Validate

func (m *RestapiSubmitReportResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi submit report response

type RestapiTicketListResponse

type RestapiTicketListResponse struct {

	// data
	// Required: true
	Data []*RestapiTicketResponse `json:"data"`

	// paging
	// Required: true
	Paging *RestapiPagination `json:"paging"`
}

RestapiTicketListResponse restapi ticket list response

swagger:model restapi.ticketListResponse

func (*RestapiTicketListResponse) MarshalBinary

func (m *RestapiTicketListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiTicketListResponse) UnmarshalBinary

func (m *RestapiTicketListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiTicketListResponse) Validate

func (m *RestapiTicketListResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi ticket list response

type RestapiTicketResponse

type RestapiTicketResponse struct {

	// category
	// Required: true
	// Enum: [CHAT EXTENSION UGC USER]
	Category *string `json:"category"`

	// created at
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// extension category
	ExtensionCategory string `json:"extensionCategory,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// notes
	// Required: true
	Notes *string `json:"notes"`

	// object Id
	// Required: true
	ObjectID *string `json:"objectId"`

	// object type
	// Required: true
	ObjectType *string `json:"objectType"`

	// reports count
	// Required: true
	ReportsCount *int32 `json:"reportsCount"`

	// status
	// Required: true
	// Enum: [AUTO_MODERATED CLOSED OPEN UNKNOWN]
	Status *string `json:"status"`

	// updated at
	// Required: true
	UpdatedAt *string `json:"updatedAt"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

RestapiTicketResponse restapi ticket response

swagger:model restapi.ticketResponse

func (*RestapiTicketResponse) MarshalBinary

func (m *RestapiTicketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiTicketResponse) UnmarshalBinary

func (m *RestapiTicketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiTicketResponse) Validate

func (m *RestapiTicketResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi ticket response

type RestapiTicketStatisticResponse

type RestapiTicketStatisticResponse struct {

	// moderated count
	// Required: true
	ModeratedCount *int64 `json:"moderatedCount"`

	// open count
	// Required: true
	OpenCount *int64 `json:"openCount"`

	// total count
	// Required: true
	TotalCount *int64 `json:"totalCount"`
}

RestapiTicketStatisticResponse restapi ticket statistic response

swagger:model restapi.ticketStatisticResponse

func (*RestapiTicketStatisticResponse) MarshalBinary

func (m *RestapiTicketStatisticResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiTicketStatisticResponse) UnmarshalBinary

func (m *RestapiTicketStatisticResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiTicketStatisticResponse) Validate

func (m *RestapiTicketStatisticResponse) Validate(formats strfmt.Registry) error

Validate validates this restapi ticket statistic response

type RestapiUnusedReasonListResponse

type RestapiUnusedReasonListResponse struct {

	// reasons
	// Required: true
	Reasons []*RestapiPublicReasonResponse `json:"reasons"`
}

RestapiUnusedReasonListResponse restapi unused reason list response

swagger:model restapi.UnusedReasonListResponse

func (*RestapiUnusedReasonListResponse) MarshalBinary

func (m *RestapiUnusedReasonListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiUnusedReasonListResponse) UnmarshalBinary

func (m *RestapiUnusedReasonListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiUnusedReasonListResponse) Validate

Validate validates this restapi unused reason list response

type RestapiUpdateReasonGroupRequest

type RestapiUpdateReasonGroupRequest struct {

	// reason ids
	ReasonIds []string `json:"reasonIds"`

	// max 256 chars
	// Required: true
	Title *string `json:"title"`
}

RestapiUpdateReasonGroupRequest restapi update reason group request

swagger:model restapi.updateReasonGroupRequest

func (*RestapiUpdateReasonGroupRequest) MarshalBinary

func (m *RestapiUpdateReasonGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiUpdateReasonGroupRequest) UnmarshalBinary

func (m *RestapiUpdateReasonGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiUpdateReasonGroupRequest) Validate

Validate validates this restapi update reason group request

type RestapiUpdateTicketResolutionsRequest

type RestapiUpdateTicketResolutionsRequest struct {

	// Info regarding the resolution status, max 280 chars
	// Required: true
	Notes *string `json:"notes"`

	// Ticket status is open, closed, auto moderated
	// Required: true
	// Enum: [AUTO_MODERATED CLOSED OPEN UNKNOWN]
	Status *string `json:"status"`
}

RestapiUpdateTicketResolutionsRequest restapi update ticket resolutions request

swagger:model restapi.updateTicketResolutionsRequest

func (*RestapiUpdateTicketResolutionsRequest) MarshalBinary

func (m *RestapiUpdateTicketResolutionsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestapiUpdateTicketResolutionsRequest) UnmarshalBinary

func (m *RestapiUpdateTicketResolutionsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestapiUpdateTicketResolutionsRequest) Validate

Validate validates this restapi update ticket resolutions request

Jump to

Keyboard shortcuts

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