Table of Contents

Class AttachmentInfo

Namespace
BoldSign.Api.Model
Assembly
BoldSign.Api.dll

Attachment Info.

[DataContract]
public class AttachmentInfo
Inheritance
AttachmentInfo
Inherited Members

Constructors

AttachmentInfo()

Initializes a new instance of the AttachmentInfo class.

[JsonConstructor]
protected AttachmentInfo()

AttachmentInfo(string, string, List<string>)

Initializes a new instance of the AttachmentInfo class.

public AttachmentInfo(string title = null, string description = null, List<string> acceptedFileTypes = null)

Parameters

title string

placeHolder.

description string

description.

acceptedFileTypes List<string>

acceptedFileTypes.

AttachmentInfo(string, string, string)

Initializes a new instance of the AttachmentInfo class.

[Obsolete("AllowedFileTypes is deprecated, please use AcceptedFileTypes instead.")]
public AttachmentInfo(string title = null, string description = null, string allowedFileTypes = null)

Parameters

title string

placeHolder.

description string

description.

allowedFileTypes string

allowedFileTypes.

Properties

AcceptedFileTypes

Gets or sets the accepted file types such as DOCUMENT, PDF and IMAGE. Example: ["PDF", "DOCUMENT", "IMAGE"].

[DataMember(Name = "acceptedFileTypes", EmitDefaultValue = false)]
public List<string> AcceptedFileTypes { get; set; }

Property Value

List<string>

AllowedFileTypes

Gets or sets the allowed file types such as document, pdf and image. Example: "document,image".

[DataMember(Name = "allowedFileTypes", EmitDefaultValue = true)]
[Obsolete("AllowedFileTypes is deprecated, please use AcceptedFileTypes instead.")]
public string AllowedFileTypes { get; set; }

Property Value

string

Description

Gets or sets the description.

[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }

Property Value

string

Title

Gets or sets the title.

[DataMember(Name = "title", EmitDefaultValue = true)]
public string Title { get; set; }

Property Value

string