Documentation
¶
Index ¶
- Constants
- type APIAddMemberParams
- type APICreateNamespaceTopicParams
- type APICreateTopicParams
- type APICreateTopicResponse
- type APIMuteUserRequest
- type APIMutedTopicResponse
- type APISendChatParams
- type APIUnmuteUserRequest
- type APIUpdateTopicParams
- type LogAppMessageDeclaration
- type LogconfigConfiguration
- type MessageActionAddUserToTopicResult
- type MessageActionDeleteTopicResult
- type ModelsAddInboxCategoryRequest
- type ModelsAddInboxCategoryResponse
- type ModelsBanTopicMemberParam
- type ModelsBanTopicMemberResult
- type ModelsCategoryHook
- type ModelsChannelTopicResponse
- type ModelsChannelTopicSummaryResponse
- type ModelsChannelTopicWithPaginationResponse
- type ModelsChatMessageResponse
- type ModelsChatMessageWithPaginationResponse
- type ModelsChatSnapshotMessage
- type ModelsChatSnapshots
- type ModelsConfig
- type ModelsConfigExport
- type ModelsConfigList
- type ModelsConfigResponse
- type ModelsDictionary
- type ModelsDictionaryChild
- type ModelsDictionaryExport
- type ModelsDictionaryExportItem
- type ModelsDictionaryGroup
- type ModelsDictionaryImportResult
- type ModelsDictionaryInsertBulkRequest
- type ModelsDictionaryInsertRequest
- type ModelsDictionaryQueryResult
- type ModelsDictionaryUpdateRequest
- type ModelsDictionaryWithChildren
- type ModelsDictionaryWordChanges
- type ModelsGetInboxCategoriesResponseItem
- type ModelsGetInboxMessagesResponse
- type ModelsGetInboxMessagesResponseData
- type ModelsGetInboxStatsResponse
- type ModelsGetInboxUsersResponse
- type ModelsGetListTopicKafkaResponse
- type ModelsImportConfigResponse
- type ModelsJSONSchemaType
- type ModelsMessageRequest
- type ModelsMessageResultWithAttributes
- type ModelsMessageStats
- type ModelsPagination
- type ModelsPublicBanTopicMembersRequest
- type ModelsPublicBanTopicMembersResponse
- type ModelsPublicConfigResponse
- type ModelsPublicUnbanTopicMembersRequest
- type ModelsPublicUnbanTopicMembersResponse
- type ModelsSaveInboxMessageRequest
- type ModelsSaveInboxMessageResponse
- type ModelsSendInboxMessageRequest
- type ModelsSendInboxMessageResponse
- type ModelsTopicInfo
- type ModelsTopicLogItem
- type ModelsTopicLogWithPaginationResponse
- type ModelsTopicMemberResponse
- type ModelsTopicMemberWithPaginationResponse
- type ModelsTopicResponse
- type ModelsUnbanTopicMemberParam
- type ModelsUnbanTopicMemberResult
- type ModelsUnsendInboxMessageRequest
- type ModelsUnsendInboxMessageResponse
- type ModelsUpdateInboxCategoryRequest
- type ModelsUpdateInboxMessageRequest
- type ModelsUserInbox
- type ResponseError
- type RestapiErrorResponseBody
- type TopicInfoMember
Constants ¶
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" )
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" )
const ( // ModelsGetInboxMessagesResponseDataScopeNAMESPACE captures enum value "NAMESPACE" ModelsGetInboxMessagesResponseDataScopeNAMESPACE string = "NAMESPACE" // ModelsGetInboxMessagesResponseDataScopeUSER captures enum value "USER" ModelsGetInboxMessagesResponseDataScopeUSER string = "USER" )
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" )
const ( // ModelsMessageRequestTopicTypeGROUP captures enum value "GROUP" ModelsMessageRequestTopicTypeGROUP string = "GROUP" // ModelsMessageRequestTopicTypePERSONAL captures enum value "PERSONAL" ModelsMessageRequestTopicTypePERSONAL string = "PERSONAL" )
const ( // ModelsSaveInboxMessageRequestScopeNAMESPACE captures enum value "NAMESPACE" ModelsSaveInboxMessageRequestScopeNAMESPACE string = "NAMESPACE" // ModelsSaveInboxMessageRequestScopeUSER captures enum value "USER" ModelsSaveInboxMessageRequestScopeUSER string = "USER" )
const ( // ModelsSaveInboxMessageRequestStatusDRAFT captures enum value "DRAFT" ModelsSaveInboxMessageRequestStatusDRAFT string = "DRAFT" // ModelsSaveInboxMessageRequestStatusSENT captures enum value "SENT" ModelsSaveInboxMessageRequestStatusSENT string = "SENT" )
const ( // ModelsSaveInboxMessageResponseScopeNAMESPACE captures enum value "NAMESPACE" ModelsSaveInboxMessageResponseScopeNAMESPACE string = "NAMESPACE" // ModelsSaveInboxMessageResponseScopeUSER captures enum value "USER" ModelsSaveInboxMessageResponseScopeUSER string = "USER" )
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" )
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" )
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
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
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
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
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
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
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
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
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
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
type LogconfigConfiguration ¶ added in v0.72.0
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 ¶ added in v0.72.0
func (m *LogconfigConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogconfigConfiguration) UnmarshalBinary ¶ added in v0.72.0
func (m *LogconfigConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
type ModelsGetListTopicKafkaResponse ¶ added in v0.79.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.79.0
func (m *ModelsGetListTopicKafkaResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetListTopicKafkaResponse) UnmarshalBinary ¶ added in v0.79.0
func (m *ModelsGetListTopicKafkaResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type ModelsJSONSchemaType ¶
type ModelsJSONSchemaType interface{}
ModelsJSONSchemaType Models JSON schema type
swagger:model Models JSON schema type.
type ModelsMessageRequest ¶ added in v0.69.0
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 ¶ added in v0.69.0
func (m *ModelsMessageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMessageRequest) UnmarshalBinary ¶ added in v0.69.0
func (m *ModelsMessageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMessageResultWithAttributes ¶ added in v0.69.0
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 ¶ added in v0.69.0
func (m *ModelsMessageResultWithAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMessageResultWithAttributes) UnmarshalBinary ¶ added in v0.69.0
func (m *ModelsMessageResultWithAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
type ModelsPublicConfigResponse ¶ added in v0.69.0
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 ¶ added in v0.69.0
func (m *ModelsPublicConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicConfigResponse) UnmarshalBinary ¶ added in v0.69.0
func (m *ModelsPublicConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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) UnmarshalBinary ¶
func (m *ModelsTopicLogItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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) UnmarshalBinary ¶
func (m *ResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) UnmarshalBinary ¶
func (m *RestapiErrorResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
Source Files
¶
- api_add_member_params.go
- api_create_namespace_topic_params.go
- api_create_topic_params.go
- api_create_topic_response.go
- api_mute_user_request.go
- api_muted_topic_response.go
- api_send_chat_params.go
- api_unmute_user_request.go
- api_update_topic_params.go
- log_app_message_declaration.go
- logconfig_configuration.go
- message_action_add_user_to_topic_result.go
- message_action_delete_topic_result.go
- models_add_inbox_category_request.go
- models_add_inbox_category_response.go
- models_ban_topic_member_param.go
- models_ban_topic_member_result.go
- models_category_hook.go
- models_channel_topic_response.go
- models_channel_topic_summary_response.go
- models_channel_topic_with_pagination_response.go
- models_chat_message_response.go
- models_chat_message_with_pagination_response.go
- models_chat_snapshot_message.go
- models_chat_snapshots.go
- models_config.go
- models_config_export.go
- models_config_list.go
- models_config_response.go
- models_dictionary.go
- models_dictionary_child.go
- models_dictionary_export.go
- models_dictionary_export_item.go
- models_dictionary_group.go
- models_dictionary_import_result.go
- models_dictionary_insert_bulk_request.go
- models_dictionary_insert_request.go
- models_dictionary_query_result.go
- models_dictionary_update_request.go
- models_dictionary_with_children.go
- models_dictionary_word_changes.go
- models_get_inbox_categories_response_item.go
- models_get_inbox_messages_response.go
- models_get_inbox_messages_response_data.go
- models_get_inbox_stats_response.go
- models_get_inbox_users_response.go
- models_get_list_topic_kafka_response.go
- models_import_config_response.go
- models_json_schema_type.go
- models_message_request.go
- models_message_result_with_attributes.go
- models_message_stats.go
- models_pagination.go
- models_public_ban_topic_members_request.go
- models_public_ban_topic_members_response.go
- models_public_config_response.go
- models_public_unban_topic_members_request.go
- models_public_unban_topic_members_response.go
- models_save_inbox_message_request.go
- models_save_inbox_message_response.go
- models_send_inbox_message_request.go
- models_send_inbox_message_response.go
- models_topic_info.go
- models_topic_log_item.go
- models_topic_log_with_pagination_response.go
- models_topic_member_response.go
- models_topic_member_with_pagination_response.go
- models_topic_response.go
- models_unban_topic_member_param.go
- models_unban_topic_member_result.go
- models_unsend_inbox_message_request.go
- models_unsend_inbox_message_response.go
- models_update_inbox_category_request.go
- models_update_inbox_message_request.go
- models_user_inbox.go
- response_error.go
- restapi_error_response_body.go
- topic_info_member.go