' Options:
'Date: 2024-11-21 11:46:21
'Version: 8.23
'Tip: To override a DTO option, remove "''" prefix before updating
'BaseUrl: https://api.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: UpdateRating.*
'''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 ServiceStack.Data
Imports System.IO
Imports BokaMera.API.ServiceModel.Dtos
Namespace Global
Namespace BokaMera.API.ServiceModel.Dtos
Public Partial Class CompanyRatingResponse
'''
'''
'''
Public Overridable Property CompanyId As Guid
'''
'''Id of the booking
'''
Public Overridable Property BookingId As Integer
'''
'''The status of the rating, 1 = Active
'''
Public Overridable Property Status As Integer
'''
'''The rating score
'''
Public Overridable Property RatingScore As Integer
'''
'''The review if any exists to the rating
'''
Public Overridable Property Review As RatingReviewResponse
Public Overridable Property CreatedDate As Date
Public Overridable Property UpdatedDate As Date
End Class
Public Partial Class RatingReviewResponse
'''
'''The title for the review
'''
Public Overridable Property Title As String
'''
'''The description for the review
'''
Public Overridable Property Description As String
'''
'''The rating score
'''
Public Overridable Property RatingScore As Integer
'''
'''The review author
'''
Public Overridable Property Author As String
'''
'''The created date
'''
Public Overridable Property Created As Date
'''
'''The review answer from the company
'''
Public Overridable Property ReviewAnswer As String
End Class
Public Partial Class UpdateRating
Implements IReturn(Of CompanyRatingResponse)
'''
'''
'''
Public Overridable Property CompanyId As Nullable(Of Guid)
'''
'''Id of the booking
'''
Public Overridable Property BookingId As Integer
'''
'''The identifier for the booking, use to verify the booking. Only needed when a customer, not admin
'''
Public Overridable Property Identifier As String
'''
'''The rating score between 1 and 5.
'''
Public Overridable Property RatingScore As Nullable(Of Integer)
'''
'''The review for the rating
'''
Public Overridable Property Review As UpdateReview
End Class
Public Partial Class UpdateReview
'''
'''The title for the review
'''
Public Overridable Property Title As String
'''
'''The description for the review
'''
Public Overridable Property Description As String
'''
'''The review author
'''
Public Overridable Property Author As String
'''
'''The review answer from the company. Only the company can respond to this
'''
Public Overridable Property ReviewAnswer As String
End Class
End Namespace
End Namespace