' Options: 'Date: 2024-06-26 10:53:56 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: UpdateSupportCase.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class SupportCaseAreaResponse ''' '''The area id ''' Public Overridable Property Id As Integer ''' '''The area name ''' Public Overridable Property Name As String ''' '''The area description ''' Public Overridable Property Description As String End Class Public Partial Class SupportCaseAttachmentResponse ''' '''The attachment id ''' Public Overridable Property Id As Integer ''' '''The attachment file url ''' Public Overridable Property FileUrl As String End Class Public Partial Class SupportCaseCommentsResponse ''' '''The case id ''' Public Overridable Property SupportCaseId As Integer ''' '''The comments id ''' Public Overridable Property Id As Integer ''' '''The case comment ''' Public Overridable Property Comment As String ''' '''The case comment created by ''' Public Overridable Property CreatedBy As String ''' '''The case comment created date ''' Public Overridable Property Created As Date End Class Public Partial Class SupportCaseQueryResponse Public Sub New() Comments = New List(Of SupportCaseCommentsResponse) Attachments = New List(Of SupportCaseAttachmentResponse) CaseStatusOptions = New List(Of SupportCaseStatusResponse) CaseTypeOptions = New List(Of SupportCaseTypeResponse) CaseAreaOptions = New List(Of SupportCaseAreaResponse) End Sub ''' '''The support case id ''' Public Overridable Property Id As Integer ''' '''The company user id ''' Public Overridable Property CompanyUserId As Guid ''' '''The case title. ''' Public Overridable Property Title As String ''' '''The case description. ''' Public Overridable Property Description As String ''' '''The case status id. ''' Public Overridable Property CaseStatusId As Integer ''' '''If the case type id. ''' Public Overridable Property CaseTypeId As Integer ''' '''If the case area id. ''' Public Overridable Property CaseAreaId As Integer ''' '''The case created by. ''' Public Overridable Property CreatedBy As String ''' '''The case updated by. ''' Public Overridable Property UpdatedBy As String ''' '''The case solved by. ''' Public Overridable Property SolvedBy As String ''' '''If case updated date. ''' Public Overridable Property Updated As Date ''' '''If case created date. ''' Public Overridable Property Created As Date ''' '''Who owns the support case. ''' Public Overridable Property CaseOwner As String ''' '''The case status information. ''' Public Overridable Property CaseStatus As SupportCaseStatusResponse ''' '''The case type information. ''' Public Overridable Property CaseType As SupportCaseTypeResponse ''' '''The case area information. ''' Public Overridable Property CaseArea As SupportCaseAreaResponse ''' '''The case comments. ''' Public Overridable Property Comments As List(Of SupportCaseCommentsResponse) ''' '''The case attachments. ''' Public Overridable Property Attachments As List(Of SupportCaseAttachmentResponse) ''' '''The case status options to select from. ''' Public Overridable Property CaseStatusOptions As List(Of SupportCaseStatusResponse) ''' '''The case type options to select from. ''' Public Overridable Property CaseTypeOptions As List(Of SupportCaseTypeResponse) ''' '''The case area options to select from. ''' Public Overridable Property CaseAreaOptions As List(Of SupportCaseAreaResponse) End Class Public Partial Class SupportCaseStatusResponse ''' '''The status id ''' Public Overridable Property Id As Integer ''' '''The status name ''' Public Overridable Property Name As String ''' '''The status description ''' Public Overridable Property Description As String ''' '''The status icon ''' Public Overridable Property Icon As String ''' '''The status color ''' Public Overridable Property Color As String End Class Public Partial Class SupportCaseTypeResponse ''' '''The type id ''' Public Overridable Property Id As Integer ''' '''The type name ''' Public Overridable Property Name As String ''' '''The type description ''' Public Overridable Property Description As String End Class Public Partial Class UpdateSupportCase Implements IReturn(Of SupportCaseQueryResponse) Implements ISupportCase ''' '''Enter the company id, if blank company id and you are an admin, your company id will be used. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''The support case id ''' Public Overridable Property Id As Integer ''' '''The case title. ''' Public Overridable Property Title As String ''' '''The case description. ''' Public Overridable Property Description As String ''' '''If the case type id. ''' Public Overridable Property CaseTypeId As Nullable(Of Integer) ''' '''If the case area id. ''' Public Overridable Property CaseAreaId As Nullable(Of Integer) End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface Public Interface ISupportCase Implements ICompany Property Id As Integer End Interface End Namespace End Namespace