Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hashCode = -323366853;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (State != null)
            {
                hashCode += State.GetHashCode();
            }

            if (OpenedAt != null)
            {
                hashCode += OpenedAt.GetHashCode();
            }

            if (EndedAt != null)
            {
                hashCode += EndedAt.GetHashCode();
            }

            if (ClosedAt != null)
            {
                hashCode += ClosedAt.GetHashCode();
            }

            if (Description != null)
            {
                hashCode += Description.GetHashCode();
            }

            if (OpenedCashMoney != null)
            {
                hashCode += OpenedCashMoney.GetHashCode();
            }

            if (ExpectedCashMoney != null)
            {
                hashCode += ExpectedCashMoney.GetHashCode();
            }

            if (ClosedCashMoney != null)
            {
                hashCode += ClosedCashMoney.GetHashCode();
            }

            return(hashCode);
        }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Url != null ? Url.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (HtmlUrl != null ? HtmlUrl.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (State != null ? State.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Number.GetHashCode();
         hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Body != null ? Body.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (User != null ? User.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Labels != null ? Labels.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Assignee != null ? Assignee.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Milestone != null ? Milestone.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Comments;
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ ClosedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ (PullRequest != null ? PullRequest.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Url != null ? Url.GetHashCode() : 0) ^ (HtmlUrl != null ? HtmlUrl.GetHashCode() : 0) ^ (DiffUrl != null ? DiffUrl.GetHashCode() : 0) ^ (PatchUrl != null ? PatchUrl.GetHashCode() : 0) ^ (IssueUrl != null ? IssueUrl.GetHashCode() : 0) ^ (Number != null ? Number.GetHashCode() : 0) ^ (State != null ? State.GetHashCode() : 0) ^ (Title != null ? Title.GetHashCode() : 0) ^ (Body != null ? Body.GetHashCode() : 0) ^ (BodyHtml != null ? BodyHtml.GetHashCode() : 0) ^ (CreatedAt != null ? CreatedAt.GetHashCode() : 0) ^ (UpdatedAt != null ? UpdatedAt.GetHashCode() : 0) ^ (ClosedAt != null ? ClosedAt.GetHashCode() : 0) ^ (MergedAt != null ? MergedAt.GetHashCode() : 0) ^ (Head != null ? Head.GetHashCode() : 0) ^ (Base != null ? Base.GetHashCode() : 0) ^ (User != null ? User.GetHashCode() : 0) ^ (Merged != null ? Merged.GetHashCode() : 0) ^ (Mergeable != null ? Mergeable.GetHashCode() : 0) ^ (MergedBy != null ? MergedBy.GetHashCode() : 0) ^ (Comments != null ? Comments.GetHashCode() : 0) ^ (Commits != null ? Commits.GetHashCode() : 0) ^ (Additions != null ? Additions.GetHashCode() : 0) ^ (Deletions != null ? Deletions.GetHashCode() : 0) ^ (ChangedFiles != null ? ChangedFiles.GetHashCode() : 0));
     }
 }
