AiMemberUsage
extends BaseModel
in package
Table of Contents
Properties
- $dailyCostLimit : float|null
- $dailyCostSpent : float
- $dailyResetAt : string
- $monthlyCostLimit : float|null
- $monthlyCostSpent : float
- $monthlyResetAt : string
- $user : array<string|int, mixed>
Methods
- __construct() : mixed
- getDailyCostLimit() : float|null
- getDailyCostSpent() : float
- getDailyResetAt() : string
- getMonthlyCostLimit() : float|null
- getMonthlyCostSpent() : float
- getMonthlyResetAt() : string
- getUser() : array<string|int, mixed>
Properties
$dailyCostLimit
protected
float|null
$dailyCostLimit
$dailyCostSpent
protected
float
$dailyCostSpent
$dailyResetAt
protected
string
$dailyResetAt
$monthlyCostLimit
protected
float|null
$monthlyCostLimit
$monthlyCostSpent
protected
float
$monthlyCostSpent
$monthlyResetAt
protected
string
$monthlyResetAt
$user
protected
array<string|int, mixed>
$user
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getDailyCostLimit()
public
getDailyCostLimit() : float|null
Return values
float|nullgetDailyCostSpent()
public
getDailyCostSpent() : float
Return values
floatgetDailyResetAt()
public
getDailyResetAt() : string
Return values
stringgetMonthlyCostLimit()
public
getMonthlyCostLimit() : float|null
Return values
float|nullgetMonthlyCostSpent()
public
getMonthlyCostSpent() : float
Return values
floatgetMonthlyResetAt()
public
getMonthlyResetAt() : string
Return values
stringgetUser()
public
getUser() : array<string|int, mixed>
Return values
array<string|int, mixed> —id, username, fullName, avatarUrl