2727import java .util .UUID ;
2828import org .openapitools .jackson .nullable .JsonNullable ;
2929import software .xdev .sessionize .model .Link ;
30+ import software .xdev .sessionize .model .QuestionAnswer ;
3031import com .fasterxml .jackson .annotation .JsonIgnore ;
3132import org .openapitools .jackson .nullable .JsonNullable ;
3233import java .util .NoSuchElementException ;
4950 SpeakerAll .JSON_PROPERTY_IS_TOP_SPEAKER ,
5051 SpeakerAll .JSON_PROPERTY_LINKS ,
5152 SpeakerAll .JSON_PROPERTY_FULL_NAME ,
52- SpeakerAll .JSON_PROPERTY_SESSIONS
53+ SpeakerAll .JSON_PROPERTY_SESSIONS ,
54+ SpeakerAll .JSON_PROPERTY_QUESTION_ANSWERS
5355})
5456@ jakarta .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" )
5557public class SpeakerAll {
@@ -83,6 +85,9 @@ public class SpeakerAll {
8385 public static final String JSON_PROPERTY_SESSIONS = "sessions" ;
8486 private List <Integer > sessions = new ArrayList <>();
8587
88+ public static final String JSON_PROPERTY_QUESTION_ANSWERS = "questionAnswers" ;
89+ private List <QuestionAnswer > questionAnswers = new ArrayList <>();
90+
8691 public SpeakerAll () {
8792 }
8893
@@ -377,6 +382,40 @@ public void setSessions(List<Integer> sessions) {
377382 this .sessions = sessions ;
378383 }
379384
385+
386+ public SpeakerAll questionAnswers (List <QuestionAnswer > questionAnswers ) {
387+
388+ this .questionAnswers = questionAnswers ;
389+ return this ;
390+ }
391+
392+ public SpeakerAll addQuestionAnswersItem (QuestionAnswer questionAnswersItem ) {
393+ if (this .questionAnswers == null ) {
394+ this .questionAnswers = new ArrayList <>();
395+ }
396+ this .questionAnswers .add (questionAnswersItem );
397+ return this ;
398+ }
399+
400+ /**
401+ * Get questionAnswers
402+ * @return questionAnswers
403+ **/
404+ @ jakarta .annotation .Nonnull
405+ @ JsonProperty (JSON_PROPERTY_QUESTION_ANSWERS )
406+ @ JsonInclude (value = JsonInclude .Include .ALWAYS )
407+
408+ public List <QuestionAnswer > getQuestionAnswers () {
409+ return questionAnswers ;
410+ }
411+
412+
413+ @ JsonProperty (JSON_PROPERTY_QUESTION_ANSWERS )
414+ @ JsonInclude (value = JsonInclude .Include .ALWAYS )
415+ public void setQuestionAnswers (List <QuestionAnswer > questionAnswers ) {
416+ this .questionAnswers = questionAnswers ;
417+ }
418+
380419 @ Override
381420 public boolean equals (Object o ) {
382421 if (this == o ) {
@@ -395,7 +434,8 @@ public boolean equals(Object o) {
395434 Objects .equals (this .isTopSpeaker , speakerAll .isTopSpeaker ) &&
396435 Objects .equals (this .links , speakerAll .links ) &&
397436 Objects .equals (this .fullName , speakerAll .fullName ) &&
398- Objects .equals (this .sessions , speakerAll .sessions );
437+ Objects .equals (this .sessions , speakerAll .sessions ) &&
438+ Objects .equals (this .questionAnswers , speakerAll .questionAnswers );
399439 }
400440
401441 private static <T > boolean equalsNullable (JsonNullable <T > a , JsonNullable <T > b ) {
@@ -404,7 +444,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
404444
405445 @ Override
406446 public int hashCode () {
407- return Objects .hash (id , firstName , lastName , hashCodeNullable (bio ), tagLine , hashCodeNullable (profilePicture ), isTopSpeaker , links , fullName , sessions );
447+ return Objects .hash (id , firstName , lastName , hashCodeNullable (bio ), tagLine , hashCodeNullable (profilePicture ), isTopSpeaker , links , fullName , sessions , questionAnswers );
408448 }
409449
410450 private static <T > int hashCodeNullable (JsonNullable <T > a ) {
@@ -428,6 +468,7 @@ public String toString() {
428468 sb .append (" links: " ).append (toIndentedString (links )).append ("\n " );
429469 sb .append (" fullName: " ).append (toIndentedString (fullName )).append ("\n " );
430470 sb .append (" sessions: " ).append (toIndentedString (sessions )).append ("\n " );
471+ sb .append (" questionAnswers: " ).append (toIndentedString (questionAnswers )).append ("\n " );
431472 sb .append ("}" );
432473 return sb .toString ();
433474 }
@@ -579,6 +620,16 @@ public String toUrlQueryString(String prefix) {
579620 }
580621 }
581622
623+ // add `questionAnswers` to the URL query string
624+ if (getQuestionAnswers () != null ) {
625+ for (int i = 0 ; i < getQuestionAnswers ().size (); i ++) {
626+ if (getQuestionAnswers ().get (i ) != null ) {
627+ joiner .add (getQuestionAnswers ().get (i ).toUrlQueryString (String .format ("%squestionAnswers%s%s" , prefix , suffix ,
628+ "" .equals (suffix ) ? "" : String .format ("%s%d%s" , containerPrefix , i , containerSuffix ))));
629+ }
630+ }
631+ }
632+
582633 return joiner .toString ();
583634 }
584635
0 commit comments