Remove With_ methods

This commit is contained in:
Oliver Booth 2022-12-06 13:27:56 +00:00
parent 35684cccca
commit 7422a663af
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
1 changed files with 1 additions and 37 deletions

View File

@ -1,5 +1,4 @@
using System.Numerics;
using VpSharp.Internal;
using VpSharp.Internal;
using static VpSharp.Internal.NativeAttributes.StringAttribute;
using static VpSharp.Internal.NativeMethods;
@ -37,41 +36,6 @@ public sealed class VirtualParadiseModelObjectBuilder : VirtualParadiseObjectBui
/// <value>The value of this object's <c>Model</c> field, or <see langword="null" /> to leave unchanged.</value>
public Optional<string> Model { get; set; }
/// <summary>
/// Sets the value of this object's <c>Action</c> field.
/// </summary>
/// <param name="action">The new value of the <c>Action</c> field, or <see langword="null" /> to leave unchanged.</param>
/// <returns>The current instance of this builder.</returns>
public VirtualParadiseModelObjectBuilder WithAction(Optional<string> action)
{
Action = action;
return this;
}
/// <summary>
/// Sets the value of this object's <c>Description</c> field.
/// </summary>
/// <param name="description">
/// The new value of the <c>Description</c> field, or <see langword="null" /> to leave unchanged.
/// </param>
/// <returns>The current instance of this builder.</returns>
public VirtualParadiseModelObjectBuilder WithDescription(Optional<string> description)
{
Description = description;
return this;
}
/// <summary>
/// Sets the value of this object's <c>Model</c> field.
/// </summary>
/// <param name="model">The new value of the <c>Model</c> field, or <see langword="null" /> to leave unchanged.</param>
/// <returns>The current instance of this builder.</returns>
public VirtualParadiseModelObjectBuilder WithModel(Optional<string> model)
{
Model = model;
return this;
}
internal override void ApplyChanges()
{
base.ApplyChanges();