/* Options: Date: 2025-05-15 14:15:32 Version: 8.30 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: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* 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) var Authentication:Authentication? = null /** * Request object */ @DataMember @ApiMember(DataType="UpdateSearchStatusRequest", Description="Request object", IsRequired=true) 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") 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) 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) var ApiUserKey:String? = null } open 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) 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) 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) var ClientNotInResults:Boolean? = null } @DataContract open class UpdateSearchStatusData : IBaseDataResponse, IHasResponseStatus { /** * Response status object */ @DataMember @ApiMember(DataType="ResponseStatus", Description="Response status object") var ResponseStatus:ResponseStatus? = null } open interface IAuthentication { var ApiUserId:String? var ApiUserKey:String? var UserId:String? } open interface IBaseDataResponse { var ResponseStatus:ResponseStatus? } open interface IHasResponseStatus { var ResponseStatus:ResponseStatus? } open class ArrayOfResponseError : ArrayList() { }