TargetHttpProxy.fromJson constructor
TargetHttpProxy.fromJson(
- Object? j
Implementation
factory TargetHttpProxy.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return TargetHttpProxy(
creationTimestamp: switch (json['creationTimestamp']) {
null => null,
Object $1 => decodeString($1),
},
description: switch (json['description']) {
null => null,
Object $1 => decodeString($1),
},
fingerprint: switch (json['fingerprint']) {
null => null,
Object $1 => decodeString($1),
},
httpKeepAliveTimeoutSec: switch (json['httpKeepAliveTimeoutSec']) {
null => null,
Object $1 => decodeInt($1),
},
id: switch (json['id']) {
null => null,
Object $1 => decodeUint64($1),
},
kind: switch (json['kind']) {
null => null,
Object $1 => decodeString($1),
},
name: switch (json['name']) {
null => null,
Object $1 => decodeString($1),
},
proxyBind: switch (json['proxyBind']) {
null => null,
Object $1 => decodeBool($1),
},
region: switch (json['region']) {
null => null,
Object $1 => decodeString($1),
},
selfLink: switch (json['selfLink']) {
null => null,
Object $1 => decodeString($1),
},
urlMap: switch (json['urlMap']) {
null => null,
Object $1 => decodeString($1),
},
);
}