/// <summary>
 /// Initializes a new instance of the OutputProperties class with
 /// required arguments.
 /// </summary>
 public OutputProperties(OutputDataSource dataSource)
     : this()
 {
     if (dataSource == null)
     {
         throw new ArgumentNullException("dataSource");
     }
     this.DataSource = dataSource;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Output class.
 /// </summary>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="datasource">Describes the data source that output will
 /// be written to. Required on PUT (CreateOrReplace) requests.</param>
 /// <param name="serialization">Describes how data from an input is
 /// serialized or how data is serialized when written to an output.
 /// Required on PUT (CreateOrReplace) requests.</param>
 /// <param name="diagnostics">Describes conditions applicable to the
 /// Input, Output, or the job overall, that warrant customer
 /// attention.</param>
 /// <param name="etag">The current entity tag for the output. This is
 /// an opaque string. You can use it to detect whether the resource has
 /// changed between requests. You can also use it in the If-Match or
 /// If-None-Match headers for write operations for optimistic
 /// concurrency.</param>
 public Output(string id = default(string), string name = default(string), string type = default(string), OutputDataSource datasource = default(OutputDataSource), Serialization serialization = default(Serialization), Diagnostics diagnostics = default(Diagnostics), string etag = default(string))
     : base(id, name, type)
 {
     Datasource    = datasource;
     Serialization = serialization;
     Diagnostics   = diagnostics;
     Etag          = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the OutputProperties class with
 /// required arguments.
 /// </summary>
 public OutputProperties(OutputDataSource dataSource)
     : this()
 {
     if (dataSource == null)
     {
         throw new ArgumentNullException("dataSource");
     }
     this.DataSource = dataSource;
 }