/// <summary> /// Initializes a new instance of the <see cref="ClientUiNodeAnchorAttributes" /> class. /// </summary> /// <param name="href">The link's href (destination) URL. format: uri (required).</param> /// <param name="title">title (required).</param> public ClientUiNodeAnchorAttributes(string href = default(string), ClientUiText title = default(ClientUiText)) { // to ensure "href" is required (not null) this.Href = href ?? throw new ArgumentNullException("href is a required property for ClientUiNodeAnchorAttributes and cannot be null"); // to ensure "title" is required (not null) this.Title = title ?? throw new ArgumentNullException("title is a required property for ClientUiNodeAnchorAttributes and cannot be null"); this.AdditionalProperties = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="ClientUiNodeInputAttributes" /> class. /// </summary> /// <param name="disabled">Sets the input's disabled field to true or false. (required).</param> /// <param name="label">label.</param> /// <param name="name">The input's element name. (required).</param> /// <param name="pattern">The input's pattern..</param> /// <param name="required">Mark this input field as required..</param> /// <param name="type">type (required).</param> /// <param name="value">The input's value..</param> public ClientUiNodeInputAttributes(bool disabled = default(bool), ClientUiText label = default(ClientUiText), string name = default(string), string pattern = default(string), bool required = default(bool), string type = default(string), Object value = default(Object)) { this.Disabled = disabled; // to ensure "name" is required (not null) this.Name = name ?? throw new ArgumentNullException("name is a required property for ClientUiNodeInputAttributes and cannot be null"); // to ensure "type" is required (not null) this.Type = type ?? throw new ArgumentNullException("type is a required property for ClientUiNodeInputAttributes and cannot be null"); this.Label = label; this.Pattern = pattern; this.Required = required; this.Value = value; this.AdditionalProperties = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="ClientUiNodeMeta" /> class. /// </summary> /// <param name="label">label.</param> public ClientUiNodeMeta(ClientUiText label = default(ClientUiText)) { this.Label = label; this.AdditionalProperties = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="ClientUiNodeTextAttributes" /> class. /// </summary> /// <param name="text">text (required).</param> public ClientUiNodeTextAttributes(ClientUiText text = default(ClientUiText)) { // to ensure "text" is required (not null) this.Text = text ?? throw new ArgumentNullException("text is a required property for ClientUiNodeTextAttributes and cannot be null"); this.AdditionalProperties = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="ClientUiNodeAnchorAttributes" /> class. /// </summary> /// <param name="href">The link's href (destination) URL. format: uri (required).</param> /// <param name="id">A unique identifier (required).</param> /// <param name="nodeType">nodeType (required).</param> /// <param name="title">title (required).</param> public ClientUiNodeAnchorAttributes(string href = default(string), string id = default(string), string nodeType = default(string), ClientUiText title = default(ClientUiText)) { // to ensure "href" is required (not null) if (href == null) { throw new ArgumentNullException("href is a required property for ClientUiNodeAnchorAttributes and cannot be null"); } this.Href = href; // to ensure "id" is required (not null) if (id == null) { throw new ArgumentNullException("id is a required property for ClientUiNodeAnchorAttributes and cannot be null"); } this.Id = id; // to ensure "nodeType" is required (not null) if (nodeType == null) { throw new ArgumentNullException("nodeType is a required property for ClientUiNodeAnchorAttributes and cannot be null"); } this.NodeType = nodeType; // to ensure "title" is required (not null) if (title == null) { throw new ArgumentNullException("title is a required property for ClientUiNodeAnchorAttributes and cannot be null"); } this.Title = title; this.AdditionalProperties = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="ClientUiNodeTextAttributes" /> class. /// </summary> /// <param name="id">A unique identifier (required).</param> /// <param name="nodeType">nodeType (required).</param> /// <param name="text">text (required).</param> public ClientUiNodeTextAttributes(string id = default(string), string nodeType = default(string), ClientUiText text = default(ClientUiText)) { // to ensure "id" is required (not null) if (id == null) { throw new ArgumentNullException("id is a required property for ClientUiNodeTextAttributes and cannot be null"); } this.Id = id; // to ensure "nodeType" is required (not null) if (nodeType == null) { throw new ArgumentNullException("nodeType is a required property for ClientUiNodeTextAttributes and cannot be null"); } this.NodeType = nodeType; // to ensure "text" is required (not null) if (text == null) { throw new ArgumentNullException("text is a required property for ClientUiNodeTextAttributes and cannot be null"); } this.Text = text; this.AdditionalProperties = new Dictionary <string, object>(); }