UploadMetadata constructor
UploadMetadata({
- String? partId,
- String? componentType,
- String? componentName,
- String? methodName,
- DataType? type,
- String? fileName,
- Map<
String, Any> ? methodParameters, - String? fileExtension,
- Iterable<
String> ? tags, - Iterable<
String> ? datasetIds, - String? mimeType,
- Timestamp? fileCreateTime,
- Timestamp? fileModifyTime,
Implementation
factory UploadMetadata({
$core.String? partId,
$core.String? componentType,
$core.String? componentName,
$core.String? methodName,
DataType? type,
$core.String? fileName,
$core.Map<$core.String, $52.Any>? methodParameters,
$core.String? fileExtension,
$core.Iterable<$core.String>? tags,
$core.Iterable<$core.String>? datasetIds,
$core.String? mimeType,
$51.Timestamp? fileCreateTime,
$51.Timestamp? fileModifyTime,
}) {
final $result = create();
if (partId != null) {
$result.partId = partId;
}
if (componentType != null) {
$result.componentType = componentType;
}
if (componentName != null) {
$result.componentName = componentName;
}
if (methodName != null) {
$result.methodName = methodName;
}
if (type != null) {
$result.type = type;
}
if (fileName != null) {
$result.fileName = fileName;
}
if (methodParameters != null) {
$result.methodParameters.addAll(methodParameters);
}
if (fileExtension != null) {
$result.fileExtension = fileExtension;
}
if (tags != null) {
$result.tags.addAll(tags);
}
if (datasetIds != null) {
$result.datasetIds.addAll(datasetIds);
}
if (mimeType != null) {
$result.mimeType = mimeType;
}
if (fileCreateTime != null) {
$result.fileCreateTime = fileCreateTime;
}
if (fileModifyTime != null) {
$result.fileModifyTime = fileModifyTime;
}
return $result;
}