/* Options: Date: 2026-05-19 09:48:40 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ImportRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/tasks/{brand}/importrequest", Verbs="POST") public static class ImportRequest implements IReturn { /** * Brand Trigram, e.g. CAR, IWC */ @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true) public String brand = null; /** * Public key of the file in cloud server */ @ApiMember(Description="Public key of the file in cloud server", IsRequired=true) public String externalFileId = null; /** * Type of import e.g. 'SelloutAndCustomer', 'Sellout' */ @ApiMember(Description="Type of import e.g. 'SelloutAndCustomer', 'Sellout'", IsRequired=true) public String type = null; /** * B2 document reference to link the file with the Salesforce record */ @ApiMember(Description="B2 document reference to link the file with the Salesforce record") public String downloadRequestId = null; public String getBrand() { return brand; } public ImportRequest setBrand(String value) { this.brand = value; return this; } public String getExternalFileId() { return externalFileId; } public ImportRequest setExternalFileId(String value) { this.externalFileId = value; return this; } public String getType() { return type; } public ImportRequest setType(String value) { this.type = value; return this; } public String getDownloadRequestId() { return downloadRequestId; } public ImportRequest setDownloadRequestId(String value) { this.downloadRequestId = value; return this; } private static Object responseType = ImportRequestResponse.class; public Object getResponseType() { return responseType; } } public static class ImportRequestResponse { /** * Unique Identifier of the Import Sell-Out and Customer request created */ @ApiMember(Description="Unique Identifier of the Import Sell-Out and Customer request created", IsRequired=true) public UUID asyncTaskId = null; public UUID getAsyncTaskId() { return asyncTaskId; } public ImportRequestResponse setAsyncTaskId(UUID value) { this.asyncTaskId = value; return this; } } }