public override string ToPrettyString() { return("BasicCalendarEvent {" + ($"\n{nameof(Id)}: {Id}," + $"\n{nameof(Title)}: {Title}," + $"\n{nameof(StartAt)}: {StartAt}," + $"\n{nameof(EndAt)}: {EndAt}," + $"\n{nameof(Type)}: {Type}," + $"\n{nameof(Description)}: {Description}," + $"\n{nameof(ContextCode)}: {ContextCode}," + $"\n{nameof(EffectiveContextCode)}: {EffectiveContextCode}," + $"\n{nameof(AllContextCodes)}: {AllContextCodes.ToPrettyString()}," + $"\n{nameof(WorkflowState)}: {WorkflowState}," + $"\n{nameof(Hidden)}: {Hidden}," + $"\n{nameof(ParentEventId)}: {ParentEventId}," + $"\n{nameof(ChildEventsCount)}: {ChildEventsCount}," + $"\n{nameof(ChildEvents)}: {ChildEvents?.ToPrettyString()}," + $"\n{nameof(Url)}: {Url}," + $"\n{nameof(HtmlUrl)}: {HtmlUrl}," + $"\n{nameof(AllDayDate)}: {AllDayDate}," + $"\n{nameof(AllDay)}: {AllDay}," + $"\n{nameof(CreatedAt)}: {CreatedAt}," + $"\n{nameof(UpdatedAt)}: {UpdatedAt}," + $"\n{nameof(LocationAddress)}: {LocationAddress}," + $"\n{nameof(LocationName)}: {LocationName}").Indent(4) + "\n}"); }
public override string ToPrettyString() { return("TimeSlotCalendarEvent {" + ($"\n{nameof(Id)}: {Id}," + $"\n{nameof(Title)}: {Title}," + $"\n{nameof(StartAt)}: {StartAt}," + $"\n{nameof(EndAt)}: {EndAt}," + $"\n{nameof(Type)}: {Type}," + $"\n{nameof(Description)}: {Description}," + $"\n{nameof(ContextCode)}: {ContextCode}," + $"\n{nameof(EffectiveContextCode)}: {EffectiveContextCode}," + $"\n{nameof(AllContextCodes)}: {AllContextCodes.ToPrettyString()}," + $"\n{nameof(WorkflowState)}: {WorkflowState}," + $"\n{nameof(Hidden)}: {Hidden}," + $"\n{nameof(ParentEventId)}: {ParentEventId}," + $"\n{nameof(ChildEventsCount)}: {ChildEventsCount}," + $"\n{nameof(ChildEvents)}: {ChildEvents?.ToPrettyString()}," + $"\n{nameof(Url)}: {Url}," + $"\n{nameof(HtmlUrl)}: {HtmlUrl}," + $"\n{nameof(AllDayDate)}: {AllDayDate}," + $"\n{nameof(AllDay)}: {AllDay}," + $"\n{nameof(CreatedAt)}: {CreatedAt}," + $"\n{nameof(UpdatedAt)}: {UpdatedAt}," + $"\n{nameof(LocationAddress)}: {LocationAddress}," + $"\n{nameof(LocationName)}: {LocationName}," + $"\n{nameof(AppointmentGroupId)}: {AppointmentGroupId}," + $"\n{nameof(AppointmentGroupUrl)}: {AppointmentGroupUrl}," + $"\n{nameof(CanManageAppointmentGroup)}: {CanManageAppointmentGroup}," + $"\n{nameof(ReserveUrl)}: {ReserveUrl}," + $"\n{nameof(Reserved)}: {Reserved}," + $"\n{nameof(ParticipantsPerAppointment)}: {ParticipantsPerAppointment}," + $"\n{nameof(Reservations)}: {Reservations?.ToPrettyString()},").Indent(4) + "\n}"); }