RegisterModelFromUrlRequest constructor
RegisterModelFromUrlRequest({
- String? url,
- String? name,
- InferenceFramework? framework,
- ModelCategory? category,
- ModelSource? source,
- Int64? memoryRequiredBytes,
- bool? supportsThinking,
- bool? supportsLora,
- ModelArtifactType? artifactType,
- int? contextLength,
- String? description,
- Int64? downloadSizeBytes,
- String? id,
Implementation
factory RegisterModelFromUrlRequest({
$core.String? url,
$core.String? name,
InferenceFramework? framework,
ModelCategory? category,
ModelSource? source,
$fixnum.Int64? memoryRequiredBytes,
$core.bool? supportsThinking,
$core.bool? supportsLora,
ModelArtifactType? artifactType,
$core.int? contextLength,
$core.String? description,
$fixnum.Int64? downloadSizeBytes,
$core.String? id,
}) {
final result = create();
if (url != null) result.url = url;
if (name != null) result.name = name;
if (framework != null) result.framework = framework;
if (category != null) result.category = category;
if (source != null) result.source = source;
if (memoryRequiredBytes != null)
result.memoryRequiredBytes = memoryRequiredBytes;
if (supportsThinking != null) result.supportsThinking = supportsThinking;
if (supportsLora != null) result.supportsLora = supportsLora;
if (artifactType != null) result.artifactType = artifactType;
if (contextLength != null) result.contextLength = contextLength;
if (description != null) result.description = description;
if (downloadSizeBytes != null) result.downloadSizeBytes = downloadSizeBytes;
if (id != null) result.id = id;
return result;
}