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