コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetDocxTableRowResponse" /> class.
 /// </summary>
 /// <param name="successful">True if successful, false otherwise.</param>
 /// <param name="rowResult">Contents of the table row that was requested.</param>
 public GetDocxTableRowResponse(bool?successful = default(bool?), DocxTableRow rowResult = default(DocxTableRow))
 {
     this.Successful = successful;
     this.RowResult  = rowResult;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InsertDocxTableRowRequest" /> class.
 /// </summary>
 /// <param name="inputFileBytes">Optional: Bytes of the input file to operate on.</param>
 /// <param name="inputFileUrl">Optional: URL of a file to operate on as input.  This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public)..</param>
 /// <param name="rowToInsert">Table you would like to insert.</param>
 /// <param name="insertPlacement">Optional; default is TableEnd.  Placement Type of the insert; possible values are: TableStart (very beginning of the table), TableEnd (very end of the document), or a 0-based row index number as an integer, 0 being the first row in the table, 1 being the second row in the table, 2 being the third row in the table, etc. to insert this row after.</param>
 /// <param name="existingTablePath">Required; the path to the existing table to modify.</param>
 public InsertDocxTableRowRequest(byte[] inputFileBytes = default(byte[]), string inputFileUrl = default(string), DocxTableRow rowToInsert = default(DocxTableRow), string insertPlacement = default(string), string existingTablePath = default(string))
 {
     this.InputFileBytes    = inputFileBytes;
     this.InputFileUrl      = inputFileUrl;
     this.RowToInsert       = rowToInsert;
     this.InsertPlacement   = insertPlacement;
     this.ExistingTablePath = existingTablePath;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateDocxTableRowRequest" /> class.
 /// </summary>
 /// <param name="inputFileBytes">Optional: Bytes of the input file to operate on.</param>
 /// <param name="inputFileUrl">Optional: URL of a file to operate on as input.  This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public)..</param>
 /// <param name="rowToUpdate">Table row contents you would like to update the row with.</param>
 /// <param name="tableRowIndex">0-based index of the Table Row to update.</param>
 /// <param name="existingTablePath">Required; the path to the existing table to modify.</param>
 public UpdateDocxTableRowRequest(byte[] inputFileBytes = default(byte[]), string inputFileUrl = default(string), DocxTableRow rowToUpdate = default(DocxTableRow), int?tableRowIndex = default(int?), string existingTablePath = default(string))
 {
     this.InputFileBytes    = inputFileBytes;
     this.InputFileUrl      = inputFileUrl;
     this.RowToUpdate       = rowToUpdate;
     this.TableRowIndex     = tableRowIndex;
     this.ExistingTablePath = existingTablePath;
 }