/* Options: Date: 2025-03-15 09:48:26 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v2 //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateDefaultProofOfDocumentCategories.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/clients/proofs/defaults", Verbs="PUT") @DataContract open class UpdateDefaultProofOfDocumentCategories : BaseRequest(), IReturn { @DataMember var request:UpdateDefaultProofOfDocumentCategoriesRequest? = null companion object { private val responseType = UpdateDefaultProofOfDocumentCategoriesResponse::class.java } override fun getResponseType(): Any? = UpdateDefaultProofOfDocumentCategories.responseType } @DataContract open class UpdateDefaultProofOfDocumentCategoriesResponse { @DataMember @SerializedName("data") var Data:UpdateDefaultProofOfDocumentCategoriesData? = null } @DataContract open class Authentication { /** * The API User ID provided by us when you signed up to use our API */ @DataMember @ApiMember(Description="The API User ID provided by us when you signed up to use our API", IsRequired=true, ParameterType="header, body") var apiUserId:String? = null /** * The API User Key provided by us when you signed up to use our API */ @DataMember @ApiMember(Description="The API User Key provided by us when you signed up to use our API", IsRequired=true, ParameterType="header, body") var apiUserKey:String? = null } @DataContract open class BaseRequest : IBaseRequest { /** * The authentication credentials */ @DataMember @ApiMember(Description="The authentication credentials", IsRequired=true, ParameterType="header, body") var authentication:Authentication? = null } open interface IBaseRequest { var authentication:Authentication? } open class UpdateDefaultProofOfDocumentCategoriesRequest { @DataMember @ApiMember(IsRequired=true) var proofOfDocumentCategories:ArrayOfProofOfDocumentCategories? = null } open class UpdateDefaultProofOfDocumentCategoriesData : BaseResponse() { var proofOfDocumentCategories:ArrayOfProofOfDocumentCategories? = null } open class ArrayOfProofOfDocumentCategories : ArrayList() { } open class BaseResponse : IBaseDataResponse, IHasResponseStatus { /** * The status of the response */ @ApiMember(Description="The status of the response") var responseStatus:ResponseStatus? = null } open interface IBaseDataResponse { var responseStatus:ResponseStatus? } open interface IHasResponseStatus { var responseStatus:ResponseStatus? } open class ProofOfDocumentCategory { /** * The ID of the ProofOfDocumentCategory */ @ApiMember(Description="The ID of the ProofOfDocumentCategory", IsRequired=true) var id:Int? = null /** * The category or subject that requires proof (e.g., 'Name', 'Address', 'Right to work') */ @ApiMember(Description="The category or subject that requires proof (e.g., 'Name', 'Address', 'Right to work')", IsRequired=true) var proofOf:String? = null /** * The documents that can be used to provide proof for the specified category. */ @ApiMember(Description="The documents that can be used to provide proof for the specified category.", IsRequired=true) var proofOfDocuments:ArrayOfProofOfDocuments? = null } open class ArrayOfResponseError : ArrayList() { } open class ArrayOfProofOfDocuments : ArrayList() { } open class ProofOfDocument { /** * The ID of the ProofOfDocument */ @ApiMember(Description="The ID of the ProofOfDocument", IsRequired=true) var id:Int? = null /** * The name of the ProofOfDocument */ @ApiMember(Description="The name of the ProofOfDocument", IsRequired=true) var name:String? = null }