public override int GetHashCode() { return(JobId.GetHashCode() + JobReference.GetHashCode() + Signers.GetHashCode() + StatusUrl.GetHashCode()); }
public JobResponse(long jobId, string jobReference, IEnumerable <SignerResponse> signers, StatusUrl statusUrl) { JobId = jobId; JobReference = jobReference; Signers = signers.ToList(); StatusUrl = statusUrl; }
public override bool Equals(object obj) { return(obj is JobResponse that && JobId.Equals(that.JobId) && JobReference.Equals(that.JobReference) && Signers.Equals(that.Signers) && StatusUrl.Equals(that.StatusUrl)); }