public PageRequestDtoBuilder expansionDepth(int expansionDepth) { Assert.isTrue(expansionDepth > 0, "Expansion depth should be a positive number"); depthCounter(new DepthCounter(expansionDepth)); this.expansionDepth = expansionDepth; return this; }
public PageRequestDtoBuilder expansionDepth(int expansionDepth) { Assert.isTrue(expansionDepth > 0, "Expansion depth should be a positive number"); depthCounter(new DepthCounter(expansionDepth)); this.expansionDepth = expansionDepth; return this; }