/* Options: Date: 2026-01-25 12:31:45 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: GetPortalCertificatePublicKey.* //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 public key of the provided portal certificate. */ @Route(Path="/GetPortalCertificatePublicKey", Verbs="POST") @Api(Description="A synchronous service to get the public key of the provided portal certificate.") public static class GetPortalCertificatePublicKey extends GetPortalCertificatePublicKeyBase implements IReturn { private static Object responseType = GetPublicKeyResponse.class; public Object getResponseType() { return responseType; } } /** * Represents a type that encapsulates the return values of the ERiC API function that retrieves the public key of a given certificate. */ @Api(Description="Represents a type that encapsulates the return values of the ERiC API function that retrieves the public key of a given certificate.") public static class GetPublicKeyResponse extends EricFehlerCodeResponse { /** * The public key of a given certificate. */ @ApiMember(Description="The public key of a given certificate.") public String rueckgabe = null; public String getRueckgabe() { return rueckgabe; } public GetPublicKeyResponse setRueckgabe(String value) { this.rueckgabe = value; return this; } } /** * Represents a portal certificate that is protected by a password. */ @Api(Description="Represents a portal certificate that is protected by a password.") public static class PortalCertificate extends FileBase implements ISecuredCertificate { /** * The file name of the certificate. */ @ApiMember(Description="The file name of the certificate.") @StringLength(MaximumLength=128) 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.") public String pin = null; /** * The description of the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description of the certificate.") public String description = null; /** * Tags that can be used to label or identify the certificate. */ @ApiMember(Description="Tags that can be used to label or identify the certificate.") public ArrayList tags = new ArrayList(); public String getName() { return name; } public PortalCertificate setName(String value) { this.name = value; return this; } public String getPin() { return pin; } public PortalCertificate setPin(String value) { this.pin = value; return this; } public String getDescription() { return description; } public PortalCertificate setDescription(String value) { this.description = value; return this; } public ArrayList getTags() { return tags; } public PortalCertificate setTags(ArrayList value) { this.tags = value; return this; } } /** * A base service to get the public key of a password-protected portal certificate. */ @Api(Description="A base service to get the public key of a password-protected portal certificate.") public static class GetPortalCertificatePublicKeyBase implements IPost { /** * The portal certificate. */ @ApiMember(Description="The portal certificate.") public PortalCertificate zertifikat = null; public PortalCertificate getZertifikat() { return zertifikat; } public GetPortalCertificatePublicKeyBase setZertifikat(PortalCertificate value) { this.zertifikat = 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; } /** * 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; } } }