Documentation
¶
Index ¶
- Variables
- type GeneratedFile
- func (p *GeneratedFile) SetChecksum(v string)
- func (p *GeneratedFile) SetContainerID(v string)
- func (p *GeneratedFile) SetConversationID(v string)
- func (p *GeneratedFile) SetCopyMode(v string)
- func (p *GeneratedFile) SetCreatedAt(v time.Time)
- func (p *GeneratedFile) SetErrorMessage(v string)
- func (p *GeneratedFile) SetExpiresAt(v time.Time)
- func (p *GeneratedFile) SetFilename(v string)
- func (p *GeneratedFile) SetID(v string)
- func (p *GeneratedFile) SetMessageID(v string)
- func (p *GeneratedFile) SetMimeType(v string)
- func (p *GeneratedFile) SetMode(v string)
- func (p *GeneratedFile) SetPayloadID(v string)
- func (p *GeneratedFile) SetProvider(v string)
- func (p *GeneratedFile) SetProviderFileID(v string)
- func (p *GeneratedFile) SetSizeBytes(v int)
- func (p *GeneratedFile) SetStatus(v string)
- func (p *GeneratedFile) SetTurnID(v string)
- func (p *GeneratedFile) SetUpdatedAt(v time.Time)
- type GeneratedFileHas
- type GeneratedFileView
- type Has
- type Input
- type InputOption
- type Output
Constants ¶
This section is empty.
Variables ¶
View Source
var URI = "/v2/api/agently/generated-file"
Functions ¶
This section is empty.
Types ¶
type GeneratedFile ¶
type GeneratedFile struct {
ID string `sqlx:"id,primaryKey" validate:"required"`
ConversationID string `sqlx:"conversation_id" validate:"required"`
TurnID *string `sqlx:"turn_id" json:",omitempty"`
MessageID *string `sqlx:"message_id" json:",omitempty"`
Provider string `sqlx:"provider" validate:"required"`
Mode string `sqlx:"mode" validate:"required"`
CopyMode string `sqlx:"copy_mode" validate:"required"`
Status string `sqlx:"status" validate:"required"`
PayloadID *string `sqlx:"payload_id" json:",omitempty"`
ContainerID *string `sqlx:"container_id" json:",omitempty"`
ProviderFileID *string `sqlx:"provider_file_id" json:",omitempty"`
Filename *string `sqlx:"filename" json:",omitempty"`
MimeType *string `sqlx:"mime_type" json:",omitempty"`
SizeBytes *int `sqlx:"size_bytes" json:",omitempty"`
Checksum *string `sqlx:"checksum" json:",omitempty"`
ErrorMessage *string `sqlx:"error_message" json:",omitempty"`
ExpiresAt *time.Time `sqlx:"expires_at" json:",omitempty"`
CreatedAt *time.Time `sqlx:"created_at" json:",omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:",omitempty"`
Has *GeneratedFileHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
func (*GeneratedFile) SetChecksum ¶
func (p *GeneratedFile) SetChecksum(v string)
func (*GeneratedFile) SetContainerID ¶
func (p *GeneratedFile) SetContainerID(v string)
func (*GeneratedFile) SetConversationID ¶
func (p *GeneratedFile) SetConversationID(v string)
func (*GeneratedFile) SetCopyMode ¶
func (p *GeneratedFile) SetCopyMode(v string)
func (*GeneratedFile) SetCreatedAt ¶
func (p *GeneratedFile) SetCreatedAt(v time.Time)
func (*GeneratedFile) SetErrorMessage ¶
func (p *GeneratedFile) SetErrorMessage(v string)
func (*GeneratedFile) SetExpiresAt ¶
func (p *GeneratedFile) SetExpiresAt(v time.Time)
func (*GeneratedFile) SetFilename ¶
func (p *GeneratedFile) SetFilename(v string)
func (*GeneratedFile) SetID ¶
func (p *GeneratedFile) SetID(v string)
func (*GeneratedFile) SetMessageID ¶
func (p *GeneratedFile) SetMessageID(v string)
func (*GeneratedFile) SetMimeType ¶
func (p *GeneratedFile) SetMimeType(v string)
func (*GeneratedFile) SetMode ¶
func (p *GeneratedFile) SetMode(v string)
func (*GeneratedFile) SetPayloadID ¶
func (p *GeneratedFile) SetPayloadID(v string)
func (*GeneratedFile) SetProvider ¶
func (p *GeneratedFile) SetProvider(v string)
func (*GeneratedFile) SetProviderFileID ¶
func (p *GeneratedFile) SetProviderFileID(v string)
func (*GeneratedFile) SetSizeBytes ¶
func (p *GeneratedFile) SetSizeBytes(v int)
func (*GeneratedFile) SetStatus ¶
func (p *GeneratedFile) SetStatus(v string)
func (*GeneratedFile) SetTurnID ¶
func (p *GeneratedFile) SetTurnID(v string)
func (*GeneratedFile) SetUpdatedAt ¶
func (p *GeneratedFile) SetUpdatedAt(v time.Time)
type GeneratedFileHas ¶
type GeneratedFileHas struct {
ID bool
ConversationID bool
TurnID bool
MessageID bool
Provider bool
Mode bool
CopyMode bool
Status bool
PayloadID bool
ContainerID bool
ProviderFileID bool
Filename bool
MimeType bool
SizeBytes bool
Checksum bool
ErrorMessage bool
ExpiresAt bool
CreatedAt bool
UpdatedAt bool
}
type GeneratedFileView ¶
type GeneratedFileView = read.GeneratedFileView
type InputOption ¶
type InputOption func(*Input)
func WithConversationID ¶
func WithConversationID(id string) InputOption
func WithID ¶
func WithID(id string) InputOption
func WithMessageID ¶
func WithMessageID(id string) InputOption
func WithProvider ¶
func WithProvider(provider string) InputOption
func WithSince ¶
func WithSince(ts time.Time) InputOption
func WithStatus ¶
func WithStatus(status string) InputOption
func WithTurnID ¶
func WithTurnID(id string) InputOption
Click to show internal directories.
Click to hide internal directories.