Ejemplo n.º 4
0
        public override int GetHashCode()
        {
            int hashCode = -498109440;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (State != null)
            {
                hashCode += State.GetHashCode();
            }

            if (OpenedAt != null)
            {
                hashCode += OpenedAt.GetHashCode();
            }

            if (EndedAt != null)
            {
                hashCode += EndedAt.GetHashCode();
            }

            if (ClosedAt != null)
            {
                hashCode += ClosedAt.GetHashCode();
            }

            if (EmployeeIds != null)
            {
                hashCode += EmployeeIds.GetHashCode();
            }

            if (OpeningEmployeeId != null)
            {
                hashCode += OpeningEmployeeId.GetHashCode();
            }

            if (EndingEmployeeId != null)
            {
                hashCode += EndingEmployeeId.GetHashCode();
            }

            if (ClosingEmployeeId != null)
            {
                hashCode += ClosingEmployeeId.GetHashCode();
            }

            if (Description != null)
            {
                hashCode += Description.GetHashCode();
            }

            if (OpenedCashMoney != null)
            {
                hashCode += OpenedCashMoney.GetHashCode();
            }

            if (CashPaymentMoney != null)
            {
                hashCode += CashPaymentMoney.GetHashCode();
            }

            if (CashRefundsMoney != null)
            {
                hashCode += CashRefundsMoney.GetHashCode();
            }

            if (CashPaidInMoney != null)
            {
                hashCode += CashPaidInMoney.GetHashCode();
            }

            if (CashPaidOutMoney != null)
            {
                hashCode += CashPaidOutMoney.GetHashCode();
            }

            if (ExpectedCashMoney != null)
            {
                hashCode += ExpectedCashMoney.GetHashCode();
            }

            if (ClosedCashMoney != null)
            {
                hashCode += ClosedCashMoney.GetHashCode();
            }

            if (Device != null)
            {
                hashCode += Device.GetHashCode();
            }

            return(hashCode);
        }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Url != null ? Url.GetHashCode() : 0) ^ (HtmlUrl != null ? HtmlUrl.GetHashCode() : 0) ^ (Number != null ? Number.GetHashCode() : 0) ^ (State != null ? State.GetHashCode() : 0) ^ (Title != null ? Title.GetHashCode() : 0) ^ (Body != null ? Body.GetHashCode() : 0) ^ (BodyHtml != null ? BodyHtml.GetHashCode() : 0) ^ (User != null ? User.GetHashCode() : 0) ^ (Labels != null ? Labels.GetHashCode() : 0) ^ (Assignee != null ? Assignee.GetHashCode() : 0) ^ (Milestone != null ? Milestone.GetHashCode() : 0) ^ (Comments != null ? Comments.GetHashCode() : 0) ^ (CreatedAt != null ? CreatedAt.GetHashCode() : 0) ^ (ClosedAt != null ? ClosedAt.GetHashCode() : 0) ^ (UpdatedAt != null ? UpdatedAt.GetHashCode() : 0) ^ (PullRequest != null ? PullRequest.GetHashCode() : 0));
     }
 }
Ejemplo n.º 6
0
        public override int GetHashCode()
        {
            int hashCode = 401631729;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (LocationId != null)
            {
                hashCode += LocationId.GetHashCode();
            }

            if (ReferenceId != null)
            {
                hashCode += ReferenceId.GetHashCode();
            }

            if (Source != null)
            {
                hashCode += Source.GetHashCode();
            }

            if (CustomerId != null)
            {
                hashCode += CustomerId.GetHashCode();
            }

            if (LineItems != null)
            {
                hashCode += LineItems.GetHashCode();
            }

            if (Taxes != null)
            {
                hashCode += Taxes.GetHashCode();
            }

            if (Discounts != null)
            {
                hashCode += Discounts.GetHashCode();
            }

            if (ServiceCharges != null)
            {
                hashCode += ServiceCharges.GetHashCode();
            }

            if (Fulfillments != null)
            {
                hashCode += Fulfillments.GetHashCode();
            }

            if (Returns != null)
            {
                hashCode += Returns.GetHashCode();
            }

            if (ReturnAmounts != null)
            {
                hashCode += ReturnAmounts.GetHashCode();
            }

            if (NetAmounts != null)
            {
                hashCode += NetAmounts.GetHashCode();
            }

            if (RoundingAdjustment != null)
            {
                hashCode += RoundingAdjustment.GetHashCode();
            }

            if (Tenders != null)
            {
                hashCode += Tenders.GetHashCode();
            }

            if (Refunds != null)
            {
                hashCode += Refunds.GetHashCode();
            }

            if (Metadata != null)
            {
                hashCode += Metadata.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (UpdatedAt != null)
            {
                hashCode += UpdatedAt.GetHashCode();
            }

            if (ClosedAt != null)
            {
                hashCode += ClosedAt.GetHashCode();
            }

            if (State != null)
            {
                hashCode += State.GetHashCode();
            }

            if (Version != null)
            {
                hashCode += Version.GetHashCode();
            }

            if (TotalMoney != null)
            {
                hashCode += TotalMoney.GetHashCode();
            }

            if (TotalTaxMoney != null)
            {
                hashCode += TotalTaxMoney.GetHashCode();
            }

            if (TotalDiscountMoney != null)
            {
                hashCode += TotalDiscountMoney.GetHashCode();
            }

            if (TotalTipMoney != null)
            {
                hashCode += TotalTipMoney.GetHashCode();
            }

            if (TotalServiceChargeMoney != null)
            {
                hashCode += TotalServiceChargeMoney.GetHashCode();
            }

            if (PricingOptions != null)
            {
                hashCode += PricingOptions.GetHashCode();
            }

            if (Rewards != null)
            {
                hashCode += Rewards.GetHashCode();
            }

            return(hashCode);
        }