public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.id) { hashcode = (hashcode * 397) + Id.GetHashCode(); } if (__isset.to) { hashcode = (hashcode * 397) + To.GetHashCode(); } if (__isset.from_) { hashcode = (hashcode * 397) + From_.GetHashCode(); } if (__isset.toChannel) { hashcode = (hashcode * 397) + ToChannel.GetHashCode(); } if (__isset.fromChannel) { hashcode = (hashcode * 397) + FromChannel.GetHashCode(); } if (__isset.eventType) { hashcode = (hashcode * 397) + EventType.GetHashCode(); } if (__isset.createdTime) { hashcode = (hashcode * 397) + CreatedTime.GetHashCode(); } if (__isset.operationRevision) { hashcode = (hashcode * 397) + OperationRevision.GetHashCode(); } if (__isset.content) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Content); } if (__isset.push) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Push); } } return(hashcode); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.id) { hashcode = (hashcode * 397) + Id.GetHashCode(); } if (__isset._from) { hashcode = (hashcode * 397) + _from.GetHashCode(); } if (__isset.to) { hashcode = (hashcode * 397) + To.GetHashCode(); } if (__isset.fromChannel) { hashcode = (hashcode * 397) + FromChannel.GetHashCode(); } if (__isset.toChannel) { hashcode = (hashcode * 397) + ToChannel.GetHashCode(); } if (__isset.revision) { hashcode = (hashcode * 397) + Revision.GetHashCode(); } if (__isset.createdTime) { hashcode = (hashcode * 397) + CreatedTime.GetHashCode(); } if (__isset.content) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Content); } } return(hashcode); }
public override int GetHashCode() { int hash = 1; if (Vno.Length != 0) { hash ^= Vno.GetHashCode(); } if (VColor != 0) { hash ^= VColor.GetHashCode(); } if (FromChannel.Length != 0) { hash ^= FromChannel.GetHashCode(); } if (Encrypt != 0) { hash ^= Encrypt.GetHashCode(); } if (GpsTime != 0L) { hash ^= GpsTime.GetHashCode(); } if (Lon != 0L) { hash ^= Lon.GetHashCode(); } if (Lat != 0L) { hash ^= Lat.GetHashCode(); } if (Vec1 != 0) { hash ^= Vec1.GetHashCode(); } if (Vec2 != 0) { hash ^= Vec2.GetHashCode(); } if (Vec3 != 0) { hash ^= Vec3.GetHashCode(); } if (Direction != 0) { hash ^= Direction.GetHashCode(); } if (Altitude != 0) { hash ^= Altitude.GetHashCode(); } if (State != 0) { hash ^= State.GetHashCode(); } if (Alarm != 0) { hash ^= Alarm.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override string ToString() { var sb = new StringBuilder("NotificationItem("); bool __first = true; if (Id != null && __isset.id) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Id: "); Id.ToString(sb); } if (_from != null && __isset._from) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("_from: "); _from.ToString(sb); } if (To != null && __isset.to) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("To: "); To.ToString(sb); } if (FromChannel != null && __isset.fromChannel) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("FromChannel: "); FromChannel.ToString(sb); } if (ToChannel != null && __isset.toChannel) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ToChannel: "); ToChannel.ToString(sb); } if (__isset.revision) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Revision: "); Revision.ToString(sb); } if (__isset.createdTime) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("CreatedTime: "); CreatedTime.ToString(sb); } if (Content != null && __isset.content) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Content: "); Content.ToString(sb); } sb.Append(")"); return(sb.ToString()); }
public override string ToString() { var sb = new StringBuilder("NotiCenterEventData("); bool __first = true; if (Id != null && __isset.id) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Id: "); Id.ToString(sb); } if (To != null && __isset.to) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("To: "); To.ToString(sb); } if (From_ != null && __isset.from_) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("From_: "); From_.ToString(sb); } if (ToChannel != null && __isset.toChannel) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ToChannel: "); ToChannel.ToString(sb); } if (FromChannel != null && __isset.fromChannel) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("FromChannel: "); FromChannel.ToString(sb); } if (EventType != null && __isset.eventType) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("EventType: "); EventType.ToString(sb); } if (__isset.createdTime) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("CreatedTime: "); CreatedTime.ToString(sb); } if (__isset.operationRevision) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("OperationRevision: "); OperationRevision.ToString(sb); } if (Content != null && __isset.content) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Content: "); Content.ToString(sb); } if (Push != null && __isset.push) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Push: "); Push.ToString(sb); } sb.Append(")"); return(sb.ToString()); }