ConnectorRef.fromJson constructor

ConnectorRef.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ConnectorRef.fromJson(Map<String, dynamic> json) {
  return ConnectorRef(
    serverUrl: json['server_url'] as String?,
    openaiConnectorId: json['openai_connector_id'] as String?,
    clientSecretId: json['client_secret_id'] as String?,
  );
}