in Darabonba/Models/RuntimeOptions.cs [82:187]
public Dictionary<string, object> ToMap(bool noStream = false)
{
var map = new Dictionary<string, object>();
if (RetryOptions != null)
{
map["retryOptions"] = RetryOptions;
}
if (Autoretry != null)
{
map["autoretry"] = Autoretry;
}
if (IgnoreSSL != null)
{
map["ignoreSSL"] = IgnoreSSL;
}
if (Key != null)
{
map["key"] = Key;
}
if (Cert != null)
{
map["cert"] = Cert;
}
if (Ca != null)
{
map["ca"] = Ca;
}
if (MaxAttempts != null)
{
map["max_attempts"] = MaxAttempts;
}
if (BackoffPolicy != null)
{
map["backoff_policy"] = BackoffPolicy;
}
if (BackoffPeriod != null)
{
map["backoff_period"] = BackoffPeriod;
}
if (ReadTimeout != null)
{
map["readTimeout"] = ReadTimeout;
}
if (ConnectTimeout != null)
{
map["connectTimeout"] = ConnectTimeout;
}
if (HttpProxy != null)
{
map["httpProxy"] = HttpProxy;
}
if (HttpsProxy != null)
{
map["httpsProxy"] = HttpsProxy;
}
if (NoProxy != null)
{
map["noProxy"] = NoProxy;
}
if (MaxIdleConns != null)
{
map["maxIdleConns"] = MaxIdleConns;
}
if (LocalAddr != null)
{
map["localAddr"] = LocalAddr;
}
if (Socks5Proxy != null)
{
map["socks5Proxy"] = Socks5Proxy;
}
if (Socks5NetWork != null)
{
map["socks5NetWork"] = Socks5NetWork;
}
if (KeepAlive != null)
{
map["keepAlive"] = KeepAlive;
}
if (ExtendsParameters != null)
{
map["extendsParameters"] = ExtendsParameters != null ? ExtendsParameters.ToMap(noStream) : null;
}
return map;
}