DeleteTargetHttpProxyRequest.fromJson constructor

DeleteTargetHttpProxyRequest.fromJson(
  1. Object? j
)

Implementation

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