Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SubmissionId.Length != 0)
            {
                hash ^= SubmissionId.GetHashCode();
            }
            if (maximumRecordTime_ != null)
            {
                hash ^= MaximumRecordTime.GetHashCode();
            }
            if (ConfigurationGeneration != 0L)
            {
                hash ^= ConfigurationGeneration.GetHashCode();
            }
            if (newTimeModel_ != null)
            {
                hash ^= NewTimeModel.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public int CompareTo(object obj)
        {
            var analyzeObject = obj as AnalyzeResponse;

            return(SubmissionId.CompareTo(analyzeObject.SubmissionId));
        }