ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlack.fromMap constructor
ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlack.fromMap()
Implementation
factory ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlack.fromMap(Map<String, dynamic> map) {
return ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlack(
accessToken: (() { final guardedValue = map['accessToken']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
clientId: pulumi.Input.fromValue(map['clientId'] as String),
clientSecret: pulumi.Input.fromValue(map['clientSecret'] as String),
oauthRequest: (() { final guardedValue = map['oauthRequest']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}