/// <summary> /// Initializes a new instance of the <see cref="V1UpdateModifierOptionRequest" /> class. /// </summary> /// <param name="Body">An object containing the fields to POST for the request. See the corresponding object definition for field details. (required).</param> public V1UpdateModifierOptionRequest(V1ModifierOption Body = default(V1ModifierOption)) { // to ensure "Body" is required (not null) if (Body == null) { throw new InvalidDataException("Body is a required property for V1UpdateModifierOptionRequest and cannot be null"); } else { this.Body = Body; } }
/// <summary> /// Initializes a new instance of the <see cref="V1CreateModifierOptionRequest" /> class. /// </summary> /// <param name="Body">An object containing the fields to POST for the request. See the corresponding object definition for field details..</param> public V1CreateModifierOptionRequest(V1ModifierOption Body = default(V1ModifierOption)) { this.Body = Body; }