DeployRequest_EndpointConfig.fromJson constructor
DeployRequest_EndpointConfig.fromJson(
- Object? j
Implementation
factory DeployRequest_EndpointConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return DeployRequest_EndpointConfig(
endpointDisplayName: switch (json['endpointDisplayName']) {
null => '',
Object $1 => decodeString($1),
},
dedicatedEndpointEnabled: switch (json['dedicatedEndpointEnabled']) {
null => false,
Object $1 => decodeBool($1),
},
dedicatedEndpointDisabled: switch (json['dedicatedEndpointDisabled']) {
null => false,
Object $1 => decodeBool($1),
},
privateServiceConnectConfig:
switch (json['privateServiceConnectConfig']) {
null => null,
Object $1 => PrivateServiceConnectConfig.fromJson($1),
},
endpointUserId: switch (json['endpointUserId']) {
null => '',
Object $1 => decodeString($1),
},
);
}