Class FileUploadProperties
public class FileUploadProperties : IInteractiveComponentProperties, ILabelComponentProperties, IComponentProperties, IJsonSerializable<ILabelComponentProperties>
- Inheritance
-
FileUploadProperties
- Implements
- Inherited Members
Constructors
FileUploadProperties(string)
public FileUploadProperties(string customId)
Parameters
customIdstring
Properties
ComponentType
Type of the component.
[JsonPropertyName("type")]
public ComponentType ComponentType { get; }
Property Value
CustomId
Developer-defined identifier for the component (max 100 characters).
[JsonPropertyName("custom_id")]
public string CustomId { get; set; }
Property Value
Id
Unique identifier for the component. Auto populated through increment if not provided.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("id")]
public int? Id { get; set; }
Property Value
- int?
MaxValues
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("max_values")]
public int? MaxValues { get; set; }
Property Value
- int?
MinValues
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("min_values")]
public int? MinValues { get; set; }
Property Value
- int?
Required
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("required")]
public bool? Required { get; set; }
Property Value
- bool?
Methods
WithCustomId(string)
Developer-defined identifier for the component (max 100 characters).
public FileUploadProperties WithCustomId(string customId)
Parameters
customIdstring
Returns
WithId(int?)
Unique identifier for the component. Auto populated through increment if not provided.
public FileUploadProperties WithId(int? id)
Parameters
idint?
Returns
WithMaxValues(int?)
public FileUploadProperties WithMaxValues(int? maxValues)
Parameters
maxValuesint?
Returns
WithMinValues(int?)
public FileUploadProperties WithMinValues(int? minValues)
Parameters
minValuesint?
Returns
WithRequired(bool?)
public FileUploadProperties WithRequired(bool? required = true)
Parameters
requiredbool?