public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.eMid) { hashcode = (hashcode * 397) + EMid.GetHashCode(); } if (__isset.mid) { hashcode = (hashcode * 397) + Mid.GetHashCode(); } if (__isset.direction) { hashcode = (hashcode * 397) + Direction.GetHashCode(); } if (__isset.method) { hashcode = (hashcode * 397) + Method.GetHashCode(); } if (__isset.param) { hashcode = (hashcode * 397) + Param.GetHashCode(); } if (__isset.timestamp) { hashcode = (hashcode * 397) + Timestamp.GetHashCode(); } if (__isset.seqId) { hashcode = (hashcode * 397) + SeqId.GetHashCode(); } if (__isset.displayName) { hashcode = (hashcode * 397) + DisplayName.GetHashCode(); } if (__isset.picturePath) { hashcode = (hashcode * 397) + PicturePath.GetHashCode(); } if (__isset.pictureStatus) { hashcode = (hashcode * 397) + PictureStatus.GetHashCode(); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("FriendRequest("); bool __first = true; if (EMid != null && __isset.eMid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("EMid: "); EMid.ToString(sb); } if (Mid != null && __isset.mid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Mid: "); Mid.ToString(sb); } if (__isset.direction) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Direction: "); Direction.ToString(sb); } if (__isset.method) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Method: "); Method.ToString(sb); } if (Param != null && __isset.param) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Param: "); Param.ToString(sb); } if (__isset.timestamp) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Timestamp: "); Timestamp.ToString(sb); } if (__isset.seqId) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SeqId: "); SeqId.ToString(sb); } if (DisplayName != null && __isset.displayName) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("DisplayName: "); DisplayName.ToString(sb); } if (PicturePath != null && __isset.picturePath) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("PicturePath: "); PicturePath.ToString(sb); } if (PictureStatus != null && __isset.pictureStatus) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("PictureStatus: "); PictureStatus.ToString(sb); } sb.Append(")"); return(sb.ToString()); }