@@ -69,17 +69,20 @@ protected CalendarEvent() { }
6969 /// <param name="interestedUserCount">interestedUserCount.</param>
7070 /// <param name="isDraft">isDraft.</param>
7171 /// <param name="languages">Languages that might be spoken at this event.</param>
72+ /// <param name="occurrenceKind">So far if it exists, always the string \"single\".</param>
7273 /// <param name="ownerId">ownerId.</param>
7374 /// <param name="platforms">platforms.</param>
75+ /// <param name="recurrence">So far unused, always \"null\".</param>
7476 /// <param name="roleIds">Group roles that may join this event.</param>
77+ /// <param name="seriesId">So far unused, always \"null\".</param>
7578 /// <param name="startsAt">startsAt (required).</param>
7679 /// <param name="tags">Custom tags for this event.</param>
7780 /// <param name="title">title (required).</param>
7881 /// <param name="type">type.</param>
7982 /// <param name="updatedAt">updatedAt.</param>
8083 /// <param name="userInterest">userInterest.</param>
8184 /// <param name="usesInstanceOverflow">usesInstanceOverflow.</param>
82- public CalendarEvent ( CalendarEventAccess accessType = default , CalendarEventCategory category = default , int closeInstanceAfterEndMinutes = default , DateTime createdAt = default , DateTime ? deletedAt = default , string description = default , int durationInMs = default , DateTime endsAt = default , bool featured = default , int guestEarlyJoinMinutes = default , int hostEarlyJoinMinutes = default , string id = default , string imageId = default , string imageUrl = default , int interestedUserCount = default , bool isDraft = default , List < string > languages = default , string ownerId = default , List < CalendarEventPlatform > platforms = default , List < string > roleIds = default , DateTime startsAt = default , List < string > tags = default , string title = default , string type = default , DateTime updatedAt = default , CalendarEventUserInterest userInterest = default , bool usesInstanceOverflow = default )
85+ public CalendarEvent ( CalendarEventAccess accessType = default , CalendarEventCategory category = default , int closeInstanceAfterEndMinutes = default , DateTime createdAt = default , DateTime ? deletedAt = default , string description = default , int durationInMs = default , DateTime endsAt = default , bool featured = default , int guestEarlyJoinMinutes = default , int hostEarlyJoinMinutes = default , string id = default , string imageId = default , string imageUrl = default , int interestedUserCount = default , bool isDraft = default , List < string > languages = default , string occurrenceKind = default , string ownerId = default , List < CalendarEventPlatform > platforms = default , string recurrence = default , List < string > roleIds = default , string seriesId = default , DateTime startsAt = default , List < string > tags = default , string title = default , string type = default , DateTime updatedAt = default , CalendarEventUserInterest userInterest = default , bool usesInstanceOverflow = default )
8386 {
8487 this . AccessType = accessType ;
8588 this . Category = category ;
@@ -115,9 +118,12 @@ public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCate
115118 this . InterestedUserCount = interestedUserCount ;
116119 this . IsDraft = isDraft ;
117120 this . Languages = languages ;
121+ this . OccurrenceKind = occurrenceKind ;
118122 this . OwnerId = ownerId ;
119123 this . Platforms = platforms ;
124+ this . Recurrence = recurrence ;
120125 this . RoleIds = roleIds ;
126+ this . SeriesId = seriesId ;
121127 this . Tags = tags ;
122128 this . Type = type ;
123129 this . UpdatedAt = updatedAt ;
@@ -222,6 +228,13 @@ public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCate
222228 [ DataMember ( Name = "languages" , EmitDefaultValue = false ) ]
223229 public List < string > Languages { get ; set ; }
224230
231+ /// <summary>
232+ /// So far if it exists, always the string \"single\"
233+ /// </summary>
234+ /// <value>So far if it exists, always the string \"single\"</value>
235+ [ DataMember ( Name = "occurrenceKind" , EmitDefaultValue = false ) ]
236+ public string OccurrenceKind { get ; set ; }
237+
225238 /// <summary>
226239 /// Gets or Sets OwnerId
227240 /// </summary>
@@ -237,13 +250,27 @@ public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCate
237250 [ DataMember ( Name = "platforms" , EmitDefaultValue = false ) ]
238251 public List < CalendarEventPlatform > Platforms { get ; set ; }
239252
253+ /// <summary>
254+ /// So far unused, always \"null\"
255+ /// </summary>
256+ /// <value>So far unused, always \"null\"</value>
257+ [ DataMember ( Name = "recurrence" , EmitDefaultValue = true ) ]
258+ public string Recurrence { get ; set ; }
259+
240260 /// <summary>
241261 /// Group roles that may join this event
242262 /// </summary>
243263 /// <value>Group roles that may join this event</value>
244264 [ DataMember ( Name = "roleIds" , EmitDefaultValue = true ) ]
245265 public List < string > RoleIds { get ; set ; }
246266
267+ /// <summary>
268+ /// So far unused, always \"null\"
269+ /// </summary>
270+ /// <value>So far unused, always \"null\"</value>
271+ [ DataMember ( Name = "seriesId" , EmitDefaultValue = true ) ]
272+ public string SeriesId { get ; set ; }
273+
247274 /// <summary>
248275 /// Gets or Sets StartsAt
249276 /// </summary>
@@ -315,9 +342,12 @@ public override string ToString()
315342 sb . Append ( " InterestedUserCount: " ) . Append ( InterestedUserCount ) . Append ( "\n " ) ;
316343 sb . Append ( " IsDraft: " ) . Append ( IsDraft ) . Append ( "\n " ) ;
317344 sb . Append ( " Languages: " ) . Append ( Languages ) . Append ( "\n " ) ;
345+ sb . Append ( " OccurrenceKind: " ) . Append ( OccurrenceKind ) . Append ( "\n " ) ;
318346 sb . Append ( " OwnerId: " ) . Append ( OwnerId ) . Append ( "\n " ) ;
319347 sb . Append ( " Platforms: " ) . Append ( Platforms ) . Append ( "\n " ) ;
348+ sb . Append ( " Recurrence: " ) . Append ( Recurrence ) . Append ( "\n " ) ;
320349 sb . Append ( " RoleIds: " ) . Append ( RoleIds ) . Append ( "\n " ) ;
350+ sb . Append ( " SeriesId: " ) . Append ( SeriesId ) . Append ( "\n " ) ;
321351 sb . Append ( " StartsAt: " ) . Append ( StartsAt ) . Append ( "\n " ) ;
322352 sb . Append ( " Tags: " ) . Append ( Tags ) . Append ( "\n " ) ;
323353 sb . Append ( " Title: " ) . Append ( Title ) . Append ( "\n " ) ;
@@ -437,6 +467,11 @@ public bool Equals(CalendarEvent input)
437467 input . Languages != null &&
438468 this . Languages . SequenceEqual ( input . Languages )
439469 ) &&
470+ (
471+ this . OccurrenceKind == input . OccurrenceKind ||
472+ ( this . OccurrenceKind != null &&
473+ this . OccurrenceKind . Equals ( input . OccurrenceKind ) )
474+ ) &&
440475 (
441476 this . OwnerId == input . OwnerId ||
442477 ( this . OwnerId != null &&
@@ -448,12 +483,22 @@ public bool Equals(CalendarEvent input)
448483 input . Platforms != null &&
449484 this . Platforms . SequenceEqual ( input . Platforms )
450485 ) &&
486+ (
487+ this . Recurrence == input . Recurrence ||
488+ ( this . Recurrence != null &&
489+ this . Recurrence . Equals ( input . Recurrence ) )
490+ ) &&
451491 (
452492 this . RoleIds == input . RoleIds ||
453493 this . RoleIds != null &&
454494 input . RoleIds != null &&
455495 this . RoleIds . SequenceEqual ( input . RoleIds )
456496 ) &&
497+ (
498+ this . SeriesId == input . SeriesId ||
499+ ( this . SeriesId != null &&
500+ this . SeriesId . Equals ( input . SeriesId ) )
501+ ) &&
457502 (
458503 this . StartsAt == input . StartsAt ||
459504 ( this . StartsAt != null &&
@@ -541,6 +586,10 @@ public override int GetHashCode()
541586 {
542587 hashCode = ( hashCode * 59 ) + this . Languages . GetHashCode ( ) ;
543588 }
589+ if ( this . OccurrenceKind != null )
590+ {
591+ hashCode = ( hashCode * 59 ) + this . OccurrenceKind . GetHashCode ( ) ;
592+ }
544593 if ( this . OwnerId != null )
545594 {
546595 hashCode = ( hashCode * 59 ) + this . OwnerId . GetHashCode ( ) ;
@@ -549,10 +598,18 @@ public override int GetHashCode()
549598 {
550599 hashCode = ( hashCode * 59 ) + this . Platforms . GetHashCode ( ) ;
551600 }
601+ if ( this . Recurrence != null )
602+ {
603+ hashCode = ( hashCode * 59 ) + this . Recurrence . GetHashCode ( ) ;
604+ }
552605 if ( this . RoleIds != null )
553606 {
554607 hashCode = ( hashCode * 59 ) + this . RoleIds . GetHashCode ( ) ;
555608 }
609+ if ( this . SeriesId != null )
610+ {
611+ hashCode = ( hashCode * 59 ) + this . SeriesId . GetHashCode ( ) ;
612+ }
556613 if ( this . StartsAt != null )
557614 {
558615 hashCode = ( hashCode * 59 ) + this . StartsAt . GetHashCode ( ) ;
0 commit comments