public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is BatchRetrieveInventoryCountsResponse other && ((Context == null && other.Context == null) || (Context?.Equals(other.Context) == true)) && ((Errors == null && other.Errors == null) || (Errors?.Equals(other.Errors) == true)) && ((Counts == null && other.Counts == null) || (Counts?.Equals(other.Counts) == true)) && ((Cursor == null && other.Cursor == null) || (Cursor?.Equals(other.Cursor) == true))); }
/// <inheritdoc /> public bool Equals([AllowNull] ParCats other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( Visible == other.Visible || Visible != null && Visible.Equals(other.Visible) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( UId == other.UId || UId != null && UId.Equals(other.UId) ) && ( Meta == other.Meta || Meta != null && Meta.Equals(other.Meta) ) && ( Equals(MetaArray, other.MetaArray) || MetaArray != null && other.MetaArray != null && MetaArray.SequenceEqual(other.MetaArray) ) && ( Stream == other.Stream || Stream != null && Stream.Equals(other.Stream) ) && ( Equals(Transforms, other.Transforms) || Transforms != null && other.Transforms != null && Transforms.SequenceEqual(other.Transforms) ) && ( UiRevision == other.UiRevision || UiRevision != null && UiRevision.Equals(other.UiRevision) ) && ( Domain == other.Domain || Domain != null && Domain.Equals(other.Domain) ) && ( HoverInfo == other.HoverInfo || HoverInfo != null && HoverInfo.Equals(other.HoverInfo) ) && ( HoverOn == other.HoverOn || HoverOn != null && HoverOn.Equals(other.HoverOn) ) && ( HoverTemplate == other.HoverTemplate || HoverTemplate != null && HoverTemplate.Equals(other.HoverTemplate) ) && ( Arrangement == other.Arrangement || Arrangement != null && Arrangement.Equals(other.Arrangement) ) && ( BundleColors == other.BundleColors || BundleColors != null && BundleColors.Equals(other.BundleColors) ) && ( SortPaths == other.SortPaths || SortPaths != null && SortPaths.Equals(other.SortPaths) ) && ( LabelFont == other.LabelFont || LabelFont != null && LabelFont.Equals(other.LabelFont) ) && ( TickFont == other.TickFont || TickFont != null && TickFont.Equals(other.TickFont) ) && ( Equals(Dimensions, other.Dimensions) || Dimensions != null && other.Dimensions != null && Dimensions.SequenceEqual(other.Dimensions) ) && ( Line == other.Line || Line != null && Line.Equals(other.Line) ) && ( Counts == other.Counts || Counts != null && Counts.Equals(other.Counts) ) && ( Equals(CountsArray, other.CountsArray) || CountsArray != null && other.CountsArray != null && CountsArray.SequenceEqual(other.CountsArray) ) && ( MetaSrc == other.MetaSrc || MetaSrc != null && MetaSrc.Equals(other.MetaSrc) ) && ( CountsSrc == other.CountsSrc || CountsSrc != null && CountsSrc.Equals(other.CountsSrc) )); }