public override int GetHashCode() { int hash = 1; hash ^= properties_.GetHashCode(); if (calendarDateReportsManifest_ != null) { hash ^= CalendarDateReportsManifest.GetHashCode(); } if (opsdateRangeReportsManifest_ != null) { hash ^= OpsdateRangeReportsManifest.GetHashCode(); } if (IncludeCheckedIn != false) { hash ^= IncludeCheckedIn.GetHashCode(); } if (IncludeCheckedOut != false) { hash ^= IncludeCheckedOut.GetHashCode(); } if (IncludeCheckedInDaterange != false) { hash ^= IncludeCheckedInDaterange.GetHashCode(); } return(hash); }
public void MergeFrom(FrontDeskBatchReportingSvcRequest other) { if (other == null) { return; } properties_.Add(other.properties_); if (other.calendarDateReportsManifest_ != null) { if (calendarDateReportsManifest_ == null) { calendarDateReportsManifest_ = new global::HOLMS.Types.Reporting.ReportParams.FrontDeskCurrentDateReportManifest(); } CalendarDateReportsManifest.MergeFrom(other.CalendarDateReportsManifest); } if (other.opsdateRangeReportsManifest_ != null) { if (opsdateRangeReportsManifest_ == null) { opsdateRangeReportsManifest_ = new global::HOLMS.Types.Reporting.ReportParams.FrontDeskOpsdateRangeReportManifest(); } OpsdateRangeReportsManifest.MergeFrom(other.OpsdateRangeReportsManifest); } if (other.IncludeCheckedIn != false) { IncludeCheckedIn = other.IncludeCheckedIn; } if (other.IncludeCheckedOut != false) { IncludeCheckedOut = other.IncludeCheckedOut; } if (other.IncludeCheckedInDaterange != false) { IncludeCheckedInDaterange = other.IncludeCheckedInDaterange; } }