3636 BiomodelRef .JSON_PROPERTY_NAME ,
3737 BiomodelRef .JSON_PROPERTY_OWNER_NAME ,
3838 BiomodelRef .JSON_PROPERTY_OWNER_KEY ,
39- BiomodelRef .JSON_PROPERTY_VERSION_FLAG
39+ BiomodelRef .JSON_PROPERTY_VERSION_FLAG ,
40+ BiomodelRef .JSON_PROPERTY_PRIVACY
4041})
4142@ javax .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" )
4243public class BiomodelRef {
@@ -55,6 +56,9 @@ public class BiomodelRef {
5556 public static final String JSON_PROPERTY_VERSION_FLAG = "versionFlag" ;
5657 private Integer versionFlag ;
5758
59+ public static final String JSON_PROPERTY_PRIVACY = "privacy" ;
60+ private Integer privacy ;
61+
5862 public BiomodelRef () {
5963 }
6064
@@ -183,6 +187,31 @@ public void setVersionFlag(Integer versionFlag) {
183187 }
184188
185189
190+ public BiomodelRef privacy (Integer privacy ) {
191+ this .privacy = privacy ;
192+ return this ;
193+ }
194+
195+ /**
196+ * Get privacy
197+ * @return privacy
198+ **/
199+ @ javax .annotation .Nullable
200+ @ JsonProperty (JSON_PROPERTY_PRIVACY )
201+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
202+
203+ public Integer getPrivacy () {
204+ return privacy ;
205+ }
206+
207+
208+ @ JsonProperty (JSON_PROPERTY_PRIVACY )
209+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
210+ public void setPrivacy (Integer privacy ) {
211+ this .privacy = privacy ;
212+ }
213+
214+
186215 /**
187216 * Return true if this BiomodelRef object is equal to o.
188217 */
@@ -199,12 +228,13 @@ public boolean equals(Object o) {
199228 Objects .equals (this .name , biomodelRef .name ) &&
200229 Objects .equals (this .ownerName , biomodelRef .ownerName ) &&
201230 Objects .equals (this .ownerKey , biomodelRef .ownerKey ) &&
202- Objects .equals (this .versionFlag , biomodelRef .versionFlag );
231+ Objects .equals (this .versionFlag , biomodelRef .versionFlag ) &&
232+ Objects .equals (this .privacy , biomodelRef .privacy );
203233 }
204234
205235 @ Override
206236 public int hashCode () {
207- return Objects .hash (bmKey , name , ownerName , ownerKey , versionFlag );
237+ return Objects .hash (bmKey , name , ownerName , ownerKey , versionFlag , privacy );
208238 }
209239
210240 @ Override
@@ -216,6 +246,7 @@ public String toString() {
216246 sb .append (" ownerName: " ).append (toIndentedString (ownerName )).append ("\n " );
217247 sb .append (" ownerKey: " ).append (toIndentedString (ownerKey )).append ("\n " );
218248 sb .append (" versionFlag: " ).append (toIndentedString (versionFlag )).append ("\n " );
249+ sb .append (" privacy: " ).append (toIndentedString (privacy )).append ("\n " );
219250 sb .append ("}" );
220251 return sb .toString ();
221252 }
@@ -288,6 +319,11 @@ public String toUrlQueryString(String prefix) {
288319 joiner .add (String .format ("%sversionFlag%s=%s" , prefix , suffix , URLEncoder .encode (String .valueOf (getVersionFlag ()), StandardCharsets .UTF_8 ).replaceAll ("\\ +" , "%20" )));
289320 }
290321
322+ // add `privacy` to the URL query string
323+ if (getPrivacy () != null ) {
324+ joiner .add (String .format ("%sprivacy%s=%s" , prefix , suffix , URLEncoder .encode (String .valueOf (getPrivacy ()), StandardCharsets .UTF_8 ).replaceAll ("\\ +" , "%20" )));
325+ }
326+
291327 return joiner .toString ();
292328 }
293329}
0 commit comments