AiProvider
extends BaseModel
Table of Contents
Properties
-
$config
: array<string|int, mixed>
-
$createdAt
: string
-
$credentials
: array<string|int, mixed>|null
-
$id
: int
-
$isEnabled
: bool
-
$name
: string
-
$promptsCount
: int
-
$type
: string
-
$updatedAt
: string
-
$useSystemCredentials
: bool
Methods
-
__construct()
: mixed
-
getConfig()
: array<string|int, mixed>
-
getCreatedAt()
: string
-
getCredentials()
: array<string|int, mixed>|null
-
getId()
: int
-
getName()
: string
-
getPromptsCount()
: int
-
getType()
: string
-
getUpdatedAt()
: string
-
isEnabled()
: bool
-
isUseSystemCredentials()
: bool
-
setConfig()
: void
-
setCredentials()
: void
-
setIsEnabled()
: void
-
setName()
: void
-
setType()
: void
-
setUseSystemCredentials()
: void
$config
protected
array<string|int, mixed>
$config
$createdAt
protected
string
$createdAt
$credentials
protected
array<string|int, mixed>|null
$credentials
$id
protected
int
$id
$isEnabled
protected
bool
$isEnabled
$name
protected
string
$name
$promptsCount
protected
int
$promptsCount
$type
protected
string
$type
$updatedAt
protected
string
$updatedAt
$useSystemCredentials
protected
bool
$useSystemCredentials
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
= []
-
getConfig()
public
getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>
getCreatedAt()
public
getCreatedAt() : string
getCredentials()
public
getCredentials() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getId()
public
getId() : int
getName()
public
getName() : string
getPromptsCount()
public
getPromptsCount() : int
getType()
public
getType() : string
getUpdatedAt()
public
getUpdatedAt() : string
isEnabled()
public
isEnabled() : bool
isUseSystemCredentials()
public
isUseSystemCredentials() : bool
setConfig()
public
setConfig(array<string|int, mixed> $config) : void
Parameters
-
$config
: array<string|int, mixed>
-
setCredentials()
public
setCredentials(array<string|int, mixed>|null $credentials) : void
Parameters
-
$credentials
: array<string|int, mixed>|null
-
setIsEnabled()
public
setIsEnabled(bool $isEnabled) : void
Parameters
-
$isEnabled
: bool
-
setName()
public
setName(string $name) : void
Parameters
-
$name
: string
-
setType()
public
setType(string $type) : void
Parameters
-
$type
: string
-
setUseSystemCredentials()
public
setUseSystemCredentials(bool $useSystemCredentials) : void
Parameters
-
$useSystemCredentials
: bool
-