UNPKG

scheunemann-interfaces

Version:
20 lines (19 loc) 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChatGeminiUsageEntity = void 0; var ChatGeminiUsageEntity = /** @class */ (function () { function ChatGeminiUsageEntity(data) { this.prompt_tokens = 0; this.completion_tokens = 0; this.total_tokens = 0; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return ChatGeminiUsageEntity; }()); exports.ChatGeminiUsageEntity = ChatGeminiUsageEntity;