Class FileUploadProperties
public class FileUploadProperties : IInteractiveComponentProperties, ILabelComponentProperties, IComponentProperties, IJsonSerializable<ILabelComponentProperties>
- Inheritance
-
FileUploadProperties
- Implements
- Inherited Members
Constructors
FileUploadProperties(string)
public FileUploadProperties(string customId)
Parameters
customId
string
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
customId
string
Returns
WithId(int?)
Unique identifier for the component. Auto populated through increment if not provided.
public FileUploadProperties WithId(int? id)
Parameters
id
int?
Returns
WithMaxValues(int?)
public FileUploadProperties WithMaxValues(int? maxValues)
Parameters
maxValues
int?
Returns
WithMinValues(int?)
public FileUploadProperties WithMinValues(int? minValues)
Parameters
minValues
int?
Returns
WithRequired(bool?)
public FileUploadProperties WithRequired(bool? required = true)
Parameters
required
bool?