public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.online) { hashcode = (hashcode * 397) + Online.GetHashCode(); } if (__isset.chatMid) { hashcode = (hashcode * 397) + ChatMid.GetHashCode(); } if (__isset.hostMids) { hashcode = (hashcode * 397) + HostMids.GetHashCode(); } if (__isset.memberMids) { hashcode = (hashcode * 397) + TCollections.GetHashCode(MemberMids); } if (__isset.started) { hashcode = (hashcode * 397) + Started.GetHashCode(); } if (__isset.mediaType) { hashcode = (hashcode * 397) + MediaType.GetHashCode(); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("GroupCall("); bool __first = true; if (__isset.online) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Online: "); Online.ToString(sb); } if (ChatMid != null && __isset.chatMid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ChatMid: "); ChatMid.ToString(sb); } if (HostMids != null && __isset.hostMids) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("HostMids: "); HostMids.ToString(sb); } if (MemberMids != null && __isset.memberMids) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("MemberMids: "); MemberMids.ToString(sb); } if (__isset.started) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Started: "); Started.ToString(sb); } if (__isset.mediaType) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("MediaType: "); MediaType.ToString(sb); } sb.Append(")"); return(sb.ToString()); }