public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.limit) { hashcode = (hashcode * 397) + Limit.GetHashCode(); } if (__isset.offset) { hashcode = (hashcode * 397) + Offset.GetHashCode(); } if (__isset.max_versions) { hashcode = (hashcode * 397) + Max_versions.GetHashCode(); } if (__isset.max_buffer) { hashcode = (hashcode * 397) + Max_buffer.GetHashCode(); } if (__isset.options) { hashcode = (hashcode * 397) + Options.GetHashCode(); } } return(hashcode); }
public override string ToString() { var tmp53 = new StringBuilder("SpecFlags("); int tmp54 = 0; if (__isset.limit) { if (0 < tmp54++) { tmp53.Append(", "); } tmp53.Append("Limit: "); Limit.ToString(tmp53); } if (__isset.offset) { if (0 < tmp54++) { tmp53.Append(", "); } tmp53.Append("Offset: "); Offset.ToString(tmp53); } if (__isset.max_versions) { if (0 < tmp54++) { tmp53.Append(", "); } tmp53.Append("Max_versions: "); Max_versions.ToString(tmp53); } if (__isset.max_buffer) { if (0 < tmp54++) { tmp53.Append(", "); } tmp53.Append("Max_buffer: "); Max_buffer.ToString(tmp53); } if (__isset.options) { if (0 < tmp54++) { tmp53.Append(", "); } tmp53.Append("Options: "); Options.ToString(tmp53); } tmp53.Append(')'); return(tmp53.ToString()); }