Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FolderId.Length != 0)
            {
                hash ^= FolderId.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (SourceClusterId.Length != 0)
            {
                hash ^= SourceClusterId.GetHashCode();
            }
            if (startedAt_ != null)
            {
                hash ^= StartedAt.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FolderId.Length != 0)
            {
                hash ^= FolderId.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (SourceClusterId.Length != 0)
            {
                hash ^= SourceClusterId.GetHashCode();
            }
            if (startedAt_ != null)
            {
                hash ^= StartedAt.GetHashCode();
            }
            hash ^= sourceShardNames_.GetHashCode();
            if (Size != 0L)
            {
                hash ^= Size.GetHashCode();
            }
            if (Type != global::Yandex.Cloud.Mdb.Mongodb.V1.Backup.Types.BackupType.Unspecified)
            {
                hash ^= Type.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }