GetDevicePartitionsRequest constructor
GetDevicePartitionsRequest({
- String? sdkName,
- GetDevicePartitionsRequest_Mode? mode,
- Map<
String, String> ? properties, - HardwareIdentity? hardwareIdentity,
- String? model,
- 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;
}