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