Documentation ¶
Index ¶
- Constants
- type RestapiActionAPIRequest
- type RestapiActionAPIResponse
- type RestapiActionListAPIResponse
- type RestapiAdminAllReasonsResponse
- type RestapiAdminReasonListResponse
- type RestapiAdminReasonResponse
- type RestapiBanAccountActionRequest
- type RestapiBanAccountActionResponse
- type RestapiCategoryLimit
- type RestapiConfigResponse
- type RestapiCreateReasonGroupRequest
- type RestapiCreateReasonRequest
- type RestapiErrorResponse
- type RestapiExtensionCategoryAPIRequest
- type RestapiExtensionCategoryAPIResponse
- type RestapiExtensionCategoryListAPIResponse
- type RestapiModerationRuleActionsRequest
- type RestapiModerationRuleActionsResponse
- type RestapiModerationRuleActiveRequest
- type RestapiModerationRuleRequest
- type RestapiModerationRuleResponse
- type RestapiModerationRulesList
- type RestapiPagination
- type RestapiPublicReasonGroupResponse
- type RestapiPublicReasonListResponse
- type RestapiPublicReasonResponse
- type RestapiReasonGroupListResponse
- type RestapiReasonGroupResponse
- type RestapiReportListResponse
- type RestapiReportResponse
- type RestapiReportingLimit
- type RestapiSubmitReportRequest
- type RestapiSubmitReportResponse
- type RestapiTicketListResponse
- type RestapiTicketResponse
- type RestapiTicketStatisticResponse
- type RestapiUnusedReasonListResponse
- type RestapiUpdateReasonGroupRequest
- type RestapiUpdateTicketResolutionsRequest
Constants ¶
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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 action api request.
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
type RestapiActionAPIResponse ¶
type RestapiActionAPIResponse struct { // actionid // Required: true ActionID *string `json:"actionId"` // actionname // Required: true ActionName *string `json:"actionName"` // eventname // Required: true EventName *string `json:"eventName"` }
RestapiActionAPIResponse Restapi action api response
swagger:model Restapi action api response.
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
type RestapiActionListAPIResponse ¶
type RestapiActionListAPIResponse struct { // data // Required: true Data []*RestapiActionAPIResponse `json:"data"` }
RestapiActionListAPIResponse Restapi action list api response
swagger:model Restapi action list api response.
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
type RestapiAdminAllReasonsResponse ¶
type RestapiAdminAllReasonsResponse struct { // data // Required: true Data []*RestapiPublicReasonResponse `json:"data"` }
RestapiAdminAllReasonsResponse Restapi admin all reasons response
swagger:model Restapi admin all reasons response.
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
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 admin reason list response.
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
type RestapiAdminReasonResponse ¶
type RestapiAdminReasonResponse struct { // createdat // Required: true CreatedAt *string `json:"createdAt"` // description // Required: true Description *string `json:"description"` // groups Groups []*RestapiPublicReasonGroupResponse `json:"groups,omitempty"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // title // Required: true Title *string `json:"title"` // updatedat // Required: true UpdatedAt *string `json:"updatedAt"` }
RestapiAdminReasonResponse Restapi admin reason response
swagger:model Restapi admin reason response.
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
type RestapiBanAccountActionRequest ¶
type RestapiBanAccountActionRequest struct { // Ban comment Comment string `json:"comment,omitempty"` // Ban duration in minutes, -1 means unlimited duration // Required: true // Format: int32 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 ban account action request.
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
type RestapiBanAccountActionResponse ¶
type RestapiBanAccountActionResponse struct { // Ban comment Comment string `json:"comment,omitempty"` // Ban duration in minutes, -1 means unlimited duration // Required: true // Format: int32 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 ban account action response.
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
type RestapiCategoryLimit ¶
type RestapiCategoryLimit struct { // extensioncategory ExtensionCategory string `json:"extensionCategory,omitempty"` // must between 1 to 2147483647 // Required: true // Format: int32 MaxReportPerTicket *int32 `json:"maxReportPerTicket"` // name // Required: true Name *string `json:"name"` }
RestapiCategoryLimit Restapi category limit
swagger:model Restapi category limit.
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
type RestapiConfigResponse ¶
type RestapiConfigResponse struct { // namespace // Required: true Namespace *string `json:"namespace"` // reportinglimit // Required: true ReportingLimit *RestapiReportingLimit `json:"reportingLimit"` // updatedat // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
RestapiConfigResponse Restapi config response
swagger:model Restapi config response.
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
type RestapiCreateReasonGroupRequest ¶
type RestapiCreateReasonGroupRequest struct { // reasonids ReasonIds []string `json:"reasonIds,omitempty"` // max 256 chars // Required: true Title *string `json:"title"` }
RestapiCreateReasonGroupRequest Restapi create reason group request
swagger:model Restapi create reason group request.
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
type RestapiCreateReasonRequest ¶
type RestapiCreateReasonRequest struct { // max 280 chars // Required: true Description *string `json:"description"` // groupids // Required: true GroupIds []string `json:"groupIds"` // max 256 chars // Required: true Title *string `json:"title"` }
RestapiCreateReasonRequest Restapi create reason request
swagger:model Restapi create reason request.
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
type RestapiErrorResponse ¶
type RestapiErrorResponse struct { // errorcode // Required: true // Format: int32 ErrorCode *int32 `json:"errorCode"` // errormessage // Required: true ErrorMessage *string `json:"errorMessage"` }
RestapiErrorResponse Restapi error response
swagger:model Restapi error response.
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
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 extension category api request.
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
type RestapiExtensionCategoryAPIResponse ¶
type RestapiExtensionCategoryAPIResponse struct { // extensioncategory // Required: true ExtensionCategory *string `json:"extensionCategory"` // extensioncategoryname // Required: true ExtensionCategoryName *string `json:"extensionCategoryName"` // servicesource // Required: true ServiceSource *string `json:"serviceSource"` }
RestapiExtensionCategoryAPIResponse Restapi extension category api response
swagger:model Restapi extension category api response.
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
type RestapiExtensionCategoryListAPIResponse ¶
type RestapiExtensionCategoryListAPIResponse struct { // data // Required: true Data []*RestapiExtensionCategoryAPIResponse `json:"data"` }
RestapiExtensionCategoryListAPIResponse Restapi extension category list api response
swagger:model Restapi extension category list api response.
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
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,omitempty"` // Enable hide content action HideContent bool `json:"hideContent"` }
RestapiModerationRuleActionsRequest Restapi moderation rule actions request
swagger:model Restapi moderation rule actions request.
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
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,omitempty"` // Enable hide content action HideContent bool `json:"hideContent"` }
RestapiModerationRuleActionsResponse Restapi moderation rule actions response
swagger:model Restapi moderation rule actions response.
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
type RestapiModerationRuleActiveRequest ¶
type RestapiModerationRuleActiveRequest struct { // active // Required: true Active *bool `json:"active"` }
RestapiModerationRuleActiveRequest Restapi moderation rule active request
swagger:model Restapi moderation rule active request.
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
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 // Enum: ['CHAT', 'EXTENSION', 'UGC', 'USER'] // Required: true 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 // Format: int32 Threshold *int32 `json:"threshold"` }
RestapiModerationRuleRequest Restapi moderation rule request
swagger:model Restapi moderation rule request.
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
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"` // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // extensioncategory 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 // Format: int32 Threshold *int32 `json:"threshold"` // updatedat // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` }
RestapiModerationRuleResponse Restapi moderation rule response
swagger:model Restapi moderation rule response.
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
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 moderation rules list.
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
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
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 public reason group response.
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
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 public reason list response.
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
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 public reason response.
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
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 reason group list response.
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
type RestapiReasonGroupResponse ¶
type RestapiReasonGroupResponse struct { // id // Required: true ID *string `json:"id"` // reasons Reasons []*RestapiAdminReasonResponse `json:"reasons,omitempty"` // title // Required: true Title *string `json:"title"` }
RestapiReasonGroupResponse Restapi reason group response
swagger:model Restapi reason group response.
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
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 report list response.
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
type RestapiReportResponse ¶
type RestapiReportResponse struct { // additionalinfo // Required: true AdditionalInfo interface{} `json:"additionalInfo"` // category // Enum: ['CHAT', 'EXTENSION', 'UGC', 'USER'] // Required: true Category *string `json:"category"` // comment // Required: true Comment *string `json:"comment"` // createdat // Required: true CreatedAt *string `json:"createdAt"` // extensioncategory ExtensionCategory string `json:"extensionCategory,omitempty"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // objectid // Required: true ObjectID *string `json:"objectId"` // objecttype // Required: true ObjectType *string `json:"objectType"` // reason // Required: true Reason *string `json:"reason"` // reporterid // Required: true ReporterID *string `json:"reporterId"` // ticketid // Required: true TicketID *string `json:"ticketId"` // updatedat // Required: true UpdatedAt *string `json:"updatedAt"` // userid // Required: true UserID *string `json:"userId"` }
RestapiReportResponse Restapi report response
swagger:model Restapi report response.
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
type RestapiReportingLimit ¶
type RestapiReportingLimit struct { // categorylimits // Required: true CategoryLimits []*RestapiCategoryLimit `json:"categoryLimits"` // the unit is nanoseconds, must between 1 to 6000000 seconds // Required: true // Format: int64 TimeInterval *int64 `json:"timeInterval"` // must between 1 to 2147483647 // Required: true // Format: int32 UserMaxReportPerTimeInterval *int32 `json:"userMaxReportPerTimeInterval"` }
RestapiReportingLimit Restapi reporting limit
swagger:model Restapi reporting limit.
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
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 // Enum: ['CHAT', 'EXTENSION', 'UGC', 'USER'] // Required: true 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 submit report request.
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
type RestapiSubmitReportResponse ¶
type RestapiSubmitReportResponse struct { // category // Enum: ['CHAT', 'EXTENSION', 'UGC', 'USER'] // Required: true Category *string `json:"category"` // createdat // Required: true CreatedAt *string `json:"createdAt"` // extensioncategory ExtensionCategory string `json:"extensionCategory,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // objectid // Required: true ObjectID *string `json:"objectId"` // objecttype // Required: true ObjectType *string `json:"objectType"` // status // Enum: ['AUTO_MODERATED', 'CLOSED', 'OPEN', 'UNKNOWN'] // Required: true Status *string `json:"status"` // ticketid // Required: true TicketID *string `json:"ticketId"` // updatedat // Required: true UpdatedAt *string `json:"updatedAt"` // userid // Required: true UserID *string `json:"userId"` }
RestapiSubmitReportResponse Restapi submit report response
swagger:model Restapi submit report response.
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
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 ticket list response.
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
type RestapiTicketResponse ¶
type RestapiTicketResponse struct { // category // Enum: ['CHAT', 'EXTENSION', 'UGC', 'USER'] // Required: true Category *string `json:"category"` // createdat // Required: true CreatedAt *string `json:"createdAt"` // extensioncategory 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"` // objectid // Required: true ObjectID *string `json:"objectId"` // objecttype // Required: true ObjectType *string `json:"objectType"` // reportscount // Required: true // Format: int32 ReportsCount *int32 `json:"reportsCount"` // status // Enum: ['AUTO_MODERATED', 'CLOSED', 'OPEN', 'UNKNOWN'] // Required: true Status *string `json:"status"` // updatedat // Required: true UpdatedAt *string `json:"updatedAt"` // userid // Required: true UserID *string `json:"userId"` }
RestapiTicketResponse Restapi ticket response
swagger:model Restapi ticket response.
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
type RestapiTicketStatisticResponse ¶
type RestapiTicketStatisticResponse struct { // moderatedcount // Required: true // Format: int64 ModeratedCount *int64 `json:"moderatedCount"` // opencount // Required: true // Format: int64 OpenCount *int64 `json:"openCount"` // totalcount // Required: true // Format: int64 TotalCount *int64 `json:"totalCount"` }
RestapiTicketStatisticResponse Restapi ticket statistic response
swagger:model Restapi ticket statistic response.
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
type RestapiUnusedReasonListResponse ¶
type RestapiUnusedReasonListResponse struct { // reasons // Required: true Reasons []*RestapiPublicReasonResponse `json:"reasons"` }
RestapiUnusedReasonListResponse Restapi unused reason list response
swagger:model Restapi unused reason list response.
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
type RestapiUpdateReasonGroupRequest ¶
type RestapiUpdateReasonGroupRequest struct { // reasonids ReasonIds []string `json:"reasonIds,omitempty"` // max 256 chars // Required: true Title *string `json:"title"` }
RestapiUpdateReasonGroupRequest Restapi update reason group request
swagger:model Restapi update reason group request.
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
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 // Enum: ['AUTO_MODERATED', 'CLOSED', 'OPEN', 'UNKNOWN'] // Required: true Status *string `json:"status"` }
RestapiUpdateTicketResolutionsRequest Restapi update ticket resolutions request
swagger:model Restapi update ticket resolutions request.
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
Source Files ¶
- restapi_action_api_request.go
- restapi_action_api_response.go
- restapi_action_list_api_response.go
- restapi_admin_all_reasons_response.go
- restapi_admin_reason_list_response.go
- restapi_admin_reason_response.go
- restapi_ban_account_action_request.go
- restapi_ban_account_action_response.go
- restapi_category_limit.go
- restapi_config_response.go
- restapi_create_reason_group_request.go
- restapi_create_reason_request.go
- restapi_error_response.go
- restapi_extension_category_api_request.go
- restapi_extension_category_api_response.go
- restapi_extension_category_list_api_response.go
- restapi_moderation_rule_actions_request.go
- restapi_moderation_rule_actions_response.go
- restapi_moderation_rule_active_request.go
- restapi_moderation_rule_request.go
- restapi_moderation_rule_response.go
- restapi_moderation_rules_list.go
- restapi_pagination.go
- restapi_public_reason_group_response.go
- restapi_public_reason_list_response.go
- restapi_public_reason_response.go
- restapi_reason_group_list_response.go
- restapi_reason_group_response.go
- restapi_report_list_response.go
- restapi_report_response.go
- restapi_reporting_limit.go
- restapi_submit_report_request.go
- restapi_submit_report_response.go
- restapi_ticket_list_response.go
- restapi_ticket_response.go
- restapi_ticket_statistic_response.go
- restapi_unused_reason_list_response.go
- restapi_update_reason_group_request.go
- restapi_update_ticket_resolutions_request.go