001package com.box.sdkgen.managers.files; 002 003public class GetFileThumbnailByIdQueryParams { 004 005 /** The minimum height of the thumbnail. */ 006 public Long minHeight; 007 008 /** The minimum width of the thumbnail. */ 009 public Long minWidth; 010 011 /** The maximum height of the thumbnail. */ 012 public Long maxHeight; 013 014 /** The maximum width of the thumbnail. */ 015 public Long maxWidth; 016 017 public GetFileThumbnailByIdQueryParams() {} 018 019 protected GetFileThumbnailByIdQueryParams(Builder builder) { 020 this.minHeight = builder.minHeight; 021 this.minWidth = builder.minWidth; 022 this.maxHeight = builder.maxHeight; 023 this.maxWidth = builder.maxWidth; 024 } 025 026 public Long getMinHeight() { 027 return minHeight; 028 } 029 030 public Long getMinWidth() { 031 return minWidth; 032 } 033 034 public Long getMaxHeight() { 035 return maxHeight; 036 } 037 038 public Long getMaxWidth() { 039 return maxWidth; 040 } 041 042 public static class Builder { 043 044 protected Long minHeight; 045 046 protected Long minWidth; 047 048 protected Long maxHeight; 049 050 protected Long maxWidth; 051 052 public Builder minHeight(Long minHeight) { 053 this.minHeight = minHeight; 054 return this; 055 } 056 057 public Builder minWidth(Long minWidth) { 058 this.minWidth = minWidth; 059 return this; 060 } 061 062 public Builder maxHeight(Long maxHeight) { 063 this.maxHeight = maxHeight; 064 return this; 065 } 066 067 public Builder maxWidth(Long maxWidth) { 068 this.maxWidth = maxWidth; 069 return this; 070 } 071 072 public GetFileThumbnailByIdQueryParams build() { 073 return new GetFileThumbnailByIdQueryParams(this); 074 } 075 } 076}