(* Options: Date: 2024-06-17 04:32:42 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: DeleteCustomField.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type CustomFieldServices() = member val Id:Int32 = new Int32() with get,set /// ///Name of the service /// [] member val Name:String = null with get,set /// ///The image url of the service /// [] member val ImageUrl:Uri = null with get,set [] type CustomFieldLookupResponse() = member val Id:Nullable = new Nullable() with get,set member val Active:Nullable = new Nullable() with get,set member val SortOrder:Nullable = new Nullable() with get,set member val Value:String = null with get,set [] type CustomFieldQueryResponse() = /// ///Custom field id /// [] member val Id:Int32 = new Int32() with get,set /// ///Reference to company that owns the custom field configuration /// [] member val CompanyId:Guid = new Guid() with get,set /// ///Group id /// [] member val GroupId:Nullable = new Nullable() with get,set /// ///Field id /// [] member val FieldId:Int32 = new Int32() with get,set /// ///Configuration name. Example: 'Number of persons'. /// [] member val Name:String = null with get,set /// ///Field width. Example: 20 /// [] member val Width:Int32 = new Int32() with get,set /// ///Column in database where to store the information. Example: 'TextField1' /// [] member val Column:String = null with get,set /// ///Custom field description. Example: 'For how many persons is this booking?' /// [] member val Description:String = null with get,set /// ///Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' /// [] member val DataType:String = null with get,set /// ///Default value of the field. Example: '3' /// [] member val DefaultValue:String = null with get,set /// ///Determines if the field is required to have a value or not /// [] member val IsMandatory:Boolean = new Boolean() with get,set /// ///Error message shown to the user if the field data is required but not entered /// [] member val MandatoryErrorMessage:String = null with get,set /// ///Max lenght of the field /// [] member val MaxLength:Int32 = new Int32() with get,set /// ///If the field should have multiple lines /// [] member val MultipleLineText:Boolean = new Boolean() with get,set /// ///Regular expression used for validation of the field /// [] member val RegEx:String = null with get,set /// ///Regular expression id for validation of the field /// [] member val RegExId:Nullable = new Nullable() with get,set /// ///Error message shown if the regular expression validation failed /// [] member val RegExErrorMessage:String = null with get,set /// ///If the field is visible to the customer /// [] member val IsPublic:Boolean = new Boolean() with get,set /// ///If the field should be hidden in lists /// [