diff --git a/examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java b/examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java index 95bcd8e..89d6f54 100644 --- a/examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java +++ b/examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java @@ -1,7 +1,7 @@ package cloud.stackit.sdk.authentication.examples; import cloud.stackit.sdk.core.config.CoreConfiguration; -import cloud.stackit.sdk.resourcemanager.api.DefaultApi; +import cloud.stackit.sdk.resourcemanager.api.ResourceManagerApi; import cloud.stackit.sdk.resourcemanager.model.ListOrganizationsResponse; class AuthenticationExample { @@ -13,7 +13,7 @@ public static void main(String[] args) { new CoreConfiguration().serviceAccountKeyPath(SERVICE_ACCOUNT_KEY_PATH); try { - DefaultApi api = new DefaultApi(config); + ResourceManagerApi api = new ResourceManagerApi(config); /* list all organizations */ ListOrganizationsResponse response = diff --git a/examples/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/examples/ResourcemanagerExample.java b/examples/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/examples/ResourcemanagerExample.java index 7979ba7..d6d669f 100644 --- a/examples/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/examples/ResourcemanagerExample.java +++ b/examples/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/examples/ResourcemanagerExample.java @@ -1,7 +1,7 @@ package cloud.stackit.sdk.resourcemanager.examples; import cloud.stackit.sdk.core.exception.ApiException; -import cloud.stackit.sdk.resourcemanager.api.DefaultApi; +import cloud.stackit.sdk.resourcemanager.api.ResourceManagerApi; import cloud.stackit.sdk.resourcemanager.model.CreateFolderPayload; import cloud.stackit.sdk.resourcemanager.model.CreateProjectPayload; import cloud.stackit.sdk.resourcemanager.model.FolderResponse; @@ -14,7 +14,7 @@ class ResourcemanagerExample { public static void main(String[] args) throws IOException { // Credentials are read from the credentialsFile in `~/.stackit/credentials.json` or the env // STACKIT_SERVICE_ACCOUNT_KEY_PATH / STACKIT_SERVICE_ACCOUNT_KEY - DefaultApi resourceManagerApi = new DefaultApi(); + ResourceManagerApi resourceManagerApi = new ResourceManagerApi(); // replace this with something useful for real use UUID containerParentId = UUID.randomUUID();