2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
7 namespace Handbrake.Model
\r
15 /// Gets or sets the job ID.
\r
17 public int Id { get; set; }
\r
20 /// Gets or sets the selected Title.
\r
22 public int Title { get; set; }
\r
25 /// Gets or sets the query string.
\r
27 public string Query { get; set; }
\r
30 /// Gets or sets a value indicating whether if this is a user or GUI generated query
\r
32 public bool CustomQuery { get; set; }
\r
35 /// Gets or sets the source file of encoding.
\r
37 public string Source { get; set; }
\r
40 /// Gets or sets the destination for the file to be encoded.
\r
42 public string Destination { get; set; }
\r
45 /// Gets a value indicating whether or not this instance is empty.
\r
51 return this.Id == 0 && string.IsNullOrEmpty(this.Query) && string.IsNullOrEmpty(this.Source) &&
\r
52 string.IsNullOrEmpty(this.Destination);
\r