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