fixed docu

This commit is contained in:
2026-03-08 17:53:56 +01:00
parent abb9704a87
commit 092412cf92
@@ -41,11 +41,11 @@ import org.jetbrains.annotations.Nullable;
* *
* // Retrieve records of a subdomain * // Retrieve records of a subdomain
* List<RecordEntity> records = cfDnsClient.recordList(zone, "sld"); * List<RecordEntity> records = cfDnsClient.recordList(zone, "sld");
* records.forEach(getRecord -> * records.forEach(record ->
* System.out.println("Record Type: " + getRecord.getType() + ", Value: " + getRecord.getContent()) * System.out.println("Record Type: " + record.getType() + ", Value: " + record.getContent())
* ); * );
* *
* // Create a getRecord for the subdomain "api" * // Create a record for the subdomain "api"
* RecordEntity created = cfDnsClient.recordCreateSld(zone, "api", 60, RecordType.A, "192.168.1.10"); * RecordEntity created = cfDnsClient.recordCreateSld(zone, "api", 60, RecordType.A, "192.168.1.10");
* System.out.println("Created Record ID: " + created.getId()); * System.out.println("Created Record ID: " + created.getId());
* </code></pre> * </code></pre>