GetDevicePartitionsRequest constructor

GetDevicePartitionsRequest({
  1. String? sdkName,
  2. GetDevicePartitionsRequest_Mode? mode,
  3. Map<String, String>? properties,
  4. HardwareIdentity? hardwareIdentity,
  5. String? model,
  6. List<int>? qrcode,
})

Implementation

factory GetDevicePartitionsRequest({
  $core.String? sdkName,
  GetDevicePartitionsRequest_Mode? mode,
  $core.Map<$core.String, $core.String>? properties,
  $1.HardwareIdentity? hardwareIdentity,
  $core.String? model,
  $core.List<$core.int>? qrcode,
}) {
  final _result = create();
  if (sdkName != null) {
    _result.sdkName = sdkName;
  }
  if (mode != null) {
    _result.mode = mode;
  }
  if (properties != null) {
    _result.properties.addAll(properties);
  }
  if (hardwareIdentity != null) {
    _result.hardwareIdentity = hardwareIdentity;
  }
  if (model != null) {
    _result.model = model;
  }
  if (qrcode != null) {
    _result.qrcode = qrcode;
  }
  return _result;
}