/// <summary> /// Returns true if Proposal instances are equal /// </summary> /// <param name="other">Instance of Proposal to be compared</param> /// <returns>Boolean</returns> public bool Equals(Proposal other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ProposalId == other.ProposalId || ProposalId != null && ProposalId.Equals(other.ProposalId) ) && ( IssuerId == other.IssuerId || IssuerId != null && IssuerId.Equals(other.IssuerId) ) && ( State == other.State || State != null && State.Equals(other.State) ) && ( PrevProposalId == other.PrevProposalId || PrevProposalId != null && PrevProposalId.Equals(other.PrevProposalId) )); }
/// <summary> /// Returns true if InlineObject instances are equal /// </summary> /// <param name="other">Instance of InlineObject to be compared</param> /// <returns>Boolean</returns> public bool Equals(InlineObject other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ProposalId == other.ProposalId || ProposalId != null && ProposalId.Equals(other.ProposalId) ) && ( Times == other.Times || Times != null && Times.Equals(other.Times) ) && ( Break == other.Break || Break.Equals(other.Break) )); }
/// <summary> /// Returns true if BookingEvent instances are equal /// </summary> /// <param name="other">Instance of BookingEvent to be compared</param> /// <returns>Boolean</returns> public bool Equals(BookingEvent other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ProposalId == other.ProposalId || ProposalId != null && ProposalId.Equals(other.ProposalId) ) && ( VacancyId == other.VacancyId || VacancyId != null && VacancyId.Equals(other.VacancyId) )); }
/// <summary> /// Returns true if Agreement instances are equal /// </summary> /// <param name="other">Instance of Agreement to be compared</param> /// <returns>Boolean</returns> public bool Equals(Agreement other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ProposalId == other.ProposalId || ProposalId != null && ProposalId.Equals(other.ProposalId) ) && ( ExpirationDate == other.ExpirationDate || ExpirationDate != null && ExpirationDate.Equals(other.ExpirationDate) )); }
/// <summary> /// Returns true if AgreementProposal instances are equal /// </summary> /// <param name="other">Instance of AgreementProposal to be compared</param> /// <returns>Boolean</returns> public bool Equals(AgreementProposal other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ProposalId == other.ProposalId || ProposalId != null && ProposalId.Equals(other.ProposalId) ) && ( ValidTo == other.ValidTo || ValidTo != null && ValidTo.Equals(other.ValidTo) )); }