/// <summary> /// Initializes a new instance of the <see cref="V1UpdateVariationRequest" /> 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 V1UpdateVariationRequest(V1Variation Body = default(V1Variation)) { // to ensure "Body" is required (not null) if (Body == null) { throw new InvalidDataException("Body is a required property for V1UpdateVariationRequest and cannot be null"); } else { this.Body = Body; } }
/// <summary> /// Initializes a new instance of the <see cref="V1CreateVariationRequest" /> 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 V1CreateVariationRequest(V1Variation Body = default(V1Variation)) { this.Body = Body; }