/// <summary>
 /// Initializes a new instance of the <see cref="SaveAsRangeRequest"/> class.
 /// </summary>
 /// <param name="name">The filename of the input document.</param>
 /// <param name="rangeStartIdentifier">The range start identifier.</param>
 /// <param name="documentParameters">Parameters of a new document.</param>
 /// <param name="rangeEndIdentifier">The range end identifier.</param>
 /// <param name="folder">Original document folder.</param>
 /// <param name="storage">Original document storage.</param>
 /// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
 /// <param name="password">Password for opening an encrypted document.</param>
 public SaveAsRangeRequest(string name, string rangeStartIdentifier, RangeDocument documentParameters, string rangeEndIdentifier = null, string folder = null, string storage = null, string loadEncoding = null, string password = null)
 {
     this.Name = name;
     this.RangeStartIdentifier = rangeStartIdentifier;
     this.DocumentParameters   = documentParameters;
     this.RangeEndIdentifier   = rangeEndIdentifier;
     this.Folder       = folder;
     this.Storage      = storage;
     this.LoadEncoding = loadEncoding;
     this.Password     = password;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SaveAsRangeOnlineRequest"/> class.
 /// </summary>
 /// <param name="document">The document.</param>
 /// <param name="rangeStartIdentifier">The range start identifier.</param>
 /// <param name="documentParameters">Parameters of a new document.</param>
 /// <param name="rangeEndIdentifier">The range end identifier.</param>
 /// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
 /// <param name="password">Password for opening an encrypted document.</param>
 public SaveAsRangeOnlineRequest(System.IO.Stream document, string rangeStartIdentifier, RangeDocument documentParameters, string rangeEndIdentifier = null, string loadEncoding = null, string password = null)
 {
     this.Document             = document;
     this.RangeStartIdentifier = rangeStartIdentifier;
     this.DocumentParameters   = documentParameters;
     this.RangeEndIdentifier   = rangeEndIdentifier;
     this.LoadEncoding         = loadEncoding;
     this.Password             = password;
 }