(* Options: Date: 2025-03-15 04:18:31 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v2 //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: GetSubUser.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace SanctionsSearch.Api2.ServiceModel.Operations.Account open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] [] type Authentication() = /// ///The API User ID provided by us when you signed up to use our API /// [] [] member val ApiUserId:String = null with get,set /// ///The API User Key provided by us when you signed up to use our API /// [] [] member val ApiUserKey:String = null with get,set [] [] type BaseRequest() = /// ///The authentication credentials /// [] [] member val Authentication:Authentication = null with get,set [] type IBaseRequest = abstract Authentication:Authentication with get,set [] [] type ResponseError() = [] member val ErrorCode:String = null with get,set [] member val FieldName:String = null with get,set [] member val Message:String = null with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] type ArrayOfResponseError() = inherit ResizeArray() [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ArrayOfResponseError = null with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] type BaseResponse() = /// ///The status of the response /// [] member val ResponseStatus:ResponseStatus = null with get,set [] type ArrayOfUserNames() = inherit ResizeArray() [] type SubUser() = /// ///Is this user the main user (i.e. the user who created the account) /// [] member val IsMainUser:Boolean = new Boolean() with get,set /// ///The sub user's id (GUID) /// [] member val UserId:Guid = new Guid() with get,set /// ///The sub user's UserName (i.e. the sign-in username) /// [] member val UserName:String = null with get,set /// ///The sub user's name /// [] member val Name:String = null with get,set /// ///The sub user's email address /// [] member val Email:String = null with get,set /// ///Does this sub user have admin privileges, such as managing purchases and sub users /// [] member val IsAdmin:Boolean = new Boolean() with get,set /// ///Can this sub user resolve searches (UpdateSearch) they have access to /// [] member val CanResolveSearches:Boolean = new Boolean() with get,set /// ///Can this sub user delete searches (DeleteSearch) they have access to /// [] member val CanDeleteSearches:Boolean = new Boolean() with get,set /// ///The user names for which searches will be made available to the sub user /// [] member val Permissions:ArrayOfUserNames = null with get,set [] type GetSubUserData() = inherit BaseResponse() /// ///The sub users /// [] member val SubUser:SubUser = null with get,set [] type IBaseDataResponse = abstract ResponseStatus:ResponseStatus with get,set [] type IHasResponseStatus = abstract ResponseStatus:ResponseStatus with get,set [] [] type GetSubUserResponse() = /// ///The response data /// [] [] member val Data:GetSubUserData = null with get,set [] [] [] type GetSubUser() = inherit BaseRequest() interface IReturn /// ///The user name of the sub user /// [] [] member val SubUserName:String = null with get,set /// ///The user id of the sub user /// [] [] member val SubUserId:Nullable = new Nullable() with get,set