public override string ToString() { var sb = new StringBuilder("WapInvitation("); bool __first = true; if (__isset.type) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Type: "); Type.ToString(sb); } if (InviteeEmail != null && __isset.inviteeEmail) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("InviteeEmail: "); InviteeEmail.ToString(sb); } if (InviterMid != null && __isset.inviterMid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("InviterMid: "); InviterMid.ToString(sb); } if (RoomMid != null && __isset.roomMid) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("RoomMid: "); RoomMid.ToString(sb); } sb.Append(")"); return(sb.ToString()); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.type) { hashcode = (hashcode * 397) + Type.GetHashCode(); } if (__isset.inviteeEmail) { hashcode = (hashcode * 397) + InviteeEmail.GetHashCode(); } if (__isset.inviterMid) { hashcode = (hashcode * 397) + InviterMid.GetHashCode(); } if (__isset.roomMid) { hashcode = (hashcode * 397) + RoomMid.GetHashCode(); } } return(hashcode); }