/// <summary> /// Returns true if InputCredentialsList instances are equal /// </summary> /// <param name="other">Instance of InputCredentialsList to be compared</param> /// <returns>Boolean</returns> public bool Equals(InputCredentialsList other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( UserID == other.UserID || UserID != null && UserID.Equals(other.UserID) ) && ( MaxResults == other.MaxResults || MaxResults != null && MaxResults.Equals(other.MaxResults) ) && ( PageToken == other.PageToken || PageToken != null && PageToken.Equals(other.PageToken) ) && ( ClientData == other.ClientData || ClientData != null && ClientData.Equals(other.ClientData) )); }
/// <summary> /// Returns true if RequestRangeFull instances are equal /// </summary> /// <param name="other">Instance of RequestRangeFull to be compared</param> /// <returns>Boolean</returns> public bool Equals(RequestRangeFull other) { if (other is null) return false; if (ReferenceEquals(this, other)) return true; return ( Enabled == other.Enabled || Enabled.Equals(other.Enabled) ) && ( MaxResults == other.MaxResults || MaxResults.Equals(other.MaxResults) ) && ( Width == other.Width || Width.Equals(other.Width) ); }