I am getting System.Collections.Generic.List`1[System.String] in the output at "Allow prefixes" and "DenyPrefixes" instead of data.
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class IndexingPolicy {\n");
sb.Append(" AllowPrefixes: ").Append(AllowPrefixes).Append("\n");
sb.Append(" DenyPrefixes: ").Append(DenyPrefixes).Append("\n");
sb.Append(" DisableIndexing: ").Append(DisableIndexing).Append("\n");
sb.Append("}\n");
return sb.ToString();
}