CopyFilesToMachineRequestMetadata constructor

CopyFilesToMachineRequestMetadata({
  1. String? name,
  2. CopyFilesSourceType? sourceType,
  3. String? destination,
  4. bool? preserve,
  5. Struct? extra,
})

Implementation

factory CopyFilesToMachineRequestMetadata({
  $core.String? name,
  CopyFilesSourceType? sourceType,
  $core.String? destination,
  $core.bool? preserve,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (sourceType != null) {
    $result.sourceType = sourceType;
  }
  if (destination != null) {
    $result.destination = destination;
  }
  if (preserve != null) {
    $result.preserve = preserve;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}