DeleteRegionInstantSnapshotRequest.fromJson constructor
DeleteRegionInstantSnapshotRequest.fromJson(
- Object? j
Implementation
factory DeleteRegionInstantSnapshotRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return DeleteRegionInstantSnapshotRequest(
instantSnapshot: switch (json['instantSnapshot']) {
null => '',
Object $1 => decodeString($1),
},
project: switch (json['project']) {
null => '',
Object $1 => decodeString($1),
},
region: switch (json['region']) {
null => '',
Object $1 => decodeString($1),
},
requestId: switch (json['requestId']) {
null => null,
Object $1 => decodeString($1),
},
);
}