/* Options: Date: 2026-01-25 11:29:46 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: HoleZertifikatFingerabdruck.* //ExcludeTypes: //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.*; public class dtos { /** * A synchronous service to get the fingerprint of a specified client-side certificate */ @Route(Path="/HoleZertifikatFingerabdruck", Verbs="POST") @Api(Description="A synchronous service to get the fingerprint of a specified client-side certificate") public static class HoleZertifikatFingerabdruck extends HoleZertifikatFingerabdruckBase implements IReturn { private static Object responseType = HoleZertifikatFingerabdruckResponse.class; public Object getResponseType() { return responseType; } } /** * Represents a type that encapsulates the return values of the ERiC API function, which retrieves the fingerprint of a specified certificate. */ @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the fingerprint of a specified certificate.") public static class HoleZertifikatFingerabdruckResponse extends EricFehlerCodeResponse { /** * The fingerprint of the return type. */ @ApiMember(Description="The fingerprint of the return type.") public String fingerabdruck = null; /** * The signature of the return type. */ @ApiMember(Description="The signature of the return type.") public String signatur = null; public String getFingerabdruck() { return fingerabdruck; } public HoleZertifikatFingerabdruckResponse setFingerabdruck(String value) { this.fingerabdruck = value; return this; } public String getSignatur() { return signatur; } public HoleZertifikatFingerabdruckResponse setSignatur(String value) { this.signatur = value; return this; } } /** * Represents a client-side generated certificate that is protected by a password. */ @Api(Description="Represents a client-side generated certificate that is protected by a password.") public static class ClientSideCertificate implements ISecuredCertificate { /** * The friendly name of the certificate. */ @ApiMember(Description="The friendly name of the certificate.", IsRequired=true) public String name = null; /** * The password to protect the certificate from unauthorized access. */ @StringLength(MaximumLength=255) @ApiMember(Description="The password to protect the certificate from unauthorized access.", IsRequired=true) public String pin = null; /** * The file that contains the private key. Access is protected by the PIN. */ @ApiMember(Description="The file that contains the private key. Access is protected by the PIN.", IsRequired=true) public BinaryFile privateKeyFile = null; /** * The file that contains the certificate data and public key. */ @ApiMember(Description="The file that contains the certificate data and public key.", IsRequired=true) public BinaryFile publicKeyFile = null; /** * Contains the checksum of the files PublicKeyFile and PrivateKeyFile. */ @ApiMember(Description="Contains the checksum of the files PublicKeyFile and PrivateKeyFile.", IsRequired=true) public BinaryFile checksumFile = null; /** * The description for the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description for the certificate.") public String description = null; /** * The tags that can be used to label or identify the certificate. */ @ApiMember(Description="The tags that can be used to label or identify the certificate.") public ArrayList tags = new ArrayList(); public String getName() { return name; } public ClientSideCertificate setName(String value) { this.name = value; return this; } public String getPin() { return pin; } public ClientSideCertificate setPin(String value) { this.pin = value; return this; } public BinaryFile getPrivateKeyFile() { return privateKeyFile; } public ClientSideCertificate setPrivateKeyFile(BinaryFile value) { this.privateKeyFile = value; return this; } public BinaryFile getPublicKeyFile() { return publicKeyFile; } public ClientSideCertificate setPublicKeyFile(BinaryFile value) { this.publicKeyFile = value; return this; } public BinaryFile getChecksumFile() { return checksumFile; } public ClientSideCertificate setChecksumFile(BinaryFile value) { this.checksumFile = value; return this; } public String getDescription() { return description; } public ClientSideCertificate setDescription(String value) { this.description = value; return this; } public ArrayList getTags() { return tags; } public ClientSideCertificate setTags(ArrayList value) { this.tags = value; return this; } } public static class HoleZertifikatFingerabdruckBase implements IPost { /** * The client-side certificate. Access is protected by a PIN. */ @ApiMember(Description="The client-side certificate. Access is protected by a PIN.") public ClientSideCertificate zertifikat = null; public ClientSideCertificate getZertifikat() { return zertifikat; } public HoleZertifikatFingerabdruckBase setZertifikat(ClientSideCertificate value) { this.zertifikat = value; return this; } } /** * Represents a generic file that contains raw data content in bytes */ @Api(Description="Represents a generic file that contains raw data content in bytes") public static class BinaryFile extends FileBase { /** * The attributes of the file. */ @ApiMember(Description="The attributes of the file.") public FileMetadata metadata = null; /** * The name of the file without information on its directory path. */ @ApiMember(Description="The name of the file without information on its directory path.") public String name = null; public FileMetadata getMetadata() { return metadata; } public BinaryFile setMetadata(FileMetadata value) { this.metadata = value; return this; } public String getName() { return name; } public BinaryFile setName(String value) { this.name = value; return this; } } /** * Represents a base class for a file with raw data. */ @Api(Description="Represents a base class for a file with raw data.") public static class FileBase { /** * The raw data content of the file in bytes. */ @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") public byte[] content = null; public byte[] getContent() { return content; } public FileBase setContent(byte[] value) { this.content = value; return this; } } public static interface ISecuredCertificate { public String pin = null; } /** * Represents information about a file or directory. */ @Api(Description="Represents information about a file or directory.") public static class FileMetadata implements IFileMetadata { /** * The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory. */ @ApiMember(Description="The name of the file.\nFor files, gets the name of the file.\nFor directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.") public String name = null; /** * The full path of the directory or file. */ @ApiMember(Description="The full path of the directory or file.") public String fullName = null; /** * The time the current file or directory was last accessed. */ @ApiMember(Description="The time the current file or directory was last accessed.") public Date lastAccessTime = null; /** * The name of the file. */ @ApiMember(Description="The name of the file.") public Date lastAccessTimeUtc = null; /** * The time when the current file or directory was last written to. */ @ApiMember(Description="The time when the current file or directory was last written to.") public Date lastWriteTime = null; /** * The time, in coordinated universal time (UTC), when the current file or directory was last written to. */ @ApiMember(Description="The time, in coordinated universal time (UTC), when the current file or directory was last written to.") public Date lastWriteTimeUtc = null; /** * The size, in bytes, of the current file. */ @ApiMember(Description="The size, in bytes, of the current file.") public Long length = null; /** * The size, in bytes, of the current file. */ @ApiMember(Description="The size, in bytes, of the current file.") public Integer userId = null; /** * The file group id. */ @ApiMember(Description="The file group id.") public Integer groupId = null; /** * A value that indicates whether the others can read from this file. */ @ApiMember(Description="A value that indicates whether the others can read from this file.") public Boolean othersCanRead = null; /** * A value that indicates whether the group members can execute this file. */ @ApiMember(Description="A value that indicates whether the group members can execute this file.") public Boolean groupCanExecute = null; /** * A value that indicates whether the group members can write into this file. */ @ApiMember(Description="A value that indicates whether the group members can write into this file.") public Boolean groupCanWrite = null; /** * A value that indicates whether the group members can read from this file. */ @ApiMember(Description="A value that indicates whether the group members can read from this file.") public Boolean groupCanRead = null; /** * A value that indicates whether the owner can execute this file. */ @ApiMember(Description="A value that indicates whether the owner can execute this file.") public Boolean ownerCanExecute = null; /** * A value that indicates whether the owner can write into this file. */ @ApiMember(Description="A value that indicates whether the owner can write into this file.") public Boolean ownerCanWrite = null; /** * A value that indicates whether the owner can read from this file. */ @ApiMember(Description="A value that indicates whether the owner can read from this file.") public Boolean ownerCanRead = null; /** * A value that indicates whether others can read from this file. */ @ApiMember(Description="A value that indicates whether others can read from this file.") public Boolean othersCanExecute = null; /** * A value that indicates whether others can write into this file. */ @ApiMember(Description="A value that indicates whether others can write into this file.") public Boolean othersCanWrite = null; /** * Extensions to the file attributes. */ @ApiMember(Description="Extensions to the file attributes.") public HashMap extensions = new HashMap(); public String getName() { return name; } public FileMetadata setName(String value) { this.name = value; return this; } public String getFullName() { return fullName; } public FileMetadata setFullName(String value) { this.fullName = value; return this; } public Date getLastAccessTime() { return lastAccessTime; } public FileMetadata setLastAccessTime(Date value) { this.lastAccessTime = value; return this; } public Date getLastAccessTimeUtc() { return lastAccessTimeUtc; } public FileMetadata setLastAccessTimeUtc(Date value) { this.lastAccessTimeUtc = value; return this; } public Date getLastWriteTime() { return lastWriteTime; } public FileMetadata setLastWriteTime(Date value) { this.lastWriteTime = value; return this; } public Date getLastWriteTimeUtc() { return lastWriteTimeUtc; } public FileMetadata setLastWriteTimeUtc(Date value) { this.lastWriteTimeUtc = value; return this; } public Long getLength() { return length; } public FileMetadata setLength(Long value) { this.length = value; return this; } public Integer getUserId() { return userId; } public FileMetadata setUserId(Integer value) { this.userId = value; return this; } public Integer getGroupId() { return groupId; } public FileMetadata setGroupId(Integer value) { this.groupId = value; return this; } public Boolean isOthersCanRead() { return othersCanRead; } public FileMetadata setOthersCanRead(Boolean value) { this.othersCanRead = value; return this; } public Boolean isGroupCanExecute() { return groupCanExecute; } public FileMetadata setGroupCanExecute(Boolean value) { this.groupCanExecute = value; return this; } public Boolean isGroupCanWrite() { return groupCanWrite; } public FileMetadata setGroupCanWrite(Boolean value) { this.groupCanWrite = value; return this; } public Boolean isGroupCanRead() { return groupCanRead; } public FileMetadata setGroupCanRead(Boolean value) { this.groupCanRead = value; return this; } public Boolean isOwnerCanExecute() { return ownerCanExecute; } public FileMetadata setOwnerCanExecute(Boolean value) { this.ownerCanExecute = value; return this; } public Boolean isOwnerCanWrite() { return ownerCanWrite; } public FileMetadata setOwnerCanWrite(Boolean value) { this.ownerCanWrite = value; return this; } public Boolean isOwnerCanRead() { return ownerCanRead; } public FileMetadata setOwnerCanRead(Boolean value) { this.ownerCanRead = value; return this; } public Boolean isOthersCanExecute() { return othersCanExecute; } public FileMetadata setOthersCanExecute(Boolean value) { this.othersCanExecute = value; return this; } public Boolean isOthersCanWrite() { return othersCanWrite; } public FileMetadata setOthersCanWrite(Boolean value) { this.othersCanWrite = value; return this; } public HashMap getExtensions() { return extensions; } public FileMetadata setExtensions(HashMap value) { this.extensions = value; return this; } } public static interface IFileMetadata { public String name = null; public String fullName = null; public Date lastAccessTime = null; public Date lastAccessTimeUtc = null; public Date lastWriteTime = null; public Date lastWriteTimeUtc = null; public Long length = null; public Integer userId = null; public Integer groupId = null; public Boolean groupCanExecute = null; public Boolean groupCanWrite = null; public Boolean groupCanRead = null; public Boolean ownerCanRead = null; public Boolean ownerCanExecute = null; public Boolean ownerCanWrite = null; public Boolean othersCanRead = null; public Boolean othersCanExecute = null; public Boolean othersCanWrite = null; public HashMap extensions = null; } /** * Represent a base response that encapsulate any ERiC API function return value. */ @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") public static class EricFehlerCodeResponse extends ServiceReponseBase { /** * The status code that the ERiC API function returns. */ @ApiMember(Description="The status code that the ERiC API function returns.") public EricFehlerCode statusCode = null; /** * The status message that the ERiC API function returns. */ @ApiMember(Description="The status message that the ERiC API function returns.") public String statusText = null; public EricFehlerCode getStatusCode() { return statusCode; } public EricFehlerCodeResponse setStatusCode(EricFehlerCode value) { this.statusCode = value; return this; } public String getStatusText() { return statusText; } public EricFehlerCodeResponse setStatusText(String value) { this.statusText = value; return this; } } }