Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
192 changes: 186 additions & 6 deletions OpenActive.NET/enums/PropertyEnumeration.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion OpenActive.NET/enums/TestOpenBookingFlowEnumeration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace OpenActive.NET
{
/// <summary>
/// [NOTICE: This enumeration is part of the Open Booking API Test Interface, and MUST NOT be used in production.]
/// An enumeration of open booking flows that an opportunity can be booked with.
/// An enumeration of [open booking flow](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#booking-flows) that an [Opportunity and Offer pair](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#definition-of-a-bookable-opportunity-and-offer-pair) can be booked with.
/// </summary>
public enum TestOpenBookingFlowEnumeration
{
Expand Down
4 changes: 2 additions & 2 deletions OpenActive.NET/models/BookingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public override string ToString()
/// </summary>
[DataMember(Name = "hasCredential", EmitDefaultValue = false, Order = 8)]
[JsonConverter(typeof(ValuesConverter))]
public virtual Uri HasCredential { get; set; }
public new virtual Uri HasCredential { get; set; }

/// <summary>
/// The version of the application, useful for on-premise installations. Note this property is in EARLY RELEASE AND IS SUBJECT TO CHANGE, as the [Dataset API Discovery specification](https://openactive.io/dataset-api-discovery/EditorsDraft/) evolves.
Expand All @@ -70,7 +70,7 @@ public override string ToString()
/// </summary>
[DataMember(Name = "termsOfService", EmitDefaultValue = false, Order = 10)]
[JsonConverter(typeof(ValuesConverter))]
public virtual List<Terms> TermsOfService { get; set; }
public new virtual List<Terms> TermsOfService { get; set; }

/// <summary>
/// The URL of the website of the Booking System.
Expand Down
4 changes: 2 additions & 2 deletions OpenActive.NET/models/Course.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public override string ToString()
public virtual List<Concept> AccessibilitySupport { get; set; }

/// <summary>
/// Specifies the physical activity or activities that will take place during a Course.
/// Specifies the physical activity or activities associated with this resource.
/// </summary>
/// <example>
/// <code>
Expand All @@ -135,7 +135,7 @@ public override string ToString()
public virtual List<Concept> Activity { get; set; }

/// <summary>
/// Indicates that an event is recommended as being suitable for or is targetted at a specific age range.
/// Indicates that this resource is recommended as being suitable for, or is targeted at, a specific age range.
/// </summary>
/// <example>
/// <code>
Expand Down
2 changes: 1 addition & 1 deletion OpenActive.NET/models/CourseInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override string ToString()
/// </example>
[DataMember(Name = "eventSchedule", EmitDefaultValue = false, Order = 7)]
[JsonConverter(typeof(ValuesConverter))]
public virtual List<Schedule> EventSchedule { get; set; }
public new virtual List<Schedule> EventSchedule { get; set; }

/// <summary>
/// The description of the Course for which this is a distinct instance.
Expand Down
2 changes: 1 addition & 1 deletion OpenActive.NET/models/Dataset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public override string ToString()
/// </example>
[DataMember(Name = "documentation", EmitDefaultValue = false, Order = 16)]
[JsonConverter(typeof(ValuesConverter))]
public virtual Uri Documentation { get; set; }
public new virtual Uri Documentation { get; set; }

/// <summary>
/// An array of languages included in the Dataset's content. Please use one of the language codes from the IETF BCP 47 standard.
Expand Down
9 changes: 5 additions & 4 deletions OpenActive.NET/models/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
/// </example>
[DataMember(Name = "eventAttendanceMode", EmitDefaultValue = false, Order = 21)]
[JsonConverter(typeof(ValuesConverter))]
public virtual EventAttendanceModeEnumeration? EventAttendanceMode { get; set; }
public new virtual EventAttendanceModeEnumeration? EventAttendanceMode { get; set; }

/// <summary>
/// The status of an event. Can be used to indicate rescheduled or cancelled events
Expand Down Expand Up @@ -436,7 +436,7 @@
/// </example>
[DataMember(Name = "maximumVirtualAttendeeCapacity", EmitDefaultValue = false, Order = 32)]
[JsonConverter(typeof(ValuesConverter))]
public virtual long? MaximumVirtualAttendeeCapacity { get; set; }
public new virtual long? MaximumVirtualAttendeeCapacity { get; set; }

/// <summary>
/// Instructions for the attendees of an Event about where they should meet the organizer or leader at the start of the event. Some larger locations may have several possible meeting points, so this property provides additional more specific directions.
Expand All @@ -462,7 +462,7 @@
/// "name": "Adult",
/// "price": 3.3,
/// "priceCurrency": "GBP",
/// "url": "https://profile.everyoneactive.com/booking?Site=0140&Activities=1402CBP20150217&Culture=en-GB"

Check warning on line 465 in OpenActive.NET/models/Event.cs

View workflow job for this annotation

GitHub Actions / test

XML comment has badly formed XML -- 'Reference to undefined entity 'Culture'.'

Check warning on line 465 in OpenActive.NET/models/Event.cs

View workflow job for this annotation

GitHub Actions / test

XML comment has badly formed XML -- 'Reference to undefined entity 'Activities'.'
/// }
/// ]
/// </code>
Expand Down Expand Up @@ -529,7 +529,7 @@
public virtual string SchedulingNote { get; set; }

/// <summary>
/// The start date and time of the event. Can be specified as a schema:Date or schema:DateTime.
/// The start date and time of the event. Can be specified as a schema:DateTime.
/// </summary>
/// <example>
/// <code>
Expand All @@ -541,7 +541,7 @@
public new virtual DateTimeValue StartDate { get; set; }

/// <summary>
/// The end date and time of the event. Can be specified as a schema:Date or schema:DateTime
/// The end date and time of the event. Can be specified as a schema:DateTime
/// It is recommended that publishers provide either an schema:endDate or a schema:duration for an event.
/// </summary>
/// <example>
Expand Down Expand Up @@ -781,6 +781,7 @@

/// <summary>
/// [NOTICE: This property is part of the Open Booking API Test Interface, and MUST NOT be used in production.]
/// The [open booking flow](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#booking-flows) that a created [Opportunity and Offer pair](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#definition-of-a-bookable-opportunity-and-offer-pair) should support.
/// </summary>
[DataMember(Name = "test:testOpenBookingFlow", EmitDefaultValue = false, Order = 1064)]
[JsonConverter(typeof(ValuesConverter))]
Expand Down
2 changes: 1 addition & 1 deletion OpenActive.NET/models/EventSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace OpenActive.NET
{
/// <summary>
/// This type is derived from https://pending.schema.org/EventSeries.
/// This type is derived from https://schema.org/EventSeries, which means that any of this type's properties within schema.org may also be used.
/// </summary>
[DataContract]
public partial class EventSeries : Event
Expand Down
2 changes: 1 addition & 1 deletion OpenActive.NET/models/FacilityUse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public override string ToString()
/// </example>
[DataMember(Name = "provider", EmitDefaultValue = false, Order = 25)]
[JsonConverter(typeof(ValuesConverter))]
public virtual Organization Provider { get; set; }
public new virtual Organization Provider { get; set; }

/// <summary>
/// A URL to a web page (or section of a page) that describes the facility use.
Expand Down
Loading
Loading