/// <summary>
 /// Initializes a new instance of the <see cref="TemplatedPAComponentUpdateParameters" /> class.
 /// </summary>
 /// <param name="parentTemplateId">Parent template id.</param>
 /// <param name="description">Component description..</param>
 /// <param name="componentData">componentData.</param>
 public TemplatedPAComponentUpdateParameters(string parentTemplateId = default(string), string description = default(string), PAComponentData componentData = default(PAComponentData))
 {
     this.ParentTemplateId = parentTemplateId;
     this.Description      = description;
     this.ComponentData    = componentData;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplatedPAComponent" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="directory">directory.</param>
 /// <param name="snapshot">snapshot.</param>
 /// <param name="componentData">componentData.</param>
 /// <param name="description">description.</param>
 /// <param name="name">name.</param>
 /// <param name="parentTemplateId">parentTemplateId.</param>
 /// <param name="type">type.</param>
 public TemplatedPAComponent(string id = default(string), string directory = default(string), bool snapshot = default(bool), PAComponentData componentData = default(PAComponentData), string description = default(string), string name = default(string), string parentTemplateId = default(string), string type = default(string))
 {
     this.Id               = id;
     this.Directory        = directory;
     this.Snapshot         = snapshot;
     this.ComponentData    = componentData;
     this.Description      = description;
     this.Name             = name;
     this.ParentTemplateId = parentTemplateId;
     this.Type             = type;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplatedPAComponentParameters" /> class.
 /// </summary>
 /// <param name="directory">Directory to create templated components (required).</param>
 /// <param name="parentTemplateId">Parent template id (required).</param>
 /// <param name="description">Component description..</param>
 /// <param name="componentData">componentData.</param>
 public TemplatedPAComponentParameters(string directory = default(string), string parentTemplateId = default(string), string description = default(string), PAComponentData componentData = default(PAComponentData))
 {
     // to ensure "directory" is required (not null)
     this.Directory = directory ?? throw new ArgumentNullException("directory is a required property for TemplatedPAComponentParameters and cannot be null");
     // to ensure "parentTemplateId" is required (not null)
     this.ParentTemplateId = parentTemplateId ?? throw new ArgumentNullException("parentTemplateId is a required property for TemplatedPAComponentParameters and cannot be null");
     this.Description      = description;
     this.ComponentData    = componentData;
 }