ToolRemoteAgentToolAgentCardSupportedInterface.fromMap constructor
ToolRemoteAgentToolAgentCardSupportedInterface.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ToolRemoteAgentToolAgentCardSupportedInterface.fromMap(Map<String, dynamic> map) {
return ToolRemoteAgentToolAgentCardSupportedInterface(
protocolBinding: (() { final guardedValue = map['protocolBinding']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
protocolVersion: (() { final guardedValue = map['protocolVersion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
tenant: (() { final guardedValue = map['tenant']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
url: (() { final guardedValue = map['url']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}