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