struct MAGES::Experimental::EmbodimentJARIA::EmbodiedAIRequest::ResourceUsageSummary¶
Overview¶
Resource usage summary. More…
struct ResourceUsageSummary
{
// properties
ResourceUsageSummary Unavailable;
ResourceUsageSummary Unlimited;
bool IsAvailable;
bool IsUnlimited;
int RemainingTokens;
DateTime RefreshDate;
// methods
static ResourceUsageSummary FromLimits(
int monthlyWordLimit,
int extraWordLimit,
int usedWordCount,
DateTime dateModified
);
};
Detailed Documentation¶
Resource usage summary.
Properties¶
ResourceUsageSummary Unavailable
Gets an unavailable resource usage summary.
ResourceUsageSummary Unlimited
Gets an unlimited resource usage summary.
bool IsAvailable
Gets a value indicating whether resource usage data is available.
bool IsUnlimited
Gets a value indicating whether usage is unlimited for this license.
int RemainingTokens
Gets the remaining organization tokens.
DateTime RefreshDate
Gets the refresh date.
Methods¶
static ResourceUsageSummary FromLimits(
int monthlyWordLimit,
int extraWordLimit,
int usedWordCount,
DateTime dateModified
)
Creates a resource usage summary from service limits.
Parameters:
monthlyWordLimit |
The monthly word limit. |
extraWordLimit |
The extra word limit. |
usedWordCount |
The used word count. |
dateModified |
The date the limits were modified. |
Returns:
The resource usage summary.