@@ -50,6 +50,10 @@ public class CredentialResponse {
5050 @ SerializedName (SERIALIZED_NAME_LABEL )
5151 private String label ;
5252
53+ public static final String SERIALIZED_NAME_TYPE = "type" ;
54+ @ SerializedName (SERIALIZED_NAME_TYPE )
55+ private String type ;
56+
5357 public CredentialResponse () {
5458 }
5559
@@ -168,6 +172,29 @@ public void setLabel(String label) {
168172 }
169173
170174
175+ public CredentialResponse type (String type ) {
176+
177+ this .type = type ;
178+ return this ;
179+ }
180+
181+ /**
182+ * Get type
183+ * @return type
184+ **/
185+ @ javax .annotation .Nullable
186+ @ ApiModelProperty (example = "TEXT" , value = "" )
187+
188+ public String getType () {
189+ return type ;
190+ }
191+
192+
193+ public void setType (String type ) {
194+ this .type = type ;
195+ }
196+
197+
171198 @ Override
172199 public boolean equals (Object o ) {
173200 if (this == o ) {
@@ -181,7 +208,8 @@ public boolean equals(Object o) {
181208 Objects .equals (this .fieldName , credentialResponse .fieldName ) &&
182209 Objects .equals (this .fieldType , credentialResponse .fieldType ) &&
183210 Objects .equals (this .guid , credentialResponse .guid ) &&
184- Objects .equals (this .label , credentialResponse .label );
211+ Objects .equals (this .label , credentialResponse .label ) &&
212+ Objects .equals (this .type , credentialResponse .type );
185213 }
186214
187215 private static <T > boolean equalsNullable (JsonNullable <T > a , JsonNullable <T > b ) {
@@ -190,7 +218,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
190218
191219 @ Override
192220 public int hashCode () {
193- return Objects .hash (displayOrder , fieldName , fieldType , guid , label );
221+ return Objects .hash (displayOrder , fieldName , fieldType , guid , label , type );
194222 }
195223
196224 private static <T > int hashCodeNullable (JsonNullable <T > a ) {
@@ -209,6 +237,7 @@ public String toString() {
209237 sb .append (" fieldType: " ).append (toIndentedString (fieldType )).append ("\n " );
210238 sb .append (" guid: " ).append (toIndentedString (guid )).append ("\n " );
211239 sb .append (" label: " ).append (toIndentedString (label )).append ("\n " );
240+ sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
212241 sb .append ("}" );
213242 return sb .toString ();
214243 }
0 commit comments