3030 */
3131@ javax .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" )
3232public class AccountCreateRequest {
33- public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPE_NAME = "account_subtype_name " ;
34- @ SerializedName (SERIALIZED_NAME_ACCOUNT_SUBTYPE_NAME )
35- private String accountSubtypeName ;
33+ public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPE = "account_subtype " ;
34+ @ SerializedName (SERIALIZED_NAME_ACCOUNT_SUBTYPE )
35+ private String accountSubtype ;
3636
3737 public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "account_type" ;
3838 @ SerializedName (SERIALIZED_NAME_ACCOUNT_TYPE )
39- private Integer accountType ;
39+ private String accountType ;
4040
4141 public static final String SERIALIZED_NAME_APR = "apr" ;
4242 @ SerializedName (SERIALIZED_NAME_APR )
@@ -108,11 +108,7 @@ public class AccountCreateRequest {
108108
109109 public static final String SERIALIZED_NAME_PROPERTY_TYPE = "property_type" ;
110110 @ SerializedName (SERIALIZED_NAME_PROPERTY_TYPE )
111- private Integer propertyType ;
112-
113- public static final String SERIALIZED_NAME_PROPERTY_TYPE_NAME = "property_type_name" ;
114- @ SerializedName (SERIALIZED_NAME_PROPERTY_TYPE_NAME )
115- private String propertyTypeName ;
111+ private String propertyType ;
116112
117113 public static final String SERIALIZED_NAME_SKIP_WEBHOOK = "skip_webhook" ;
118114 @ SerializedName (SERIALIZED_NAME_SKIP_WEBHOOK )
@@ -121,30 +117,30 @@ public class AccountCreateRequest {
121117 public AccountCreateRequest () {
122118 }
123119
124- public AccountCreateRequest accountSubtypeName (String accountSubtypeName ) {
120+ public AccountCreateRequest accountSubtype (String accountSubtype ) {
125121
126- this .accountSubtypeName = accountSubtypeName ;
122+ this .accountSubtype = accountSubtype ;
127123 return this ;
128124 }
129125
130126 /**
131- * Get accountSubtypeName
132- * @return accountSubtypeName
127+ * Get accountSubtype
128+ * @return accountSubtype
133129 **/
134130 @ javax .annotation .Nullable
135131 @ ApiModelProperty (example = "PERSONAL" , value = "" )
136132
137- public String getAccountSubtypeName () {
138- return accountSubtypeName ;
133+ public String getAccountSubtype () {
134+ return accountSubtype ;
139135 }
140136
141137
142- public void setAccountSubtypeName (String accountSubtypeName ) {
143- this .accountSubtypeName = accountSubtypeName ;
138+ public void setAccountSubtype (String accountSubtype ) {
139+ this .accountSubtype = accountSubtype ;
144140 }
145141
146142
147- public AccountCreateRequest accountType (Integer accountType ) {
143+ public AccountCreateRequest accountType (String accountType ) {
148144
149145 this .accountType = accountType ;
150146 return this ;
@@ -155,14 +151,14 @@ public AccountCreateRequest accountType(Integer accountType) {
155151 * @return accountType
156152 **/
157153 @ javax .annotation .Nonnull
158- @ ApiModelProperty (example = "2 " , required = true , value = "" )
154+ @ ApiModelProperty (example = "SAVINGS " , required = true , value = "" )
159155
160- public Integer getAccountType () {
156+ public String getAccountType () {
161157 return accountType ;
162158 }
163159
164160
165- public void setAccountType (Integer accountType ) {
161+ public void setAccountType (String accountType ) {
166162 this .accountType = accountType ;
167163 }
168164
@@ -558,7 +554,7 @@ public void setOriginalBalance(BigDecimal originalBalance) {
558554 }
559555
560556
561- public AccountCreateRequest propertyType (Integer propertyType ) {
557+ public AccountCreateRequest propertyType (String propertyType ) {
562558
563559 this .propertyType = propertyType ;
564560 return this ;
@@ -569,41 +565,18 @@ public AccountCreateRequest propertyType(Integer propertyType) {
569565 * @return propertyType
570566 **/
571567 @ javax .annotation .Nullable
572- @ ApiModelProperty (example = "1 " , value = "" )
568+ @ ApiModelProperty (example = "VEHICLE " , value = "" )
573569
574- public Integer getPropertyType () {
570+ public String getPropertyType () {
575571 return propertyType ;
576572 }
577573
578574
579- public void setPropertyType (Integer propertyType ) {
575+ public void setPropertyType (String propertyType ) {
580576 this .propertyType = propertyType ;
581577 }
582578
583579
584- public AccountCreateRequest propertyTypeName (String propertyTypeName ) {
585-
586- this .propertyTypeName = propertyTypeName ;
587- return this ;
588- }
589-
590- /**
591- * Get propertyTypeName
592- * @return propertyTypeName
593- **/
594- @ javax .annotation .Nullable
595- @ ApiModelProperty (example = "VEHICLE" , value = "" )
596-
597- public String getPropertyTypeName () {
598- return propertyTypeName ;
599- }
600-
601-
602- public void setPropertyTypeName (String propertyTypeName ) {
603- this .propertyTypeName = propertyTypeName ;
604- }
605-
606-
607580 public AccountCreateRequest skipWebhook (Boolean skipWebhook ) {
608581
609582 this .skipWebhook = skipWebhook ;
@@ -615,7 +588,7 @@ public AccountCreateRequest skipWebhook(Boolean skipWebhook) {
615588 * @return skipWebhook
616589 **/
617590 @ javax .annotation .Nullable
618- @ ApiModelProperty (example = "false " , value = "" )
591+ @ ApiModelProperty (example = "true " , value = "" )
619592
620593 public Boolean getSkipWebhook () {
621594 return skipWebhook ;
@@ -636,7 +609,7 @@ public boolean equals(Object o) {
636609 return false ;
637610 }
638611 AccountCreateRequest accountCreateRequest = (AccountCreateRequest ) o ;
639- return Objects .equals (this .accountSubtypeName , accountCreateRequest .accountSubtypeName ) &&
612+ return Objects .equals (this .accountSubtype , accountCreateRequest .accountSubtype ) &&
640613 Objects .equals (this .accountType , accountCreateRequest .accountType ) &&
641614 Objects .equals (this .apr , accountCreateRequest .apr ) &&
642615 Objects .equals (this .apy , accountCreateRequest .apy ) &&
@@ -656,20 +629,19 @@ public boolean equals(Object o) {
656629 Objects .equals (this .nickname , accountCreateRequest .nickname ) &&
657630 Objects .equals (this .originalBalance , accountCreateRequest .originalBalance ) &&
658631 Objects .equals (this .propertyType , accountCreateRequest .propertyType ) &&
659- Objects .equals (this .propertyTypeName , accountCreateRequest .propertyTypeName ) &&
660632 Objects .equals (this .skipWebhook , accountCreateRequest .skipWebhook );
661633 }
662634
663635 @ Override
664636 public int hashCode () {
665- return Objects .hash (accountSubtypeName , accountType , apr , apy , availableBalance , balance , cashSurrenderValue , creditLimit , currencyCode , deathBenefit , interestRate , isBusiness , isClosed , isHidden , loanAmount , metadata , name , nickname , originalBalance , propertyType , propertyTypeName , skipWebhook );
637+ return Objects .hash (accountSubtype , accountType , apr , apy , availableBalance , balance , cashSurrenderValue , creditLimit , currencyCode , deathBenefit , interestRate , isBusiness , isClosed , isHidden , loanAmount , metadata , name , nickname , originalBalance , propertyType , skipWebhook );
666638 }
667639
668640 @ Override
669641 public String toString () {
670642 StringBuilder sb = new StringBuilder ();
671643 sb .append ("class AccountCreateRequest {\n " );
672- sb .append (" accountSubtypeName : " ).append (toIndentedString (accountSubtypeName )).append ("\n " );
644+ sb .append (" accountSubtype : " ).append (toIndentedString (accountSubtype )).append ("\n " );
673645 sb .append (" accountType: " ).append (toIndentedString (accountType )).append ("\n " );
674646 sb .append (" apr: " ).append (toIndentedString (apr )).append ("\n " );
675647 sb .append (" apy: " ).append (toIndentedString (apy )).append ("\n " );
@@ -689,7 +661,6 @@ public String toString() {
689661 sb .append (" nickname: " ).append (toIndentedString (nickname )).append ("\n " );
690662 sb .append (" originalBalance: " ).append (toIndentedString (originalBalance )).append ("\n " );
691663 sb .append (" propertyType: " ).append (toIndentedString (propertyType )).append ("\n " );
692- sb .append (" propertyTypeName: " ).append (toIndentedString (propertyTypeName )).append ("\n " );
693664 sb .append (" skipWebhook: " ).append (toIndentedString (skipWebhook )).append ("\n " );
694665 sb .append ("}" );
695666 return sb .toString ();
0 commit comments