AgentAgentActionGroupFunctionSchemaMemberFunctionsFunction.fromMap constructor

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

Implementation

factory AgentAgentActionGroupFunctionSchemaMemberFunctionsFunction.fromMap(Map<String, dynamic> map) {
  return AgentAgentActionGroupFunctionSchemaMemberFunctionsFunction(
    description: (() { final guardedValue = map['description']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    name: pulumi.Input.fromValue(map['name'] as String),
    parameters: (() { final guardedValue = map['parameters']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<AgentAgentActionGroupFunctionSchemaMemberFunctionsFunctionParameter>(guardedValue, (value) => AgentAgentActionGroupFunctionSchemaMemberFunctionsFunctionParameter.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}