In order to establish a gender discrimination claim under the statute, a plaintiff need only demonstrate, by a preponderance of the evidence, disparate treatment because of gender. It is not necessary to invoke sexual harassment or quid pro quo. A defendant can assert an affirmative defense and avoid liability if the conduct amounts to nothing more than what a reasonable victim of discrimination would consider petty slights and trivial inconveniences.
Suri v. Grey Global Group, Inc., NY Slip Op 05627 (1st Dep't August 2, 2018)
Here is the decision.