Skip to content

Commit

Permalink
Update data models (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: openactive-bot <[email protected]>
  • Loading branch information
openactive-bot and openactive-bot authored Mar 24, 2021
1 parent 6f9c875 commit 13c8b26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OpenActive.NET/models/BooleanFormFieldSpecification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ public override string ToString()
public override string Type => "BooleanFormFieldSpecification";

[Obsolete("This property is disinherited in this type, and must not be used.", true)]
public override string ValueRequired { get; set; }
public override bool? ValueRequired { get; set; }
}
}
2 changes: 1 addition & 1 deletion OpenActive.NET/models/PropertyValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ public override string ToString()
/// </example>
[DataMember(Name = "value", EmitDefaultValue = false, Order = 10)]
[JsonConverter(typeof(ValuesConverter))]
public new virtual SingleValues<long?, string> Value { get; set; }
public new virtual SingleValues<bool?, string> Value { get; set; }
}
}
2 changes: 1 addition & 1 deletion OpenActive.NET/models/PropertyValueSpecification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ public override string ToString()
/// </summary>
[DataMember(Name = "valueRequired", EmitDefaultValue = false, Order = 9)]
[JsonConverter(typeof(ValuesConverter))]
public new virtual string ValueRequired { get; set; }
public new virtual bool? ValueRequired { get; set; }
}
}

0 comments on commit 13c8b26

Please sign in to comment.