@@ -48,11 +48,8 @@ public class CadLoadOptions extends LoadOptions {
4848 @ SerializedName ("layoutNames" )
4949 private List <String > layoutNames = null ;
5050
51- @ SerializedName ("backgroundColor" )
52- private String backgroundColor = null ;
53-
5451 /**
55- * Gets or sets type of drawing.
52+ * A type of drawing.
5653 */
5754 @ JsonAdapter (DrawTypeEnum .Adapter .class )
5855 public enum DrawTypeEnum {
@@ -101,6 +98,12 @@ public DrawTypeEnum read(final JsonReader jsonReader) throws IOException {
10198 @ SerializedName ("drawType" )
10299 private DrawTypeEnum drawType = null ;
103100
101+ @ SerializedName ("drawColor" )
102+ private String drawColor = null ;
103+
104+ @ SerializedName ("backgroundColor" )
105+ private String backgroundColor = null ;
106+
104107 public CadLoadOptions layoutNames (List <String > layoutNames ) {
105108 this .layoutNames = layoutNames ;
106109 return this ;
@@ -127,40 +130,58 @@ public void setLayoutNames(List<String> layoutNames) {
127130 this .layoutNames = layoutNames ;
128131 }
129132
130- public CadLoadOptions backgroundColor ( String backgroundColor ) {
131- this .backgroundColor = backgroundColor ;
133+ public CadLoadOptions drawType ( DrawTypeEnum drawType ) {
134+ this .drawType = drawType ;
132135 return this ;
133136 }
134137
135138 /**
136- * Gets or sets a background color .
137- * @return backgroundColor
139+ * A type of drawing .
140+ * @return drawType
138141 **/
139- @ ApiModelProperty (value = "Gets or sets a background color ." )
140- public String getBackgroundColor () {
141- return backgroundColor ;
142+ @ ApiModelProperty (required = true , value = "A type of drawing ." )
143+ public DrawTypeEnum getDrawType () {
144+ return drawType ;
142145 }
143146
144- public void setBackgroundColor ( String backgroundColor ) {
145- this .backgroundColor = backgroundColor ;
147+ public void setDrawType ( DrawTypeEnum drawType ) {
148+ this .drawType = drawType ;
146149 }
147150
148- public CadLoadOptions drawType ( DrawTypeEnum drawType ) {
149- this .drawType = drawType ;
151+ public CadLoadOptions drawColor ( String drawColor ) {
152+ this .drawColor = drawColor ;
150153 return this ;
151154 }
152155
153156 /**
154- * Gets or sets type of drawing.
155- * @return drawType
157+ * A foreground color.
158+ * @return drawColor
156159 **/
157- @ ApiModelProperty (required = true , value = "Gets or sets type of drawing. " )
158- public DrawTypeEnum getDrawType () {
159- return drawType ;
160+ @ ApiModelProperty (value = "A foreground color. " )
161+ public String getDrawColor () {
162+ return drawColor ;
160163 }
161164
162- public void setDrawType (DrawTypeEnum drawType ) {
163- this .drawType = drawType ;
165+ public void setDrawColor (String drawColor ) {
166+ this .drawColor = drawColor ;
167+ }
168+
169+ public CadLoadOptions backgroundColor (String backgroundColor ) {
170+ this .backgroundColor = backgroundColor ;
171+ return this ;
172+ }
173+
174+ /**
175+ * A background color.
176+ * @return backgroundColor
177+ **/
178+ @ ApiModelProperty (value = "A background color." )
179+ public String getBackgroundColor () {
180+ return backgroundColor ;
181+ }
182+
183+ public void setBackgroundColor (String backgroundColor ) {
184+ this .backgroundColor = backgroundColor ;
164185 }
165186
166187
@@ -174,14 +195,15 @@ public boolean equals(java.lang.Object o) {
174195 }
175196 CadLoadOptions cadLoadOptions = (CadLoadOptions ) o ;
176197 return Objects .equals (this .layoutNames , cadLoadOptions .layoutNames ) &&
177- Objects .equals (this .backgroundColor , cadLoadOptions .backgroundColor ) &&
178198 Objects .equals (this .drawType , cadLoadOptions .drawType ) &&
199+ Objects .equals (this .drawColor , cadLoadOptions .drawColor ) &&
200+ Objects .equals (this .backgroundColor , cadLoadOptions .backgroundColor ) &&
179201 super .equals (o );
180202 }
181203
182204 @ Override
183205 public int hashCode () {
184- return Objects .hash (layoutNames , backgroundColor , drawType , super .hashCode ());
206+ return Objects .hash (layoutNames , drawType , drawColor , backgroundColor , super .hashCode ());
185207 }
186208
187209
@@ -191,8 +213,9 @@ public String toString() {
191213 sb .append ("class CadLoadOptions {\n " );
192214 sb .append (" " ).append (toIndentedString (super .toString ())).append ("\n " );
193215 sb .append (" layoutNames: " ).append (toIndentedString (layoutNames )).append ("\n " );
194- sb .append (" backgroundColor: " ).append (toIndentedString (backgroundColor )).append ("\n " );
195216 sb .append (" drawType: " ).append (toIndentedString (drawType )).append ("\n " );
217+ sb .append (" drawColor: " ).append (toIndentedString (drawColor )).append ("\n " );
218+ sb .append (" backgroundColor: " ).append (toIndentedString (backgroundColor )).append ("\n " );
196219 sb .append ("}" );
197220 return sb .toString ();
198221 }
0 commit comments