AuthenticationPolicyResponse.fromMap constructor

AuthenticationPolicyResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AuthenticationPolicyResponse.fromMap(Map<String, dynamic> map) {
  return AuthenticationPolicyResponse(
    origins: pulumi.Input.fromValue(pulumi.Input.decodeList<OriginAuthenticationMethodResponse>(map['origins']!, (value) => OriginAuthenticationMethodResponse.fromMap((value as Map).cast<String, dynamic>()))),
    peers: pulumi.Input.fromValue(pulumi.Input.decodeList<PeerAuthenticationMethodResponse>(map['peers']!, (value) => PeerAuthenticationMethodResponse.fromMap((value as Map).cast<String, dynamic>()))),
    principalBinding: pulumi.Input.fromValue(map['principalBinding'] as String),
    serverTlsContext: pulumi.Input.fromValue(TlsContextResponse.fromMap((map['serverTlsContext']! as Map).cast<String, dynamic>())),
  );
}