public bool Equals(AssigneeLogsFilteredDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(AssigneeId.Equals(other.AssigneeId) && ActivityId.Equals(other.ActivityId) && LoggedTimeId.Equals(other.LoggedTimeId)); }
public bool Equals(ProjectGroupLogsDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ProjectGroupId.Equals(other.ProjectGroupId) && ProjectId.Equals(other.ProjectId) && SprintId.Equals(other.SprintId) && ActivityId.Equals(other.ActivityId) && AssigneeId.Equals(other.AssigneeId) && LoggedTimeId.Equals(other.LoggedTimeId)); }
/// <summary> /// Returns true if SummarySegmentEffort instances are equal /// </summary> /// <param name="other">Instance of SummarySegmentEffort to be compared</param> /// <returns>Boolean</returns> public bool Equals(SummarySegmentEffort other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( ActivityId == other.ActivityId || ActivityId != null && ActivityId.Equals(other.ActivityId) ) && ( ElapsedTime == other.ElapsedTime || ElapsedTime != null && ElapsedTime.Equals(other.ElapsedTime) ) && ( StartDate == other.StartDate || StartDate != null && StartDate.Equals(other.StartDate) ) && ( StartDateLocal == other.StartDateLocal || StartDateLocal != null && StartDateLocal.Equals(other.StartDateLocal) ) && ( Distance == other.Distance || Distance != null && Distance.Equals(other.Distance) ) && ( IsKom == other.IsKom || IsKom != null && IsKom.Equals(other.IsKom) )); }
/// <summary> /// Returns true if ConversationReference instances are equal /// </summary> /// <param name="other">Instance of ConversationReference to be compared</param> /// <returns>Boolean</returns> public bool Equals(ConversationReference other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ActivityId == other.ActivityId || ActivityId != null && ActivityId.Equals(other.ActivityId) ) && ( User == other.User || User != null && User.Equals(other.User) ) && ( Bot == other.Bot || Bot != null && Bot.Equals(other.Bot) ) && ( Conversation == other.Conversation || Conversation != null && Conversation.Equals(other.Conversation) ) && ( ChannelId == other.ChannelId || ChannelId != null && ChannelId.Equals(other.ChannelId) ) && ( ServiceUrl == other.ServiceUrl || ServiceUrl != null && ServiceUrl.Equals(other.ServiceUrl) )); }
public bool Equals(ProjectLoggsDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ProjectName == other.ProjectName && AssigneeName == other.AssigneeName && ActivityName == other.ActivityName && ActivityStatus == other.ActivityStatus && ActivityType == other.ActivityType && EstimatedTime.Equals(other.EstimatedTime) && LoggedTime.Equals(other.LoggedTime) && ProjectId.Equals(other.ProjectId) && ActivityId.Equals(other.ActivityId) && AssigneeId.Equals(other.AssigneeId)); }
/// <summary> /// Returns true if Comment instances are equal /// </summary> /// <param name="other">Instance of Comment to be compared</param> /// <returns>Boolean</returns> public bool Equals(Comment other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( ActivityId == other.ActivityId || ActivityId != null && ActivityId.Equals(other.ActivityId) ) && ( Text == other.Text || Text != null && Text.Equals(other.Text) ) && ( Athlete == other.Athlete || Athlete != null && Athlete.Equals(other.Athlete) ) && ( CreatedAt == other.CreatedAt || CreatedAt != null && CreatedAt.Equals(other.CreatedAt) )); }