RegisterMultiFileModelRequest constructor
RegisterMultiFileModelRequest({
- String? id,
- String? name,
- InferenceFramework? framework,
- Iterable<
ModelFileDescriptor> ? files, - ModelCategory? category,
- ModelFormat? format,
- Int64? memoryRequiredBytes,
- Int64? downloadSizeBytes,
- int? contextLength,
- bool? supportsThinking,
- bool? supportsLora,
- String? description,
- ModelSource? source,
Implementation
factory RegisterMultiFileModelRequest({
$core.String? id,
$core.String? name,
InferenceFramework? framework,
$core.Iterable<ModelFileDescriptor>? files,
ModelCategory? category,
ModelFormat? format,
$fixnum.Int64? memoryRequiredBytes,
$fixnum.Int64? downloadSizeBytes,
$core.int? contextLength,
$core.bool? supportsThinking,
$core.bool? supportsLora,
$core.String? description,
ModelSource? source,
}) {
final result = create();
if (id != null) result.id = id;
if (name != null) result.name = name;
if (framework != null) result.framework = framework;
if (files != null) result.files.addAll(files);
if (category != null) result.category = category;
if (format != null) result.format = format;
if (memoryRequiredBytes != null)
result.memoryRequiredBytes = memoryRequiredBytes;
if (downloadSizeBytes != null) result.downloadSizeBytes = downloadSizeBytes;
if (contextLength != null) result.contextLength = contextLength;
if (supportsThinking != null) result.supportsThinking = supportsThinking;
if (supportsLora != null) result.supportsLora = supportsLora;
if (description != null) result.description = description;
if (source != null) result.source = source;
return result;
}