public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.totalIncomingCount) { hashcode = (hashcode * 397) + TotalIncomingCount.GetHashCode(); } if (__isset.totalOutgoingCount) { hashcode = (hashcode * 397) + TotalOutgoingCount.GetHashCode(); } if (__isset.recentIncomings) { hashcode = (hashcode * 397) + TCollections.GetHashCode(RecentIncomings); } if (__isset.recentOutgoings) { hashcode = (hashcode * 397) + TCollections.GetHashCode(RecentOutgoings); } if (__isset.totalIncomingLimit) { hashcode = (hashcode * 397) + TotalIncomingLimit.GetHashCode(); } if (__isset.totalOutgoingLimit) { hashcode = (hashcode * 397) + TotalOutgoingLimit.GetHashCode(); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("FriendRequestsInfo("); bool __first = true; if (__isset.totalIncomingCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("TotalIncomingCount: "); TotalIncomingCount.ToString(sb); } if (__isset.totalOutgoingCount) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("TotalOutgoingCount: "); TotalOutgoingCount.ToString(sb); } if (RecentIncomings != null && __isset.recentIncomings) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("RecentIncomings: "); RecentIncomings.ToString(sb); } if (RecentOutgoings != null && __isset.recentOutgoings) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("RecentOutgoings: "); RecentOutgoings.ToString(sb); } if (__isset.totalIncomingLimit) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("TotalIncomingLimit: "); TotalIncomingLimit.ToString(sb); } if (__isset.totalOutgoingLimit) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("TotalOutgoingLimit: "); TotalOutgoingLimit.ToString(sb); } sb.Append(")"); return(sb.ToString()); }