Help us shape the future of Go! Take the 2026 Go Developer Survey

chatclientmodels

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// LogconfigConfigurationLogLevelDEBUG captures enum value "DEBUG"
	LogconfigConfigurationLogLevelDEBUG string = "DEBUG"

	// LogconfigConfigurationLogLevelERROR captures enum value "ERROR"
	LogconfigConfigurationLogLevelERROR string = "ERROR"

	// LogconfigConfigurationLogLevelFATAL captures enum value "FATAL"
	LogconfigConfigurationLogLevelFATAL string = "FATAL"

	// LogconfigConfigurationLogLevelINFO captures enum value "INFO"
	LogconfigConfigurationLogLevelINFO string = "INFO"

	// LogconfigConfigurationLogLevelPANIC captures enum value "PANIC"
	LogconfigConfigurationLogLevelPANIC string = "PANIC"

	// LogconfigConfigurationLogLevelTRACE captures enum value "TRACE"
	LogconfigConfigurationLogLevelTRACE string = "TRACE"

	// LogconfigConfigurationLogLevelWARNING captures enum value "WARNING"
	LogconfigConfigurationLogLevelWARNING string = "WARNING"
)
View Source
const (

	// LogconfigConfigurationLogLevelDBDEBUG captures enum value "DEBUG"
	LogconfigConfigurationLogLevelDBDEBUG string = "DEBUG"

	// LogconfigConfigurationLogLevelDBERROR captures enum value "ERROR"
	LogconfigConfigurationLogLevelDBERROR string = "ERROR"

	// LogconfigConfigurationLogLevelDBFATAL captures enum value "FATAL"
	LogconfigConfigurationLogLevelDBFATAL string = "FATAL"

	// LogconfigConfigurationLogLevelDBINFO captures enum value "INFO"
	LogconfigConfigurationLogLevelDBINFO string = "INFO"

	// LogconfigConfigurationLogLevelDBPANIC captures enum value "PANIC"
	LogconfigConfigurationLogLevelDBPANIC string = "PANIC"

	// LogconfigConfigurationLogLevelDBTRACE captures enum value "TRACE"
	LogconfigConfigurationLogLevelDBTRACE string = "TRACE"

	// LogconfigConfigurationLogLevelDBWARNING captures enum value "WARNING"
	LogconfigConfigurationLogLevelDBWARNING string = "WARNING"
)
View Source
const (

	// ModelsGetInboxMessagesResponseDataScopeNAMESPACE captures enum value "NAMESPACE"
	ModelsGetInboxMessagesResponseDataScopeNAMESPACE string = "NAMESPACE"

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

	// ModelsGetInboxMessagesResponseDataStatusDRAFT captures enum value "DRAFT"
	ModelsGetInboxMessagesResponseDataStatusDRAFT string = "DRAFT"

	// ModelsGetInboxMessagesResponseDataStatusSENT captures enum value "SENT"
	ModelsGetInboxMessagesResponseDataStatusSENT string = "SENT"

	// ModelsGetInboxMessagesResponseDataStatusUNSENT captures enum value "UNSENT"
	ModelsGetInboxMessagesResponseDataStatusUNSENT string = "UNSENT"
)
View Source
const (

	// ModelsMessageRequestTopicTypeGROUP captures enum value "GROUP"
	ModelsMessageRequestTopicTypeGROUP string = "GROUP"

	// ModelsMessageRequestTopicTypePERSONAL captures enum value "PERSONAL"
	ModelsMessageRequestTopicTypePERSONAL string = "PERSONAL"
)
View Source
const (

	// ModelsSaveInboxMessageRequestScopeNAMESPACE captures enum value "NAMESPACE"
	ModelsSaveInboxMessageRequestScopeNAMESPACE string = "NAMESPACE"

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

	// ModelsSaveInboxMessageRequestStatusDRAFT captures enum value "DRAFT"
	ModelsSaveInboxMessageRequestStatusDRAFT string = "DRAFT"

	// ModelsSaveInboxMessageRequestStatusSENT captures enum value "SENT"
	ModelsSaveInboxMessageRequestStatusSENT string = "SENT"
)
View Source
const (

	// ModelsSaveInboxMessageResponseScopeNAMESPACE captures enum value "NAMESPACE"
	ModelsSaveInboxMessageResponseScopeNAMESPACE string = "NAMESPACE"

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

	// ModelsSaveInboxMessageResponseStatusDRAFT captures enum value "DRAFT"
	ModelsSaveInboxMessageResponseStatusDRAFT string = "DRAFT"

	// ModelsSaveInboxMessageResponseStatusSENT captures enum value "SENT"
	ModelsSaveInboxMessageResponseStatusSENT string = "SENT"

	// ModelsSaveInboxMessageResponseStatusUNSENT captures enum value "UNSENT"
	ModelsSaveInboxMessageResponseStatusUNSENT string = "UNSENT"
)
View Source
const (

	// ModelsTopicLogItemTypeTOPICCREATE captures enum value "TOPIC_CREATE"
	ModelsTopicLogItemTypeTOPICCREATE string = "TOPIC_CREATE"

	// ModelsTopicLogItemTypeTOPICDELETE captures enum value "TOPIC_DELETE"
	ModelsTopicLogItemTypeTOPICDELETE string = "TOPIC_DELETE"

	// ModelsTopicLogItemTypeTOPICJOIN captures enum value "TOPIC_JOIN"
	ModelsTopicLogItemTypeTOPICJOIN string = "TOPIC_JOIN"

	// ModelsTopicLogItemTypeTOPICLEAVE captures enum value "TOPIC_LEAVE"
	ModelsTopicLogItemTypeTOPICLEAVE string = "TOPIC_LEAVE"
)
View Source
const (

	// ModelsUpdateInboxMessageRequestScopeNAMESPACE captures enum value "NAMESPACE"
	ModelsUpdateInboxMessageRequestScopeNAMESPACE string = "NAMESPACE"

	// ModelsUpdateInboxMessageRequestScopeUSER captures enum value "USER"
	ModelsUpdateInboxMessageRequestScopeUSER string = "USER"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIAddMemberParams

type APIAddMemberParams struct {

	// isadmin
	// Required: true
	IsAdmin *bool `json:"isAdmin"`
}

APIAddMemberParams Api add member params

swagger:model Api add member params.

func (*APIAddMemberParams) MarshalBinary

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

MarshalBinary interface implementation

func (*APIAddMemberParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIAddMemberParams) Validate

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

Validate validates this Api add member params

type APICreateNamespaceTopicParams

type APICreateNamespaceTopicParams struct {

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

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

APICreateNamespaceTopicParams Api create namespace topic params

swagger:model Api create namespace topic params.

func (*APICreateNamespaceTopicParams) MarshalBinary

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

MarshalBinary interface implementation

func (*APICreateNamespaceTopicParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APICreateNamespaceTopicParams) Validate

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

Validate validates this Api create namespace topic params

type APICreateTopicParams

type APICreateTopicParams struct {

	// admins
	// Required: true
	Admins []string `json:"admins"`

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

	// ischannel
	// Required: true
	IsChannel *bool `json:"isChannel"`

	// isjoinable
	// Required: true
	IsJoinable *bool `json:"isJoinable"`

	// members
	// Required: true
	Members []string `json:"members"`

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

	// shardlimit
	// Format: int32
	ShardLimit int32 `json:"shardLimit,omitempty"`

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

APICreateTopicParams Api create topic params

swagger:model Api create topic params.

func (*APICreateTopicParams) MarshalBinary

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

MarshalBinary interface implementation

func (*APICreateTopicParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APICreateTopicParams) Validate

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

Validate validates this Api create topic params

type APICreateTopicResponse

type APICreateTopicResponse struct {

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// createdby
	// Required: true
	CreatedBy *string `json:"createdBy"`

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

	// ischannel
	// Required: true
	IsChannel *bool `json:"isChannel"`

	// isjoinable
	// Required: true
	IsJoinable *bool `json:"isJoinable"`

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

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

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`

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

APICreateTopicResponse Api create topic response

swagger:model Api create topic response.

func (*APICreateTopicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*APICreateTopicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APICreateTopicResponse) Validate

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

Validate validates this Api create topic response

type APIMuteUserRequest

type APIMuteUserRequest struct {

	// duration
	// Required: true
	// Format: int32
	Duration *int32 `json:"duration"`

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

APIMuteUserRequest Api mute user request

swagger:model Api mute user request.

func (*APIMuteUserRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*APIMuteUserRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIMuteUserRequest) Validate

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

Validate validates this Api mute user request

type APIMutedTopicResponse

type APIMutedTopicResponse struct {

	// expirationtime
	// Required: true
	// Format: int64
	ExpirationTime *int64 `json:"expirationTime"`

	// remainingtime
	// Required: true
	// Format: int64
	RemainingTime *int64 `json:"remainingTime"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`
}

APIMutedTopicResponse Api muted topic response

swagger:model Api muted topic response.

func (*APIMutedTopicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*APIMutedTopicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIMutedTopicResponse) Validate

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

Validate validates this Api muted topic response

type APISendChatParams

type APISendChatParams struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

APISendChatParams Api send chat params

swagger:model Api send chat params.

func (*APISendChatParams) MarshalBinary

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

MarshalBinary interface implementation

func (*APISendChatParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APISendChatParams) Validate

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

Validate validates this Api send chat params

type APIUnmuteUserRequest

type APIUnmuteUserRequest struct {

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

APIUnmuteUserRequest Api unmute user request

swagger:model Api unmute user request.

func (*APIUnmuteUserRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*APIUnmuteUserRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIUnmuteUserRequest) Validate

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

Validate validates this Api unmute user request

type APIUpdateTopicParams

type APIUpdateTopicParams struct {

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

	// isjoinable
	// Required: true
	IsJoinable *bool `json:"isJoinable"`

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

APIUpdateTopicParams Api update topic params

swagger:model Api update topic params.

func (*APIUpdateTopicParams) MarshalBinary

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

MarshalBinary interface implementation

func (*APIUpdateTopicParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIUpdateTopicParams) Validate

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

Validate validates this Api update topic params

type ApiError

type ApiError struct {
	Code    string
	Message string
}

func (*ApiError) Error

func (e *ApiError) Error() string

func (*ApiError) IsAvailable

func (e *ApiError) IsAvailable() bool

type ApiResponse

type ApiResponse struct {
	IsSuccess   bool
	StatusCode  int
	ContentType *string
	Error       *ApiError
}

type LogAppMessageDeclaration

type LogAppMessageDeclaration struct {

	// attributes
	// Required: true
	Attributes []string `json:"Attributes"`

	// code
	// Required: true
	Code *string `json:"Code"`

	// codename
	// Required: true
	CodeName *string `json:"CodeName"`

	// section
	// Required: true
	Section *string `json:"Section"`

	// service
	// Required: true
	Service *string `json:"Service"`

	// text
	// Required: true
	Text *string `json:"Text"`
}

LogAppMessageDeclaration Log app message declaration

swagger:model Log app message declaration.

func (*LogAppMessageDeclaration) MarshalBinary

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

MarshalBinary interface implementation

func (*LogAppMessageDeclaration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogAppMessageDeclaration) Validate

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

Validate validates this Log app message declaration

type LogconfigConfiguration

type LogconfigConfiguration struct {

	// internalaccesslogenabled
	InternalAccessLogEnabled bool `json:"internalAccessLogEnabled"`

	// loglevel
	// Enum: ['debug', 'error', 'fatal', 'info', 'panic', 'trace', 'warning']
	LogLevel string `json:"logLevel,omitempty"`

	// logleveldb
	// Enum: ['debug', 'error', 'fatal', 'info', 'panic', 'trace', 'warning']
	LogLevelDB string `json:"logLevelDB,omitempty"`

	// slowquerythreshold
	// Format: int64
	SlowQueryThreshold int64 `json:"slowQueryThreshold,omitempty"`

	// socketlogenabled
	SocketLogEnabled bool `json:"socketLogEnabled"`
}

LogconfigConfiguration Logconfig configuration

swagger:model Logconfig configuration.

func (*LogconfigConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*LogconfigConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogconfigConfiguration) Validate

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

Validate validates this Logconfig configuration

type MessageActionAddUserToTopicResult

type MessageActionAddUserToTopicResult struct {

	// processed
	// Required: true
	// Format: int64
	Processed *int64 `json:"processed"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`

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

MessageActionAddUserToTopicResult Message action add user to topic result

swagger:model Message action add user to topic result.

func (*MessageActionAddUserToTopicResult) MarshalBinary

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

MarshalBinary interface implementation

func (*MessageActionAddUserToTopicResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MessageActionAddUserToTopicResult) Validate

Validate validates this Message action add user to topic result

type MessageActionDeleteTopicResult

type MessageActionDeleteTopicResult struct {

	// processed
	// Required: true
	// Format: int64
	Processed *int64 `json:"processed"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`
}

MessageActionDeleteTopicResult Message action delete topic result

swagger:model Message action delete topic result.

func (*MessageActionDeleteTopicResult) MarshalBinary

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

MarshalBinary interface implementation

func (*MessageActionDeleteTopicResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MessageActionDeleteTopicResult) Validate

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

Validate validates this Message action delete topic result

type ModelsAddInboxCategoryRequest

type ModelsAddInboxCategoryRequest struct {

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// expiresin
	// Required: true
	// Format: int64
	ExpiresIn *int64 `json:"expiresIn"`

	// hook
	Hook *ModelsCategoryHook `json:"hook,omitempty"`

	// jsonschema
	JSONSchema interface{} `json:"jsonSchema,omitempty"`

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

	// saveinbox
	// Required: true
	SaveInbox *bool `json:"saveInbox"`

	// sendnotification
	// Required: true
	SendNotification *bool `json:"sendNotification"`
}

ModelsAddInboxCategoryRequest Models add inbox category request

swagger:model Models add inbox category request.

func (*ModelsAddInboxCategoryRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsAddInboxCategoryRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAddInboxCategoryRequest) Validate

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

Validate validates this Models add inbox category request

type ModelsAddInboxCategoryResponse

type ModelsAddInboxCategoryResponse struct {

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// expiresin
	// Required: true
	// Format: int64
	ExpiresIn *int64 `json:"expiresIn"`

	// hook
	Hook *ModelsCategoryHook `json:"hook,omitempty"`

	// jsonschema
	JSONSchema interface{} `json:"jsonSchema,omitempty"`

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

	// saveinbox
	// Required: true
	SaveInbox *bool `json:"saveInbox"`

	// sendnotification
	// Required: true
	SendNotification *bool `json:"sendNotification"`
}

ModelsAddInboxCategoryResponse Models add inbox category response

swagger:model Models add inbox category response.

func (*ModelsAddInboxCategoryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsAddInboxCategoryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAddInboxCategoryResponse) Validate

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

Validate validates this Models add inbox category response

type ModelsBanTopicMemberParam

type ModelsBanTopicMemberParam struct {

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsBanTopicMemberParam Models ban topic member param

swagger:model Models ban topic member param.

func (*ModelsBanTopicMemberParam) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsBanTopicMemberParam) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBanTopicMemberParam) Validate

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

Validate validates this Models ban topic member param

type ModelsBanTopicMemberResult

type ModelsBanTopicMemberResult struct {

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsBanTopicMemberResult Models ban topic member result

swagger:model Models ban topic member result.

func (*ModelsBanTopicMemberResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsBanTopicMemberResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBanTopicMemberResult) Validate

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

Validate validates this Models ban topic member result

type ModelsCategoryHook

type ModelsCategoryHook struct {

	// driver
	Driver string `json:"driver,omitempty"`

	// params
	Params interface{} `json:"params,omitempty"`
}

ModelsCategoryHook Models category hook

swagger:model Models category hook.

func (*ModelsCategoryHook) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCategoryHook) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCategoryHook) Validate

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

Validate validates this Models category hook

type ModelsChannelTopicResponse

type ModelsChannelTopicResponse struct {

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// createdby
	// Required: true
	CreatedBy *string `json:"createdBy"`

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

	// isjoinable
	// Required: true
	IsJoinable *bool `json:"isJoinable"`

	// messageperminutes
	// Required: true
	// Format: double
	MessagePerMinutes *float64 `json:"messagePerMinutes"`

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

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

	// shardlimit
	// Required: true
	// Format: int32
	ShardLimit *int32 `json:"shardLimit"`

	// shardnumber
	// Required: true
	// Format: int32
	ShardNumber *int32 `json:"shardNumber"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`

	// totalmember
	// Required: true
	// Format: int32
	TotalMember *int32 `json:"totalMember"`
}

ModelsChannelTopicResponse Models channel topic response

swagger:model Models channel topic response.

func (*ModelsChannelTopicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChannelTopicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChannelTopicResponse) Validate

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

Validate validates this Models channel topic response

type ModelsChannelTopicSummaryResponse

type ModelsChannelTopicSummaryResponse struct {

	// totalchannel
	// Required: true
	// Format: int32
	TotalChannel *int32 `json:"totalChannel"`

	// totalshard
	// Required: true
	// Format: int32
	TotalShard *int32 `json:"totalShard"`
}

ModelsChannelTopicSummaryResponse Models channel topic summary response

swagger:model Models channel topic summary response.

func (*ModelsChannelTopicSummaryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChannelTopicSummaryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChannelTopicSummaryResponse) Validate

Validate validates this Models channel topic summary response

type ModelsChannelTopicWithPaginationResponse

type ModelsChannelTopicWithPaginationResponse struct {

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

	// paging
	// Required: true
	Paging *ModelsPagination `json:"paging"`

	// totaldata
	// Required: true
	// Format: int32
	TotalData *int32 `json:"totalData"`
}

ModelsChannelTopicWithPaginationResponse Models channel topic with pagination response

swagger:model Models channel topic with pagination response.

func (*ModelsChannelTopicWithPaginationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChannelTopicWithPaginationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChannelTopicWithPaginationResponse) Validate

Validate validates this Models channel topic with pagination response

type ModelsChatMessageResponse

type ModelsChatMessageResponse struct {

	// from
	// Required: true
	From *string `json:"from"`

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

	// message
	// Required: true
	Message *string `json:"message"`

	// readat
	// Format: int64
	ReadAt int64 `json:"readAt,omitempty"`

	// receivedat
	// Format: int64
	ReceivedAt int64 `json:"receivedAt,omitempty"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`
}

ModelsChatMessageResponse Models chat message response

swagger:model Models chat message response.

func (*ModelsChatMessageResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChatMessageResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChatMessageResponse) Validate

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

Validate validates this Models chat message response

type ModelsChatMessageWithPaginationResponse

type ModelsChatMessageWithPaginationResponse struct {

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

	// paging
	// Required: true
	Paging *ModelsPagination `json:"paging"`

	// totaldata
	// Required: true
	// Format: int32
	TotalData *int32 `json:"totalData"`
}

ModelsChatMessageWithPaginationResponse Models chat message with pagination response

swagger:model Models chat message with pagination response.

func (*ModelsChatMessageWithPaginationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChatMessageWithPaginationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChatMessageWithPaginationResponse) Validate

Validate validates this Models chat message with pagination response

type ModelsChatSnapshotMessage

type ModelsChatSnapshotMessage struct {

	// chatid
	// Required: true
	ChatID *string `json:"chatId"`

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// message
	// Required: true
	Message *string `json:"message"`

	// senderid
	// Required: true
	SenderID *string `json:"senderId"`
}

ModelsChatSnapshotMessage Models chat snapshot message

swagger:model Models chat snapshot message.

func (*ModelsChatSnapshotMessage) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChatSnapshotMessage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChatSnapshotMessage) Validate

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

Validate validates this Models chat snapshot message

type ModelsChatSnapshots

type ModelsChatSnapshots struct {

	// chatid
	// Required: true
	ChatID *string `json:"chatId"`

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// joinedtopics
	// Required: true
	JoinedTopics []string `json:"joinedTopics"`

	// messages
	// Required: true
	Messages []*ModelsChatSnapshotMessage `json:"messages"`

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

	// senderid
	// Required: true
	SenderID *string `json:"senderId"`

	// ticketid
	// Required: true
	TicketID *string `json:"ticketId"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`
}

ModelsChatSnapshots Models chat snapshots

swagger:model Models chat snapshots.

func (*ModelsChatSnapshots) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsChatSnapshots) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsChatSnapshots) Validate

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

Validate validates this Models chat snapshots

type ModelsConfig

type ModelsConfig struct {

	// chatratelimitburst
	// Required: true
	// Format: int32
	ChatRateLimitBurst *int32 `json:"ChatRateLimitBurst"`

	// chatratelimitduration
	// Required: true
	// Format: int64
	ChatRateLimitDuration *int64 `json:"ChatRateLimitDuration"`

	// concurrentuserslimit
	// Required: true
	// Format: int32
	ConcurrentUsersLimit *int32 `json:"ConcurrentUsersLimit"`

	// enablemanualtopiccreation
	EnableManualTopicCreation bool `json:"EnableManualTopicCreation"`

	// enableprofanityfilter
	// Required: true
	EnableProfanityFilter *bool `json:"EnableProfanityFilter"`

	// filterappname
	// Required: true
	FilterAppName *string `json:"FilterAppName"`

	// filterparam
	// Required: true
	FilterParam *string `json:"FilterParam"`

	// filtertype
	// Required: true
	FilterType *string `json:"FilterType"`

	// generalratelimitburst
	// Required: true
	// Format: int32
	GeneralRateLimitBurst *int32 `json:"GeneralRateLimitBurst"`

	// generalratelimitduration
	// Required: true
	// Format: int64
	GeneralRateLimitDuration *int64 `json:"GeneralRateLimitDuration"`

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

	// shardcapacitylimit
	// Required: true
	// Format: int32
	ShardCapacityLimit *int32 `json:"ShardCapacityLimit"`

	// sharddefaultlimit
	// Required: true
	// Format: int32
	ShardDefaultLimit *int32 `json:"ShardDefaultLimit"`

	// shardhardlimit
	// Required: true
	// Format: int32
	ShardHardLimit *int32 `json:"ShardHardLimit"`

	// spamchatburst
	// Required: true
	// Format: int32
	SpamChatBurst *int32 `json:"SpamChatBurst"`

	// spamchatduration
	// Required: true
	// Format: int64
	SpamChatDuration *int64 `json:"SpamChatDuration"`

	// spammuteduration
	// Required: true
	// Format: int64
	SpamMuteDuration *int64 `json:"SpamMuteDuration"`

	// defaultdictionaryloaded
	DefaultDictionaryLoaded bool `json:"defaultDictionaryLoaded"`

	// enableclanchat
	EnableClanChat bool `json:"enableClanChat"`

	// enablepmsendplatformid
	EnablePmSendPlatformID bool `json:"enablePmSendPlatformId"`

	// maxchatmessagelength
	// Format: int32
	MaxChatMessageLength int32 `json:"maxChatMessageLength,omitempty"`

	// usedefaultdictionary
	UseDefaultDictionary bool `json:"useDefaultDictionary"`
}

ModelsConfig Models config

swagger:model Models config.

func (*ModelsConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsConfig) Validate

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

Validate validates this Models config

type ModelsConfigExport

type ModelsConfigExport struct {

	// chatratelimitburst
	// Required: true
	// Format: int32
	ChatRateLimitBurst *int32 `json:"chatRateLimitBurst"`

	// chatratelimitduration
	// Required: true
	// Format: int64
	ChatRateLimitDuration *int64 `json:"chatRateLimitDuration"`

	// concurrentuserslimit
	// Required: true
	// Format: int32
	ConcurrentUsersLimit *int32 `json:"concurrentUsersLimit"`

	// enableclanchat
	EnableClanChat bool `json:"enableClanChat"`

	// enablemanualtopiccreation
	EnableManualTopicCreation bool `json:"enableManualTopicCreation"`

	// enablepmsendplatformid
	EnablePmSendPlatformID bool `json:"enablePmSendPlatformId"`

	// enableprofanityfilter
	EnableProfanityFilter bool `json:"enableProfanityFilter"`

	// filterappname
	FilterAppName string `json:"filterAppName,omitempty"`

	// filterparam
	FilterParam string `json:"filterParam,omitempty"`

	// filtertype
	FilterType string `json:"filterType,omitempty"`

	// generalratelimitburst
	// Required: true
	// Format: int32
	GeneralRateLimitBurst *int32 `json:"generalRateLimitBurst"`

	// generalratelimitduration
	// Required: true
	// Format: int64
	GeneralRateLimitDuration *int64 `json:"generalRateLimitDuration"`

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

	// shardcapacitylimit
	// Format: int32
	ShardCapacityLimit int32 `json:"shardCapacityLimit,omitempty"`

	// sharddefaultlimit
	// Format: int32
	ShardDefaultLimit int32 `json:"shardDefaultLimit,omitempty"`

	// shardhardlimit
	// Format: int32
	ShardHardLimit int32 `json:"shardHardLimit,omitempty"`

	// spamchatburst
	// Format: int32
	SpamChatBurst int32 `json:"spamChatBurst,omitempty"`

	// spamchatduration
	// Format: int64
	SpamChatDuration int64 `json:"spamChatDuration,omitempty"`

	// spammuteduration
	// Format: int64
	SpamMuteDuration int64 `json:"spamMuteDuration,omitempty"`
}

ModelsConfigExport Models config export

swagger:model Models config export.

func (*ModelsConfigExport) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsConfigExport) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsConfigExport) Validate

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

Validate validates this Models config export

type ModelsConfigList

type ModelsConfigList struct {

	// configs
	// Required: true
	Configs []*ModelsConfig `json:"configs"`
}

ModelsConfigList Models config list

swagger:model Models config list.

func (*ModelsConfigList) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsConfigList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsConfigList) Validate

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

Validate validates this Models config list

type ModelsConfigResponse

type ModelsConfigResponse struct {

	// chatratelimitburst
	// Format: int32
	ChatRateLimitBurst int32 `json:"chatRateLimitBurst,omitempty"`

	// chatratelimitduration
	// Format: int64
	ChatRateLimitDuration int64 `json:"chatRateLimitDuration,omitempty"`

	// concurrentuserslimit
	// Format: int32
	ConcurrentUsersLimit int32 `json:"concurrentUsersLimit,omitempty"`

	// enableclanchat
	EnableClanChat bool `json:"enableClanChat"`

	// enablemanualtopiccreation
	EnableManualTopicCreation bool `json:"enableManualTopicCreation"`

	// enablepmsendplatformid
	EnablePmSendPlatformID bool `json:"enablePmSendPlatformId"`

	// enableprofanityfilter
	EnableProfanityFilter bool `json:"enableProfanityFilter"`

	// filterappname
	FilterAppName string `json:"filterAppName,omitempty"`

	// filterparam
	FilterParam string `json:"filterParam,omitempty"`

	// filtertype
	FilterType string `json:"filterType,omitempty"`

	// generalratelimitburst
	// Format: int32
	GeneralRateLimitBurst int32 `json:"generalRateLimitBurst,omitempty"`

	// generalratelimitduration
	// Format: int64
	GeneralRateLimitDuration int64 `json:"generalRateLimitDuration,omitempty"`

	// maxchatmessagelength
	// Format: int32
	MaxChatMessageLength int32 `json:"maxChatMessageLength,omitempty"`

	// shardcapacitylimit
	// Format: int32
	ShardCapacityLimit int32 `json:"shardCapacityLimit,omitempty"`

	// sharddefaultlimit
	// Format: int32
	ShardDefaultLimit int32 `json:"shardDefaultLimit,omitempty"`

	// shardhardlimit
	// Format: int32
	ShardHardLimit int32 `json:"shardHardLimit,omitempty"`

	// spamchatburst
	// Format: int32
	SpamChatBurst int32 `json:"spamChatBurst,omitempty"`

	// spamchatduration
	// Format: int64
	SpamChatDuration int64 `json:"spamChatDuration,omitempty"`

	// spammuteduration
	// Format: int64
	SpamMuteDuration int64 `json:"spamMuteDuration,omitempty"`
}

ModelsConfigResponse Models config response

swagger:model Models config response.

func (*ModelsConfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsConfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsConfigResponse) Validate

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

Validate validates this Models config response

type ModelsDictionary

type ModelsDictionary struct {

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

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

	// parentid
	ParentID string `json:"parentId,omitempty"`

	// word
	// Required: true
	Word *string `json:"word"`

	// wordtype
	// Required: true
	WordType *string `json:"wordType"`
}

ModelsDictionary Models dictionary

swagger:model Models dictionary.

func (*ModelsDictionary) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionary) Validate

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

Validate validates this Models dictionary

type ModelsDictionaryChild

type ModelsDictionaryChild struct {

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

	// word
	// Required: true
	Word *string `json:"word"`
}

ModelsDictionaryChild Models dictionary child

swagger:model Models dictionary child.

func (*ModelsDictionaryChild) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryChild) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryChild) Validate

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

Validate validates this Models dictionary child

type ModelsDictionaryExport

type ModelsDictionaryExport struct {

	// dictionaries
	// Required: true
	Dictionaries []*ModelsDictionaryExportItem `json:"dictionaries"`
}

ModelsDictionaryExport Models dictionary export

swagger:model Models dictionary export.

func (*ModelsDictionaryExport) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryExport) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryExport) Validate

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

Validate validates this Models dictionary export

type ModelsDictionaryExportItem

type ModelsDictionaryExportItem struct {

	// falsenegative
	FalseNegative []string `json:"falseNegative,omitempty"`

	// falsepositive
	FalsePositive []string `json:"falsePositive,omitempty"`

	// word
	// Required: true
	Word *string `json:"word"`
}

ModelsDictionaryExportItem Models dictionary export item

swagger:model Models dictionary export item.

func (*ModelsDictionaryExportItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryExportItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryExportItem) Validate

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

Validate validates this Models dictionary export item

type ModelsDictionaryGroup

type ModelsDictionaryGroup struct {

	// count
	// Required: true
	// Format: int32
	Count *int32 `json:"count"`

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

ModelsDictionaryGroup Models dictionary group

swagger:model Models dictionary group.

func (*ModelsDictionaryGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryGroup) Validate

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

Validate validates this Models dictionary group

type ModelsDictionaryImportResult

type ModelsDictionaryImportResult struct {

	// words
	// Required: true
	Words *ModelsDictionaryWordChanges `json:"words"`
}

ModelsDictionaryImportResult Models dictionary import result

swagger:model Models dictionary import result.

func (*ModelsDictionaryImportResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryImportResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryImportResult) Validate

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

Validate validates this Models dictionary import result

type ModelsDictionaryInsertBulkRequest

type ModelsDictionaryInsertBulkRequest struct {

	// dictionaries
	// Required: true
	Dictionaries []*ModelsDictionaryInsertRequest `json:"dictionaries"`
}

ModelsDictionaryInsertBulkRequest Models dictionary insert bulk request

swagger:model Models dictionary insert bulk request.

func (*ModelsDictionaryInsertBulkRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryInsertBulkRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryInsertBulkRequest) Validate

Validate validates this Models dictionary insert bulk request

type ModelsDictionaryInsertRequest

type ModelsDictionaryInsertRequest struct {

	// falsenegative
	// Required: true
	FalseNegative []string `json:"falseNegative"`

	// falsepositive
	// Required: true
	FalsePositive []string `json:"falsePositive"`

	// word
	// Required: true
	Word *string `json:"word"`

	// wordtype
	// Required: true
	WordType *string `json:"wordType"`
}

ModelsDictionaryInsertRequest Models dictionary insert request

swagger:model Models dictionary insert request.

func (*ModelsDictionaryInsertRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryInsertRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryInsertRequest) Validate

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

Validate validates this Models dictionary insert request

type ModelsDictionaryQueryResult

type ModelsDictionaryQueryResult struct {

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

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

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

ModelsDictionaryQueryResult Models dictionary query result

swagger:model Models dictionary query result.

func (*ModelsDictionaryQueryResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryQueryResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryQueryResult) Validate

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

Validate validates this Models dictionary query result

type ModelsDictionaryUpdateRequest

type ModelsDictionaryUpdateRequest struct {

	// falsenegative
	// Required: true
	FalseNegative []string `json:"falseNegative"`

	// falsepositive
	// Required: true
	FalsePositive []string `json:"falsePositive"`

	// word
	// Required: true
	Word *string `json:"word"`

	// wordtype
	// Required: true
	WordType *string `json:"wordType"`
}

ModelsDictionaryUpdateRequest Models dictionary update request

swagger:model Models dictionary update request.

func (*ModelsDictionaryUpdateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryUpdateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryUpdateRequest) Validate

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

Validate validates this Models dictionary update request

type ModelsDictionaryWithChildren

type ModelsDictionaryWithChildren struct {

	// falsenegatives
	FalseNegatives []*ModelsDictionaryChild `json:"falseNegatives,omitempty"`

	// falsepositives
	FalsePositives []*ModelsDictionaryChild `json:"falsePositives,omitempty"`

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

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

	// parentid
	ParentID string `json:"parentId,omitempty"`

	// word
	// Required: true
	Word *string `json:"word"`

	// wordtype
	// Required: true
	WordType *string `json:"wordType"`
}

ModelsDictionaryWithChildren Models dictionary with children

swagger:model Models dictionary with children.

func (*ModelsDictionaryWithChildren) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryWithChildren) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryWithChildren) Validate

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

Validate validates this Models dictionary with children

type ModelsDictionaryWordChanges

type ModelsDictionaryWordChanges struct {

	// added
	// Required: true
	Added []string `json:"added"`

	// failed
	// Required: true
	Failed []string `json:"failed"`

	// ignored
	// Required: true
	Ignored []string `json:"ignored"`

	// replaced
	// Required: true
	Replaced []string `json:"replaced"`

	// unchanged
	// Required: true
	Unchanged []string `json:"unchanged"`
}

ModelsDictionaryWordChanges Models dictionary word changes

swagger:model Models dictionary word changes.

func (*ModelsDictionaryWordChanges) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsDictionaryWordChanges) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsDictionaryWordChanges) Validate

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

Validate validates this Models dictionary word changes

type ModelsGetInboxCategoriesResponseItem

type ModelsGetInboxCategoriesResponseItem struct {

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// expiresin
	// Required: true
	// Format: int64
	ExpiresIn *int64 `json:"expiresIn"`

	// hook
	Hook *ModelsCategoryHook `json:"hook,omitempty"`

	// jsonschema
	JSONSchema interface{} `json:"jsonSchema,omitempty"`

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

	// saveinbox
	// Required: true
	SaveInbox *bool `json:"saveInbox"`

	// sendnotification
	// Required: true
	SendNotification *bool `json:"sendNotification"`
}

ModelsGetInboxCategoriesResponseItem Models get inbox categories response item

swagger:model Models get inbox categories response item.

func (*ModelsGetInboxCategoriesResponseItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetInboxCategoriesResponseItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetInboxCategoriesResponseItem) Validate

Validate validates this Models get inbox categories response item

type ModelsGetInboxMessagesResponse

type ModelsGetInboxMessagesResponse struct {

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

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

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

ModelsGetInboxMessagesResponse Models get inbox messages response

swagger:model Models get inbox messages response.

func (*ModelsGetInboxMessagesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetInboxMessagesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetInboxMessagesResponse) Validate

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

Validate validates this Models get inbox messages response

type ModelsGetInboxMessagesResponseData

type ModelsGetInboxMessagesResponseData struct {

	// category
	Category string `json:"category,omitempty"`

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// expiredat
	// Required: true
	// Format: int64
	ExpiredAt *int64 `json:"expiredAt"`

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

	// message
	Message interface{} `json:"message,omitempty"`

	// scope
	// Enum: ['NAMESPACE', 'USER']
	// Required: true
	Scope *string `json:"scope"`

	// senderid
	// Required: true
	SenderID *string `json:"senderId"`

	// status
	// Enum: ['DRAFT', 'SENT', 'UNSENT']
	// Required: true
	Status *string `json:"status"`

	// updatedat
	// Required: true
	// Format: int64
	UpdatedAt *int64 `json:"updatedAt"`

	// userids
	UserIds []string `json:"userIds,omitempty"`
}

ModelsGetInboxMessagesResponseData Models get inbox messages response data

swagger:model Models get inbox messages response data.

func (*ModelsGetInboxMessagesResponseData) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetInboxMessagesResponseData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetInboxMessagesResponseData) Validate

Validate validates this Models get inbox messages response data

type ModelsGetInboxStatsResponse

type ModelsGetInboxStatsResponse struct {

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

ModelsGetInboxStatsResponse Models get inbox stats response

swagger:model Models get inbox stats response.

func (*ModelsGetInboxStatsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetInboxStatsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetInboxStatsResponse) Validate

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

Validate validates this Models get inbox stats response

type ModelsGetInboxUsersResponse

type ModelsGetInboxUsersResponse struct {

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

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

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

ModelsGetInboxUsersResponse Models get inbox users response

swagger:model Models get inbox users response.

func (*ModelsGetInboxUsersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetInboxUsersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetInboxUsersResponse) Validate

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

Validate validates this Models get inbox users response

type ModelsGetListTopicKafkaResponse added in v0.3.0

type ModelsGetListTopicKafkaResponse struct {

	// topicname
	// Required: true
	TopicName []string `json:"topicName"`
}

ModelsGetListTopicKafkaResponse Models get list topic kafka response

swagger:model Models get list topic kafka response.

func (*ModelsGetListTopicKafkaResponse) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*ModelsGetListTopicKafkaResponse) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*ModelsGetListTopicKafkaResponse) Validate added in v0.3.0

Validate validates this Models get list topic kafka response

type ModelsImportConfigResponse

type ModelsImportConfigResponse struct {

	// failedconfigs
	// Required: true
	FailedConfigs []string `json:"failedConfigs"`

	// ignoredconfigs
	// Required: true
	IgnoredConfigs []string `json:"ignoredConfigs"`

	// newconfigs
	// Required: true
	NewConfigs []string `json:"newConfigs"`

	// replacedconfigs
	// Required: true
	ReplacedConfigs []string `json:"replacedConfigs"`
}

ModelsImportConfigResponse Models import config response

swagger:model Models import config response.

func (*ModelsImportConfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsImportConfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsImportConfigResponse) Validate

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

Validate validates this Models import config response

type ModelsJSONSchemaType

type ModelsJSONSchemaType interface{}

ModelsJSONSchemaType Models JSON schema type

swagger:model Models JSON schema type.

type ModelsMessageRequest

type ModelsMessageRequest struct {

	// message
	// Required: true
	Message *string `json:"message"`

	// timestamp
	// Format: int64
	Timestamp int64 `json:"timestamp,omitempty"`

	// topicid
	TopicID string `json:"topicId,omitempty"`

	// topictype
	// Enum: ['GROUP', 'PERSONAL']
	TopicType string `json:"topicType,omitempty"`

	// userid
	UserID string `json:"userId,omitempty"`
}

ModelsMessageRequest Models message request

swagger:model Models message request.

func (*ModelsMessageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsMessageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsMessageRequest) Validate

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

Validate validates this Models message request

type ModelsMessageResultWithAttributes

type ModelsMessageResultWithAttributes struct {

	// action
	// Required: true
	Action *string `json:"action"`

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// cencoredwords
	CencoredWords []string `json:"cencoredWords,omitempty"`

	// classifications
	Classifications []string `json:"classifications,omitempty"`

	// finalmessage
	// Required: true
	FinalMessage *string `json:"finalMessage"`

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

	// referenceid
	ReferenceID string `json:"referenceId,omitempty"`

	// timestamp
	// Required: true
	// Format: int64
	Timestamp *int64 `json:"timestamp"`
}

ModelsMessageResultWithAttributes Models message result with attributes

swagger:model Models message result with attributes.

func (*ModelsMessageResultWithAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsMessageResultWithAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsMessageResultWithAttributes) Validate

Validate validates this Models message result with attributes

type ModelsMessageStats

type ModelsMessageStats struct {

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

	// messageread
	// Required: true
	// Format: int32
	MessageRead *int32 `json:"messageRead"`

	// messagestored
	// Required: true
	// Format: int32
	MessageStored *int32 `json:"messageStored"`

	// notificationsent
	// Required: true
	// Format: int32
	NotificationSent *int32 `json:"notificationSent"`
}

ModelsMessageStats Models message stats

swagger:model Models message stats.

func (*ModelsMessageStats) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsMessageStats) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsMessageStats) Validate

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

Validate validates this Models message stats

type ModelsPagination

type ModelsPagination struct {

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

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

ModelsPagination Models pagination

swagger:model Models pagination.

func (*ModelsPagination) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPagination) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPagination) Validate

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

Validate validates this Models pagination

type ModelsPublicBanTopicMembersRequest

type ModelsPublicBanTopicMembersRequest struct {

	// userids
	// Required: true
	UserIDs []string `json:"userIDs"`
}

ModelsPublicBanTopicMembersRequest Models public ban topic members request

swagger:model Models public ban topic members request.

func (*ModelsPublicBanTopicMembersRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPublicBanTopicMembersRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicBanTopicMembersRequest) Validate

Validate validates this Models public ban topic members request

type ModelsPublicBanTopicMembersResponse

type ModelsPublicBanTopicMembersResponse struct {

	// userids
	// Required: true
	UserIDs []string `json:"userIDs"`
}

ModelsPublicBanTopicMembersResponse Models public ban topic members response

swagger:model Models public ban topic members response.

func (*ModelsPublicBanTopicMembersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPublicBanTopicMembersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicBanTopicMembersResponse) Validate

Validate validates this Models public ban topic members response

type ModelsPublicConfigResponse

type ModelsPublicConfigResponse struct {

	// chatratelimitburst
	// Required: true
	// Format: int32
	ChatRateLimitBurst *int32 `json:"chatRateLimitBurst"`

	// chatratelimitduration
	// Required: true
	// Format: int64
	ChatRateLimitDuration *int64 `json:"chatRateLimitDuration"`

	// enablepmsendplatformid
	EnablePmSendPlatformID bool `json:"enablePmSendPlatformId"`

	// generalratelimitburst
	// Required: true
	// Format: int32
	GeneralRateLimitBurst *int32 `json:"generalRateLimitBurst"`

	// generalratelimitduration
	// Required: true
	// Format: int64
	GeneralRateLimitDuration *int64 `json:"generalRateLimitDuration"`

	// maxchatmessagelength
	// Required: true
	// Format: int32
	MaxChatMessageLength *int32 `json:"maxChatMessageLength"`

	// spamchatburst
	// Required: true
	// Format: int32
	SpamChatBurst *int32 `json:"spamChatBurst"`

	// spamchatduration
	// Required: true
	// Format: int64
	SpamChatDuration *int64 `json:"spamChatDuration"`

	// spammuteduration
	// Required: true
	// Format: int64
	SpamMuteDuration *int64 `json:"spamMuteDuration"`
}

ModelsPublicConfigResponse Models public config response

swagger:model Models public config response.

func (*ModelsPublicConfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPublicConfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicConfigResponse) Validate

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

Validate validates this Models public config response

type ModelsPublicUnbanTopicMembersRequest

type ModelsPublicUnbanTopicMembersRequest struct {

	// userids
	// Required: true
	UserIDs []string `json:"userIDs"`
}

ModelsPublicUnbanTopicMembersRequest Models public unban topic members request

swagger:model Models public unban topic members request.

func (*ModelsPublicUnbanTopicMembersRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPublicUnbanTopicMembersRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicUnbanTopicMembersRequest) Validate

Validate validates this Models public unban topic members request

type ModelsPublicUnbanTopicMembersResponse

type ModelsPublicUnbanTopicMembersResponse struct {

	// userids
	// Required: true
	UserIDs []string `json:"userIDs"`
}

ModelsPublicUnbanTopicMembersResponse Models public unban topic members response

swagger:model Models public unban topic members response.

func (*ModelsPublicUnbanTopicMembersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPublicUnbanTopicMembersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicUnbanTopicMembersResponse) Validate

Validate validates this Models public unban topic members response

type ModelsSaveInboxMessageRequest

type ModelsSaveInboxMessageRequest struct {

	// category
	Category string `json:"category,omitempty"`

	// expiredat
	// Required: true
	// Format: int64
	ExpiredAt *int64 `json:"expiredAt"`

	// message
	// Required: true
	Message interface{} `json:"message"`

	// scope
	// Enum: ['NAMESPACE', 'USER']
	// Required: true
	Scope *string `json:"scope"`

	// status
	// Enum: ['DRAFT', 'SENT']
	// Required: true
	Status *string `json:"status"`

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsSaveInboxMessageRequest Models save inbox message request

swagger:model Models save inbox message request.

func (*ModelsSaveInboxMessageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsSaveInboxMessageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsSaveInboxMessageRequest) Validate

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

Validate validates this Models save inbox message request

type ModelsSaveInboxMessageResponse

type ModelsSaveInboxMessageResponse struct {

	// category
	Category string `json:"category,omitempty"`

	// expiredat
	// Required: true
	// Format: int64
	ExpiredAt *int64 `json:"expiredAt"`

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

	// message
	Message interface{} `json:"message,omitempty"`

	// scope
	// Enum: ['NAMESPACE', 'USER']
	// Required: true
	Scope *string `json:"scope"`

	// status
	// Enum: ['DRAFT', 'SENT', 'UNSENT']
	// Required: true
	Status *string `json:"status"`

	// userids
	UserIDs []string `json:"userIDs,omitempty"`
}

ModelsSaveInboxMessageResponse Models save inbox message response

swagger:model Models save inbox message response.

func (*ModelsSaveInboxMessageResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsSaveInboxMessageResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsSaveInboxMessageResponse) Validate

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

Validate validates this Models save inbox message response

type ModelsSendInboxMessageRequest

type ModelsSendInboxMessageRequest interface{}

ModelsSendInboxMessageRequest Models send inbox message request

swagger:model Models send inbox message request.

type ModelsSendInboxMessageResponse

type ModelsSendInboxMessageResponse interface{}

ModelsSendInboxMessageResponse Models send inbox message response

swagger:model Models send inbox message response.

type ModelsTopicInfo

type ModelsTopicInfo struct {

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// deletedat
	// Format: int64
	DeletedAt int64 `json:"deletedAt,omitempty"`

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

	// members
	Members []*TopicInfoMember `json:"members,omitempty"`

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

	// subtype
	// Required: true
	SubType *string `json:"subType"`

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

ModelsTopicInfo Models topic info

swagger:model Models topic info.

func (*ModelsTopicInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTopicInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTopicInfo) Validate

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

Validate validates this Models topic info

type ModelsTopicLogItem

type ModelsTopicLogItem struct {

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

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

	// message
	// Required: true
	Message *string `json:"message"`

	// senderid
	// Required: true
	SenderID *string `json:"senderId"`

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`

	// type
	// Enum: ['TOPIC_CREATE', 'TOPIC_DELETE', 'TOPIC_JOIN', 'TOPIC_LEAVE']
	// Required: true
	Type *string `json:"type"`

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

ModelsTopicLogItem Models topic log item

swagger:model Models topic log item.

func (*ModelsTopicLogItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTopicLogItem) TranslateToApiError

func (m *ModelsTopicLogItem) TranslateToApiError() (*ApiError, error)

func (*ModelsTopicLogItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTopicLogItem) Validate

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

Validate validates this Models topic log item

type ModelsTopicLogWithPaginationResponse

type ModelsTopicLogWithPaginationResponse struct {

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

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

ModelsTopicLogWithPaginationResponse Models topic log with pagination response

swagger:model Models topic log with pagination response.

func (*ModelsTopicLogWithPaginationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTopicLogWithPaginationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTopicLogWithPaginationResponse) Validate

Validate validates this Models topic log with pagination response

type ModelsTopicMemberResponse

type ModelsTopicMemberResponse struct {

	// isadmin
	// Required: true
	IsAdmin *bool `json:"isAdmin"`

	// isbanned
	// Required: true
	IsBanned *bool `json:"isBanned"`

	// shardid
	// Required: true
	ShardID *string `json:"shardId"`

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

ModelsTopicMemberResponse Models topic member response

swagger:model Models topic member response.

func (*ModelsTopicMemberResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTopicMemberResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTopicMemberResponse) Validate

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

Validate validates this Models topic member response

type ModelsTopicMemberWithPaginationResponse

type ModelsTopicMemberWithPaginationResponse struct {

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

	// paging
	// Required: true
	Paging *ModelsPagination `json:"paging"`

	// totaldata
	// Required: true
	// Format: int32
	TotalData *int32 `json:"totalData"`
}

ModelsTopicMemberWithPaginationResponse Models topic member with pagination response

swagger:model Models topic member with pagination response.

func (*ModelsTopicMemberWithPaginationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTopicMemberWithPaginationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTopicMemberWithPaginationResponse) Validate

Validate validates this Models topic member with pagination response

type ModelsTopicResponse

type ModelsTopicResponse struct {

	// createdat
	// Required: true
	// Format: int64
	CreatedAt *int64 `json:"createdAt"`

	// createdby
	// Required: true
	CreatedBy *string `json:"createdBy"`

	// lastmessageat
	// Required: true
	// Format: int64
	LastMessageAt *int64 `json:"lastMessageAt"`

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

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

	// topicid
	// Required: true
	TopicID *string `json:"topicId"`

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

ModelsTopicResponse Models topic response

swagger:model Models topic response.

func (*ModelsTopicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsTopicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsTopicResponse) Validate

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

Validate validates this Models topic response

type ModelsUnbanTopicMemberParam

type ModelsUnbanTopicMemberParam struct {

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsUnbanTopicMemberParam Models unban topic member param

swagger:model Models unban topic member param.

func (*ModelsUnbanTopicMemberParam) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUnbanTopicMemberParam) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUnbanTopicMemberParam) Validate

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

Validate validates this Models unban topic member param

type ModelsUnbanTopicMemberResult

type ModelsUnbanTopicMemberResult struct {

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsUnbanTopicMemberResult Models unban topic member result

swagger:model Models unban topic member result.

func (*ModelsUnbanTopicMemberResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUnbanTopicMemberResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUnbanTopicMemberResult) Validate

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

Validate validates this Models unban topic member result

type ModelsUnsendInboxMessageRequest

type ModelsUnsendInboxMessageRequest struct {

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsUnsendInboxMessageRequest Models unsend inbox message request

swagger:model Models unsend inbox message request.

func (*ModelsUnsendInboxMessageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUnsendInboxMessageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUnsendInboxMessageRequest) Validate

Validate validates this Models unsend inbox message request

type ModelsUnsendInboxMessageResponse

type ModelsUnsendInboxMessageResponse interface{}

ModelsUnsendInboxMessageResponse Models unsend inbox message response

swagger:model Models unsend inbox message response.

type ModelsUpdateInboxCategoryRequest

type ModelsUpdateInboxCategoryRequest struct {

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// expiresin
	// Required: true
	// Format: int64
	ExpiresIn *int64 `json:"expiresIn"`

	// hook
	// Required: true
	Hook *ModelsCategoryHook `json:"hook"`

	// jsonschema
	JSONSchema interface{} `json:"jsonSchema,omitempty"`

	// saveinbox
	// Required: true
	SaveInbox *bool `json:"saveInbox"`

	// sendnotification
	// Required: true
	SendNotification *bool `json:"sendNotification"`
}

ModelsUpdateInboxCategoryRequest Models update inbox category request

swagger:model Models update inbox category request.

func (*ModelsUpdateInboxCategoryRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateInboxCategoryRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateInboxCategoryRequest) Validate

Validate validates this Models update inbox category request

type ModelsUpdateInboxMessageRequest

type ModelsUpdateInboxMessageRequest struct {

	// expiredat
	// Required: true
	// Format: int64
	ExpiredAt *int64 `json:"expiredAt"`

	// message
	// Required: true
	Message interface{} `json:"message"`

	// scope
	// Enum: ['NAMESPACE', 'USER']
	// Required: true
	Scope *string `json:"scope"`

	// userids
	// Required: true
	UserIds []string `json:"userIds"`
}

ModelsUpdateInboxMessageRequest Models update inbox message request

swagger:model Models update inbox message request.

func (*ModelsUpdateInboxMessageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateInboxMessageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateInboxMessageRequest) Validate

Validate validates this Models update inbox message request

type ModelsUserInbox

type ModelsUserInbox struct {

	// keep
	// Required: true
	Keep *bool `json:"keep"`

	// readat
	// Required: true
	// Format: int64
	ReadAt *int64 `json:"readAt"`

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

ModelsUserInbox Models user inbox

swagger:model Models user inbox.

func (*ModelsUserInbox) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUserInbox) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserInbox) Validate

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

Validate validates this Models user inbox

type ResponseError

type ResponseError struct {

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

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

ResponseError Response error

swagger:model Response error.

func (*ResponseError) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseError) TranslateToApiError

func (m *ResponseError) TranslateToApiError() (*ApiError, error)

func (*ResponseError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseError) Validate

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

Validate validates this Response error

type RestapiErrorResponseBody

type RestapiErrorResponseBody struct {

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"ErrorCode"`

	// errormessage
	// Required: true
	ErrorMessage *string `json:"ErrorMessage"`
}

RestapiErrorResponseBody Restapi error response body

swagger:model Restapi error response body.

func (*RestapiErrorResponseBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RestapiErrorResponseBody) TranslateToApiError

func (m *RestapiErrorResponseBody) TranslateToApiError() (*ApiError, error)

func (*RestapiErrorResponseBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestapiErrorResponseBody) Validate

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

Validate validates this Restapi error response body

type TopicInfoMember

type TopicInfoMember struct {

	// leftat
	// Format: int64
	LeftAt int64 `json:"leftAt,omitempty"`

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

TopicInfoMember Topic info member

swagger:model Topic info member.

func (*TopicInfoMember) MarshalBinary

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

MarshalBinary interface implementation

func (*TopicInfoMember) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TopicInfoMember) Validate

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

Validate validates this Topic info member

Source Files

Jump to

Keyboard shortcuts

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