import Foundation
import ServiceStack
public class UpdateDocumentWithEmailProperties : Codable
{
    public var itemId:String
    public var ewsUrl:String
    public var token:String
    public var documentId:String
    public var emailSend:Bool
    required public init(){}
}
Swift UpdateDocumentWithEmailProperties DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/UpdateDocumentWithEmailProperties HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
	ItemId: String,
	EwsUrl: String,
	Token: String,
	EmailSend: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False