/* Options: Date: 2024-07-03 12:26:59 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SuperAdminAddSupportCaseAttachment.* //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="/superadmin/support/cases/{Id}/attachments", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") public static class SuperAdminAddSupportCaseAttachment implements IReturn, ISupportCase { /** * Enter the company id, if blank company id and you are an admin, your company id will be used. */ @ApiMember(Description="Enter the company id, if blank company id and you are an admin, your company id will be used.", IsRequired=true) public UUID CompanyId = null; /** * The support case id */ @ApiMember(Description="The support case id", ParameterType="path") public Integer Id = null; /** * The case attachment url. Only images are allowed to attach. */ @ApiMember(Description="The case attachment url. Only images are allowed to attach.") public String FileUrl = null; public UUID getCompanyId() { return CompanyId; } public SuperAdminAddSupportCaseAttachment setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public SuperAdminAddSupportCaseAttachment setId(Integer value) { this.Id = value; return this; } public String getFileUrl() { return FileUrl; } public SuperAdminAddSupportCaseAttachment setFileUrl(String value) { this.FileUrl = value; return this; } private static Object responseType = SupportCaseAttachmentResponse.class; public Object getResponseType() { return responseType; } } public static class SupportCaseAttachmentResponse { /** * The attachment id */ @ApiMember(Description="The attachment id") public Integer Id = null; /** * The attachment file url */ @ApiMember(Description="The attachment file url") public String FileUrl = null; public Integer getId() { return Id; } public SupportCaseAttachmentResponse setId(Integer value) { this.Id = value; return this; } public String getFileUrl() { return FileUrl; } public SupportCaseAttachmentResponse setFileUrl(String value) { this.FileUrl = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static interface ISupportCase implements ICompany { public Integer Id = null; } }