/* Options: Date: 2025-07-06 11:22:02 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v1 //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateSearchStatus.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * 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 public static class UpdateSearchStatus implements IReturn, IBaseRequest { /** * Authentication object */ @DataMember @ApiMember(DataType="Authentication", Description="Authentication object", IsRequired=true) public Authentication Authentication = null; /** * Request object */ @DataMember @ApiMember(DataType="UpdateSearchStatusRequest", Description="Request object", IsRequired=true) public UpdateSearchStatusRequest Request = null; public Authentication getAuthentication() { return Authentication; } public UpdateSearchStatus setAuthentication(Authentication value) { this.Authentication = value; return this; } public UpdateSearchStatusRequest getRequest() { return Request; } public UpdateSearchStatus setRequest(UpdateSearchStatusRequest value) { this.Request = value; return this; } private static Object responseType = UpdateSearchStatusResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class UpdateSearchStatusResponse { /** * Response object */ @DataMember @ApiMember(DataType="UpdateSearchStatusData", Description="Response object") public UpdateSearchStatusData Data = null; public UpdateSearchStatusData getData() { return Data; } public UpdateSearchStatusResponse setData(UpdateSearchStatusData value) { this.Data = value; return this; } } @DataContract public static class Authentication implements 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) public String ApiUserId = 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) public String ApiUserKey = null; public String getApiUserId() { return ApiUserId; } public Authentication setApiUserId(String value) { this.ApiUserId = value; return this; } public String getApiUserKey() { return ApiUserKey; } public Authentication setApiUserKey(String value) { this.ApiUserKey = value; return this; } } public static interface IBaseRequest { public Authentication Authentication = null; } @DataContract public static 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) public Long Id = 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) public Boolean ClientInResults = 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) public Boolean ClientNotInResults = null; public Long getId() { return Id; } public UpdateSearchStatusRequest setId(Long value) { this.Id = value; return this; } public Boolean isClientInResults() { return ClientInResults; } public UpdateSearchStatusRequest setClientInResults(Boolean value) { this.ClientInResults = value; return this; } public Boolean isClientNotInResults() { return ClientNotInResults; } public UpdateSearchStatusRequest setClientNotInResults(Boolean value) { this.ClientNotInResults = value; return this; } } @DataContract public static class UpdateSearchStatusData implements IBaseDataResponse, IHasResponseStatus { /** * Response status object */ @DataMember @ApiMember(DataType="ResponseStatus", Description="Response status object") public ResponseStatus ResponseStatus = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public UpdateSearchStatusData setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static interface IAuthentication { public String ApiUserId = null; public String ApiUserKey = null; public String UserId = null; } public static interface IBaseDataResponse { public ResponseStatus ResponseStatus = null; } public static interface IHasResponseStatus { public ResponseStatus ResponseStatus = null; } public static class ArrayOfResponseError extends ArrayList { } }