Example #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// ConnectionCreateOrUpdateParameters class.
 /// </summary>
 /// <param name="name">Gets or sets the name of the connection.</param>
 /// <param name="connectionType">Gets or sets the connectionType of the
 /// connection.</param>
 /// <param name="description">Gets or sets the description of the
 /// connection.</param>
 /// <param name="fieldDefinitionValues">Gets or sets the field
 /// definition properties of the connection.</param>
 public ConnectionCreateOrUpdateParameters(string name, ConnectionTypeAssociationProperty connectionType, string description = default(string), IDictionary <string, string> fieldDefinitionValues = default(IDictionary <string, string>))
 {
     Name                  = name;
     Description           = description;
     ConnectionType        = connectionType;
     FieldDefinitionValues = fieldDefinitionValues;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ConnectionCreateOrUpdateProperties class with required arguments.
 /// </summary>
 public ConnectionCreateOrUpdateProperties(ConnectionTypeAssociationProperty connectionType)
     : this()
 {
     if (connectionType == null)
     {
         throw new ArgumentNullException("connectionType");
     }
     this.ConnectionType = connectionType;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ConnectionCreateOrUpdateProperties class with required arguments.
 /// </summary>
 public ConnectionCreateOrUpdateProperties(ConnectionTypeAssociationProperty connectionType)
     : this()
 {
     if (connectionType == null)
     {
         throw new ArgumentNullException("connectionType");
     }
     this.ConnectionType = connectionType;
 }
 /// <summary>
 /// Initializes a new instance of the Connection class.
 /// </summary>
 /// <param name="id">Fully qualified resource Id for the
 /// resource</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="connectionType">Gets or sets the connectionType of the
 /// connection.</param>
 /// <param name="fieldDefinitionValues">Gets the field definition
 /// values of the connection.</param>
 /// <param name="creationTime">Gets the creation time.</param>
 /// <param name="lastModifiedTime">Gets the last modified time.</param>
 /// <param name="description">Gets or sets the description.</param>
 public Connection(string id = default(string), string name = default(string), string type = default(string), ConnectionTypeAssociationProperty connectionType = default(ConnectionTypeAssociationProperty), IDictionary <string, string> fieldDefinitionValues = default(IDictionary <string, string>), System.DateTimeOffset creationTime = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), string description = default(string))
     : base(id, name, type)
 {
     ConnectionType        = connectionType;
     FieldDefinitionValues = fieldDefinitionValues;
     CreationTime          = creationTime;
     LastModifiedTime      = lastModifiedTime;
     Description           = description;
     CustomInit();
 }