/* Options: Date: 2026-09-11 19:43:02 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v1 //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateSearchStatus.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Update/resolve a sanctions search */ @Route(Path="/sanctions/update", Verbs="PUT") @Api(Description="Update/resolve a sanctions search") @ApiResponse(Description="Your request is successful if the \"Data.ResponseStatus.Message\" field is \"Success\".", StatusCode=200) @DataContract open class UpdateSearchStatus : IReturn, IBaseRequest { /** * Authentication object */ @DataMember @ApiMember(DataType="Authentication", Description="Authentication object", IsRequired=true) override var Authentication:Authentication? = null /** * Request object */ @DataMember @ApiMember(DataType="UpdateSearchStatusRequest", Description="Request object", IsRequired=true) open var Request:UpdateSearchStatusRequest? = null companion object { private val responseType = UpdateSearchStatusResponse::class.java } override fun getResponseType(): Any? = UpdateSearchStatus.responseType } @DataContract open class UpdateSearchStatusResponse { /** * Response object */ @DataMember @ApiMember(DataType="UpdateSearchStatusData", Description="Response object") open var Data:UpdateSearchStatusData? = null } @DataContract open class Authentication : IAuthentication { /** * The API User ID that will authenticate your request */ @DataMember @ApiMember(DataType="string", Description="The API User ID that will authenticate your request", IsRequired=true) override var ApiUserId:String? = null /** * The API User Key that will authenticate your request */ @DataMember @ApiMember(DataType="string", Description="The API User Key that will authenticate your request", IsRequired=true) override var ApiUserKey:String? = null } interface IBaseRequest { var Authentication:Authentication? } @DataContract open class UpdateSearchStatusRequest { /** * The ID of the sanctions search that is being resolved/updated. */ @DataMember @ApiMember(DataType="integer", Description="The ID of the sanctions search that is being resolved/updated.", Format="int64", IsRequired=true) open var Id:Long? = null /** * Whether the search results did contain the client. Set this to "true" if the client WAS found in the search results. */ @DataMember @ApiMember(DataType="boolean", Description="Whether the search results did contain the client. Set this to \"true\" if the client WAS found in the search results.", IsRequired=true) open var ClientInResults:Boolean? = null /** * Whether the search results did not contain the client. Set this to "true" if the client WAS NOT found in the search results. */ @DataMember @ApiMember(DataType="boolean", Description="Whether the search results did not contain the client. Set this to \"true\" if the client WAS NOT found in the search results.", IsRequired=true) open var ClientNotInResults:Boolean? = null } @DataContract open class UpdateSearchStatusData : IBaseDataResponse, IHasResponseStatus { /** * Response status object */ @DataMember @ApiMember(DataType="ResponseStatus", Description="Response status object") override var ResponseStatus:ResponseStatus? = null } interface IAuthentication { var ApiUserId:String? var ApiUserKey:String? var UserId:String? } interface IBaseDataResponse { var ResponseStatus:ResponseStatus? } interface IHasResponseStatus { var ResponseStatus:ResponseStatus? } open class ArrayOfResponseError : ArrayList() { }