Documentation
¶
Index ¶
- Variables
- func DefineComponent(ctx context.Context, srv *datly.Service) (*repository.Component, error)
- type Handler
- type Input
- type MutableTurnQueueView
- type MutableTurnQueueViews
- type Output
- type TurnQueue
- func (q *TurnQueue) SetConversationId(v string)
- func (q *TurnQueue) SetCreatedAt(v time.Time)
- func (q *TurnQueue) SetId(v string)
- func (q *TurnQueue) SetMessageId(v string)
- func (q *TurnQueue) SetQueueSeq(v int64)
- func (q *TurnQueue) SetStatus(v string)
- func (q *TurnQueue) SetTurnId(v string)
- func (q *TurnQueue) SetUpdatedAt(v time.Time)
- type TurnQueueHas
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
View Source
var PathURI = "/v1/api/agently/turnqueue"
Functions ¶
func DefineComponent ¶
Types ¶
type Input ¶
type Input struct {
Queues []*TurnQueue `parameter:",kind=body,in=data"`
}
type MutableTurnQueueView ¶
type MutableTurnQueueView = TurnQueue
type MutableTurnQueueViews ¶
type MutableTurnQueueViews struct {
TurnQueues []*MutableTurnQueueView
}
type TurnQueue ¶
type TurnQueue struct {
Id string `sqlx:"id,primaryKey" validate:"required"`
ConversationId string `sqlx:"conversation_id"`
TurnId string `sqlx:"turn_id"`
MessageId string `sqlx:"message_id"`
QueueSeq *int64 `sqlx:"queue_seq" json:",omitempty"`
Status string `sqlx:"status"`
CreatedAt *time.Time `sqlx:"created_at" json:",omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:",omitempty"`
Has *TurnQueueHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
TurnQueue is a mutable Datly-compatible row for conversation turn queue.
func (*TurnQueue) SetConversationId ¶
func (*TurnQueue) SetCreatedAt ¶
func (*TurnQueue) SetMessageId ¶
func (*TurnQueue) SetQueueSeq ¶
func (*TurnQueue) SetUpdatedAt ¶
Click to show internal directories.
Click to hide internal directories.