@@ -286,6 +286,10 @@ public static SystemAccountEnum fromValue(String value) {
286286 private OffsetDateTime updatedDateUTC ;
287287
288288
289+ @ JsonProperty ("AddToWatchlist" )
290+ private Boolean addToWatchlist ;
291+
292+
289293 @ JsonProperty ("ValidationErrors" )
290294 private List <ValidationError > validationErrors = new ArrayList <ValidationError >();
291295
@@ -559,6 +563,24 @@ public OffsetDateTime getUpdatedDateUTC() {
559563 return updatedDateUTC ;
560564 }
561565
566+ public Account addToWatchlist (Boolean addToWatchlist ) {
567+ this .addToWatchlist = addToWatchlist ;
568+ return this ;
569+ }
570+
571+ /**
572+ * Boolean – describes whether the account is shown in the watchlist widget on the dashboard
573+ * @return addToWatchlist
574+ **/
575+ @ ApiModelProperty (value = "Boolean – describes whether the account is shown in the watchlist widget on the dashboard" )
576+ public Boolean getAddToWatchlist () {
577+ return addToWatchlist ;
578+ }
579+
580+ public void setAddToWatchlist (Boolean addToWatchlist ) {
581+ this .addToWatchlist = addToWatchlist ;
582+ }
583+
562584 public Account validationErrors (List <ValidationError > validationErrors ) {
563585 this .validationErrors = validationErrors ;
564586 return this ;
@@ -613,12 +635,13 @@ public boolean equals(java.lang.Object o) {
613635 Objects .equals (this .reportingCodeName , account .reportingCodeName ) &&
614636 Objects .equals (this .hasAttachments , account .hasAttachments ) &&
615637 Objects .equals (this .updatedDateUTC , account .updatedDateUTC ) &&
638+ Objects .equals (this .addToWatchlist , account .addToWatchlist ) &&
616639 Objects .equals (this .validationErrors , account .validationErrors );
617640 }
618641
619642 @ Override
620643 public int hashCode () {
621- return Objects .hash (code , name , accountID , type , bankAccountNumber , status , description , bankAccountType , currencyCode , taxType , enablePaymentsToAccount , showInExpenseClaims , propertyClass , systemAccount , reportingCode , reportingCodeName , hasAttachments , updatedDateUTC , validationErrors );
644+ return Objects .hash (code , name , accountID , type , bankAccountNumber , status , description , bankAccountType , currencyCode , taxType , enablePaymentsToAccount , showInExpenseClaims , propertyClass , systemAccount , reportingCode , reportingCodeName , hasAttachments , updatedDateUTC , addToWatchlist , validationErrors );
622645 }
623646
624647
@@ -644,6 +667,7 @@ public String toString() {
644667 sb .append (" reportingCodeName: " ).append (toIndentedString (reportingCodeName )).append ("\n " );
645668 sb .append (" hasAttachments: " ).append (toIndentedString (hasAttachments )).append ("\n " );
646669 sb .append (" updatedDateUTC: " ).append (toIndentedString (updatedDateUTC )).append ("\n " );
670+ sb .append (" addToWatchlist: " ).append (toIndentedString (addToWatchlist )).append ("\n " );
647671 sb .append (" validationErrors: " ).append (toIndentedString (validationErrors )).append ("\n " );
648672 sb .append ("}" );
649673 return sb .toString ();
0 commit comments