Class UploadMultipartFormRequest
UploadMultipartFormRequest
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "uploadMultipartForm_request")]
public class UploadMultipartFormRequest : IValidatableObject
Constructors
View SourceUploadMultipartFormRequest()
Initializes a new instance of the UploadMultipartFormRequest class.
Declaration
[JsonConstructor]
protected UploadMultipartFormRequest()
UploadMultipartFormRequest(Stream)
Initializes a new instance of the UploadMultipartFormRequest class.
Declaration
public UploadMultipartFormRequest(Stream file = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | file | file (required). |
Properties
View SourceFile
Gets or Sets File
Declaration
[DataMember(Name = "file", IsRequired = true, EmitDefaultValue = true)]
public Stream File { get; set; }
Property Value
Type | Description |
---|---|
Stream |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |