コード例 #1
0
 /// <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;
     }
 }
コード例 #2
0
 /// <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;
 }