30 lines
720 B
Go
30 lines
720 B
Go
package response
|
|
|
|
import "time"
|
|
|
|
type UpdateUserAgentResponse struct {
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
type AgentDetail struct {
|
|
ID uint `json:"id"`
|
|
AgentID string `json:"agentId"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
Instructions string `json:"instructions"`
|
|
Type string `json:"type"`
|
|
Status bool `json:"status"`
|
|
IsActive bool `json:"isActive"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|
|
|
|
type GetUserAgentResponse struct {
|
|
UserID uint `json:"userId"`
|
|
Agents []AgentDetail `json:"agentId"`
|
|
}
|
|
|
|
type ErrorResponse struct {
|
|
Message string `json:"message"`
|
|
}
|